| 论坛注册| 加入收藏 | 设为首页| RSS
Google
您当前的位置:首页 > Linux频道 > Linux入门与提高 > 安装与配置

Adsl拨号上网 For Ubuntu7.04

时间:2007-09-17 11:24:45  来源:Linux联盟收集整理  作者:
1.ADSLSZFLinux联盟
在ubuntu 下拨号用ADSL拨号上网,首先需要用pppoeconf进行用户名和密码的设置。SZFLinux联盟
1. 确认您的以太网卡已被检测到。SZFLinux联盟
2. 输入您的用户名。SZFLinux联盟
3. 输入您的密码。SZFLinux联盟
4. 若您曾经配置过一个 PPPoE 连接的话,您会被询问是否需要改变其设置。SZFLinux联盟
5. 常见选项:您被询问您是否想要 “noauth” 和 “defaultroute” 选项并移除 “nodetach” - 选择 Yes。SZFLinux联盟
6. 使用 peer DNS-选择Yes。SZFLinux联盟
7. Limited MSS problem - 选择 Yes。SZFLinux联盟
8. 当您被询问是否要在启动时连接,您通常会想选“是”。SZFLinux联盟
9. 最后您会被询问是否要立即建立连接。SZFLinux联盟
一旦您完成了这些步骤,您的连接应当就可用了。SZFLinux联盟
若想即时启动您的 ADSL 连接,请在终端中输入:SZFLinux联盟
sudo pon dsl-providerSZFLinux联盟
若想中断您的 ADSL 连接,请在终端中输入:SZFLinux联盟
sudo poff dsl-providerSZFLinux联盟
2.dns 设置SZFLinux联盟
在拨号上网时,经常发现有些网站无法登录,例如www.openswan.org,www.kernel.org.SZFLinux联盟
在命令行下输入:# nslookupSZFLinux联盟
>serverSZFLinux联盟
Default server: 202.102.192.68SZFLinux联盟
Address: 202.102.192.68#53SZFLinux联盟
Default server: 202.102.199.68SZFLinux联盟
Address: 202.102.199.68#53SZFLinux联盟
你就能发现自己正在使用的dns。也可以输入一些网址看看是否能解析。SZFLinux联盟
>www.sohu.comSZFLinux联盟
www.sohu.com canonical name = d7.a.sohu.com.SZFLinux联盟
d7.a.sohu.com canonical name = cachesh1.a.sohu.com.SZFLinux联盟
Name: cachesh1.a.sohu.comSZFLinux联盟
Address: 61.152.234.80SZFLinux联盟
Name: cachesh1.a.sohu.comSZFLinux联盟
Address: 61.152.234.81SZFLinux联盟
Name: cachesh1.a.sohu.comSZFLinux联盟
Address: 61.152.234.82SZFLinux联盟
Name: cachesh1.a.sohu.comSZFLinux联盟
Address: 61.152.234.84SZFLinux联盟
Name: cachesh1.a.sohu.comSZFLinux联盟
Address: 61.152.234.85SZFLinux联盟
Name: cachesh1.a.sohu.comSZFLinux联盟
Address: 61.152.234.86SZFLinux联盟
但是输入SZFLinux联盟
>www.kerner.orgSZFLinux联盟
Server: 202.102.192.68SZFLinux联盟
Address: 202.102.192.68#53SZFLinux联盟
Non-authoritative answer:SZFLinux联盟
*** Can't find www.kernel.org: No answerSZFLinux联盟
一番痛苦后,发现首先要修改/etc/ppp/pper/dsl-provider文件,将usepeerdns项释视掉。这项注释就是说不需要ubuntu自动设置的/etc/resolve.conf中的dns.本人在安徽合肥,ubuntu给我默认的dns如下:SZFLinux联盟
nameserver 202.102.192.68SZFLinux联盟
nameserver 202.102.199.68SZFLinux联盟
后来到网上找个开源的DNSSZFLinux联盟
如下:SZFLinux联盟
nameserver 208.67.222.222SZFLinux联盟
nameserver 208.67.220.220SZFLinux联盟
从此上网不在烦恼。
来顶一下
近回首页
返回首页
发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表
相关文章
栏目更新
栏目热门