/ 中存储网

告诉你简易介绍Ubuntu ADSL手工断线与拨号上网的方法及命令

2011-07-12 00:00:00 来源:中存储网

Ubuntu ADSL 拨号上网

首次拨号:

应用程序–系统工具–终端打开一终端,输入命令:sudo pppoeconf

系统开始搜索所有网络接口上的Ubuntu ADSL modem,一步步的yes过来。
Please enter the username which you usually need for
the PPP login to your provider in the input box below.
If you wish to see the help screen, delete the
username and press OK.

输入你的Ubuntu ADSL帐号。输入密码。
Would you like to add these addresses automatically to the list of nameservers in
your local /etc/resolv.conf file? (recommended)

是否自动获得DNS,选择是。
Should pppoe clamp MSS at 1452 bytes? If unsure, say yes.

数据包长度的设置,一旦跟我一样不确定,选择是
Your PPPD is configured now. Would you like to start the connection at boot time?是否启动时自动激活Ubuntu ADSL? 各位看着办吧。

以后,要手工拨号,打开终端,输入命令:sudo pon dsl-provider
一般情况下,一次拨通后以后登陆ubuntu都会自动拨通上网的了,不用每次都输入命令拨号。

Ubuntu ADSL手工断线:sudo poff
查看连接情况:plog 和 ifconfig ppp0 ifconfig ppp0 可查询本机的上网IP。