当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 2 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : 【求助】不能上网!!
帖子发表于 : 2008-03-11 18:18 

注册: 2008-03-07 2:55
帖子: 35
送出感谢: 0 次
接收感谢: 0 次
看我记录的文件


输入:/sbin/ifconfig eth0
显示 :

eth0 Link encap:Ethernet HWaddr 00:1B:B9:60:2F:12
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:21 Base address:0xa000


输入:sudo dhclient eth0
显示 :

There is already a pid file /var/run/dhclient.pid with pid 5690
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.0.5
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

Listening on LPF/eth0/00:1b:b9:60:2f:12
Sending on LPF/eth0/00:1b:b9:60:2f:12
Sending on Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 9
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 14
No DHCPOFFERS received.
No working leases in persistent database - sleeping.


输入 :sudo pppoeconf
显示:

│ │
│ I found 2 ethernet devices: │
│ eth0 │
│ eth0:avah │
│ │
│ Are all your ethernet interfaces listed above? │
│ (If No, modconf will be started so you can load the │
│ card drivers manually). │
│ │
│ Or press ESC to abort here. │
│ │
│ <Yes> <No>

选 yes
xianshi
Looking for PPPoE Access Concentrator on eth0...

...................................



出现:


│ If you continue with this program, the configuration file │
│ /etc/ppp/peers/dsl-provider will be modified. Please make sure │
│ that you have a backup copy before saying Yes. │
│ │
│ Continue with configuration? │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
│ <Yes> <No> │





选 yes



│ Most people using popular dialup providers prefer the options │
│ 'noauth' and 'defaultroute' in their configuration and remove │
│ the 'nodetach' option. Should I check your configuration file │
│ and change these settings where neccessary? │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
│ <Yes> <No> │





点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. │
│ │
│ username__我的宽带账号__________________________________ │
│ │
│ │
│ │
│ │
│ │
│ <Ok> │




OK

输入 密码


┌────────────────────┤ ENTER PASSWORD ├────────────────────┐
│ Please enter the password which you usually need for │
│ the PPP login to your provider in the input box below. │
│ │
│ NOTE: you can see the password in plain text while │
│ typing. │
│ │
│ ________________________________________________________ │
│ │
│ │
│ │
│ │
│ <Ok> │





ok

│ You need at least one DNS IP address to resolve the │
│ normal host names. Normally your provider sends you │
│ addresses of useable servers when the connection is │
│ established. Would you like to add these addresses │
│ automatically to the list of nameservers in your local │
│ /etc/resolv.conf file? (recommended) │
│ │
│ │
│ │
│ │
│ <Yes> <No>


wo yes



│ │
│ Many providers have routers that do not support TCP packets with │
│ a MSS higher than 1460. Usually, outgoing packets have this MSS │
│ when they go through one real Ethernet link with the default MTU │
│ size (1500). Unfortunately, if you are forwarding packets from │
│ other hosts (i.e. doing masquerading) the MSS may be increased │
│ depending on the packet size and the route to the client hosts, │
│ so your client machines won't be able to connect to some sites. │
│ There is a solution: the maximum MSS can be limited by pppoe. │
│ You can find more details about this issue in the pppoe │
│ documentation. │
│ │
│ Should pppoe clamp MSS at 1452 bytes? │
│ │
│ If unsure, say yes. │
│ │
│ (If you still get problems described above, try setting to 1412 │
│ │
│ <Yes> <No> │






wo yes


│ Your PPPD is configured now. Would you like to start │
│ the connection at boot time? │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
│ <Yes> <No> │


yes



│ Now, you can make a DSL connection with "pon │
│ dsl-provider" and terminate it with "poff". Would you │
│ like to start the connection now? │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
│ <Yes> <No> │



yes



│ │
│ The DSL connection has been triggered. You can use the │
│ "plog" command to see the status or "ifconfig ppp0" │
│ for general interface info. │
│ │
│ │
│ <Ok>



我选 ok


显示:

Plugin rp-pppoe.so loaded.


输入:


pon dsl-provider


显示 :

Plugin rp-pppoe.so loaded.



输入:
sudo dhclient eth0


显示:


There is already a pid file /var/run/dhclient.pid with pid 5723
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.0.5
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

Listening on LPF/eth0/00:1b:b9:60:2f:12
Sending on LPF/eth0/00:1b:b9:60:2f:12
Sending on Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 10
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 13
No DHCPOFFERS received.
No working leases in persistent database - sleeping.


页首
 用户资料  
 
2 楼 
 文章标题 :
帖子发表于 : 2008-03-11 18:21 
头像

注册: 2006-07-02 11:16
帖子: 12522
地址: 廣州
送出感谢: 0 次
接收感谢: 8
引用:
There is already a pid file /var/run/dhclient.pid with pid 5723
killed old client process, removed PID file


试试


_________________
^_^ ~~~
要理解递归,首先要理解递归。

地球人都知道,理论上,理论跟实际是没有差别的,但实际上,理论跟实际的差别是相当大滴。


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 2 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 4 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译