中国IT动力,最新最全的IT技术教程
最新100篇 | 推荐100篇 | 专题100篇 | 排行榜 | 搜索 | 在线API文档 | 网通镜像
首 页 | 程序开发 | 操作系统 | 软件应用 | 图形图象 | 网络应用 | 精文荟萃 | 教育认证 | 硬件维护 | 未整理篇 | 站长教程
ASP JS PHP工程 ASP.NET 网站建设 UML J2EESUN .NET VC VB VFP 网络维护 数据库 DB2 SQL2000 Oracle Mysql
服务器 Win2000 Office C DreamWeaver FireWorks Flash PhotoShop 上网宝典 CorelDraw 协议大全 网络安全 微软认证
硬件维护  CPU  主板  硬盘  内存  显卡  显示器  键盘鼠标  声卡音箱  打印机  机箱电源  BIOS  网卡  C#  Java  Delphi  vs.net2005
  当前位置:> 操作系统 > Linux > Ubuntu Linux
Adsl拨号上网For Ubuntu Linux 7.04系统
作者:佚名 时间:2007-12-03 15:59 出处:ccidnet 责编:月夜寒箫
              摘要:Adsl拨号上网For Ubuntu Linux 7.04系统
 

一、ADSL

在ubuntu 下拨号用ADSL拨号上网,首先需要用pppoeconf进行用户名和密码的设置。

1. 确认您的以太网卡已被检测到。

2. 输入您的用户名。

3. 输入您的密码。

4. 若您曾经配置过一个 PPPoE 连接的话,您会被询问是否需要改变其设置。

5. 常见选项:您被询问您是否想要 “noauth” 和 “defaultroute” 选项并移除 “nodetach” - 选择 Yes。

6. 使用 peer DNS-选择Yes。

7. Limited MSS problem - 选择 Yes。

8. 当您被询问是否要在启动时连接,您通常会想选“是”。

9. 最后您会被询问是否要立即建立连接。

一旦您完成了这些步骤,您的连接应当就可用了。

若想即时启动您的 ADSL 连接,请在终端中输入:

sudo pon dsl-provider

若想中断您的 ADSL 连接,请在终端中输入:

sudo poff dsl-provider

二、dns 设置

在拨号上网时,经常发现有些网站无法登录,例如www.openswan.org,www.kernel.org.

在命令行下输入:# nslookup

>server

Default server: 202.102.192.68

Address: 202.102.192.68#53

Default server: 202.102.199.68

Address: 202.102.199.68#53

你就能发现自己正在使用的dns。也可以输入一些网址看看是否能解析。

>www.sohu.com

www.sohu.com canonical name = d7.a.sohu.com.

d7.a.sohu.com canonical name = cachesh1.a.sohu.com.

Name: cachesh1.a.sohu.com

Address: 61.152.234.80

Name: cachesh1.a.sohu.com

Address: 61.152.234.81

Name: cachesh1.a.sohu.com

Address: 61.152.234.82

Name: cachesh1.a.sohu.com

Address: 61.152.234.84

Name: cachesh1.a.sohu.com

Address: 61.152.234.85

Name: cachesh1.a.sohu.com

Address: 61.152.234.86

但是输入

>www.kerner.org

Server: 202.102.192.68

Address: 202.102.192.68#53

Non-authoritative answer:

*** Can't find www.kernel.org: No answer

一番痛苦后,发现首先要修改/etc/ppp/pper/dsl-provider文件,将usepeerdns项释视掉。这项注释就是说不需要ubuntu自动设置的/etc/resolve.conf中的dns.本人在安徽合肥,ubuntu给我默认的dns如下:

nameserver 202.102.192.68

nameserver 202.102.199.68

后来到网上找个开源的DNS

如下:

nameserver 208.67.222.222

nameserver 208.67.220.220

从此上网不在烦恼。

关闭本页
 
首页 | 投资与合作 | 服务条款 | 隐私政策 | 收藏本站 | 设为首页 | 新用户注册 | 免责声明 | 使用帮助
Copyright ©2005-2008 chinaitpower.com All rights reserved. www.chinaitpower.com 版权所有