中国网管论坛's Archiver

玻璃茬子 发表于 2008-1-13 11:28

在LINUX下使用ADSL上网的方法~, 有虚拟拨号的就不用看了

看到很多人在问,在发一次吧

#adsl-setup
当出现
>>> Enter your PPPoE user name :
输入ADSL帐号的用户名
当出现
>>> 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 ,这是ADSL相连的网卡的名字
当出现
>>> Enter the demand values (default no):
输入 no
当出现
>>> Enter the DNS inFORMation here:
输入相应的 DNS 服务器 IP 地址(一般有2个),在 magic linux 下通常需要输入 server,即让系统自动分配 ip 地址
当出现
>>> Please enter your PPPoE password:
输入你的 ADSL 帐号的密码
当出现
>>> Choose a type of firewall (0-2):
输入 0 或 1
当出现
>>> Accept these settings and adjust configuration files (y/n)?
如果输入的信息正确,输入 y ,完成配置,否则,输入 n 重新输入。


对了,设置好以后,拨号的时候就打adsl-start

出现Connected这个就是连接成功了

停止的时候打这个adsl-stop

还有个命令是adsl-status

这个是查看连接的状态

ssp0203 发表于 2008-6-14 01:31

dddddddddddd

页: [1]

Powered by Discuz! Archiver 6.1.0  © 1999-2008 bbs.bitsCN.com