【求助】不能上网!!

重复贴和参考价值不大的帖子,版主维护
回复
火炎/xs焱燚
帖子: 35
注册时间: 2008-03-07 2:55
送出感谢: 0
接收感谢: 0
联系:

【求助】不能上网!!

#1

帖子 火炎/xs焱燚 » 2008-03-11 18:18

看我记录的文件


输入:/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.
头像
BigSnake.NET
帖子: 12522
注册时间: 2006-07-02 11:16
来自: 廣州
送出感谢: 0
接收感谢: 7 次
联系:

#2

帖子 BigSnake.NET » 2008-03-11 18:21

There is already a pid file /var/run/dhclient.pid with pid 5723
killed old client process, removed PID file
试试
^_^ ~~~
要理解递归,首先要理解递归。

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

回到 “归档贴”