无忧启动论坛

标题: 转帖:CDlinux上网设置 (适合新手看) [打印本页]

作者: ziyouren    时间: 2010-5-2 22:31
标题: 转帖:CDlinux上网设置 (适合新手看)
鉴于pe中集成了CDlinux,特转此贴,高手飘过

跟ubuntu中所使用的sudo pppoeconf命令不一样的。设置大致过程如下,下列文字为设置过程中终端中所显示的,另外在超级终端中,可以不使用sudo。

打开终端:输入命令:sudo pppoe-setup

终端中将如下显示:

Welcome to the Roaring Penguin ADSL client setup. First, I will run some checks on your system to make sure the PPPoE client is installed properly... Looks good! Now, please enter some information:

USER NAME
>;>;>; Enter your PPPoE user name (default XXX): 输入ADSL用户名

INTERFACE
>;>;>; Enter the Ethernet interface connected to the ADSL modem
For Solaris, this is likely to be something like /dev/hme0.
For Linux, it will be ethn, where 'n' is a number. (default eth0): 电脑只有一个网卡的输入eth0

Do you want the link to come up on demand, or stay up continuously? If you want it to come up on demand, enter the idle time in seconds after which the link should be dropped. If you want the link to stay up permanently, enter 'no' (two letters, lower-case.) NOTE: Demand-activated links do not interact well with dynamic IP addresses. You may have some problems with demand-activated links. >;>;>; Enter the demand value (default no): 直接回车

DNS
Please enter the IP address of your ISP's primary DNS server. If your ISP claims that 'the server will provide DNS addresses', enter 'server' (all lower-case) here. If you just press enter, I will assume you know what you are doing and not modify your DNS setup.
>;>;>; Enter the DNS information here: 输入server 为自动获得DNS

PASSWORD
>;>;>; Please enter your PPPoE password: 输入ADSL密码
>;>;>; Please re-enter your PPPoE password: 再输入一次确认密码

FIREWALLING
Please choose the firewall rules to use. Note that these rules are very basic. You are strongly encouraged to use a more sophisticated firewall setup; however, these will provide basic security. If you are running any servers on your machine, you must choose 'NONE' and set up firewalling yourself. Otherwise, the firewall rules will deny access to all standard servers like Web, e-mail, ftp, etc. If you are using SSH, the rules will block outgoing SSH connections which allocate a privileged source port.

The firewall choices are:
0 - NONE: This script will not set any firewall rules. You are responsible for ensuring the security of your machine. You are STRONGLY recommended to use some kind of firewall rules. (选项说明0,不启用防火墙)
1 - STANDALONE: Appropriate for a basic stand-alone web-surfing workstation。(选项说明1:只一台机器上网的工作站)
2 - MASQUERADE: Appropriate for a machine acting as an Internet gateway for a LAN(选项说明2:以这台机器作为局域网连入因特网网关)
>;>;>; Choose a type of firewall (0-2): 这里输入选项0~2

** Summary of what you entered **
Ethernet Interface: eth0
User name: XXX
Activate-on-demand: No
DNS: Do not adjust
Firewalling: MASQUERADE
>;>;>; Accept these settings and adjust configuration files (y/n)? 输入y,回车

配置完成!

终端启动和断开网络命令:
启动拨号:sudo pppoe-start
停止断网:sudo pppoe-stop

作者: USB3    时间: 2010-5-3 22:54
中文CDLIINUX好像自动搜索网络的啊
作者: ziyouren    时间: 2010-5-5 00:29
pppoe

自动搜索到吗?


宽带用户 PPPoE

CDlinux 目前没有合适的配置 pppoe 宽带拨号的设置界面。高级用户可以在终端下使用 pppoe-setup 命令。
打开“终端程序 -超级用户模式”,输入命令 pppoe-setup。
根据英文提示设置您的用户名、密码等。
键入 pppoe-start ,连接到pppoe。
要断开连接,键入命令 pppoe-stop。

[ 本帖最后由 ziyouren 于 2010-5-5 00:31 编辑 ]




欢迎光临 无忧启动论坛 (http://bbs.wuyou.net/) Powered by Discuz! X3.3