|
|
发表于 2004-3-7 16:38:08
|
显示全部楼层
呵呵,这帖子刚在系统版发过。
可以在命令行下输入adsl-setup来配置ADSL连线。
[code:1]#adsl-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 :
输入连入宽带网的账号
>>> Enter the Ethernet interface connected to the ADSL modem
For Linux, it will be ethn, where 'n' is a number.
(default eth0):
输入准备接入互联网的网卡名,如果是缺省的就直接敲回车键。
>>> Enter the demand value (default no):
直接回车。
DNS
>>> Enter the DNS information here:
输入有服务商提供的域名服务器地址,或输入server,由服务商自动提供。
PASSWORD
>>> Please enter your PPPoE password:
>>> Please re-enter your PPPoE password:
输入上网密码。
FIREWALLING
>>> Choose a type of firewall (0-2):
选择防火墙,选0。
** Summary of what you entered **
Ethernet Interface: eth0
User name: xxxx //你的用户名
Activate-on-demand: No
DNS: server
Firewalling: NONE
>>> Accept these settings and adjust configuration files (y/n)?
最后,对上述配置进行确认。确认后的配置系统会写入/etc/ppp/pppoe.conf文件,可以直接对其进行修改。
配置完成后,就可以进行拨号了。
#adsl-start
如果屏幕上出现:“... Connected!”就说明拨号成功了。这时可以用ifconfig命令查看,结果除了原本有的eth0、lo外又增添了ppp0。 [/code:1] |
|