平时开机后正常上网,但是机器每次从XP重新启动到UBUNTU后发现怪现象:
网络信号显示很好,已连接。网关信息DNS什么的都有,但是无法上网,什么都ping不通,PING 路由器192。168。1。1都ping不通。查看网络设置里的信息一切正常。NETWORKING restart 也显示OK,但是到BINDING TO 192。168。1。100时停顿很长时间再显示OK。另外显示已存在一个dhcp的PID。
这时候如果重启路由器再重启机器就可以了。
interfaces 文件内容如下:
-----------------------------------------
auto lo
iface lo inet loopback
iface eth0 inet dhcp
auto eth1
iface eth1 inet dhcp
wireless-essid xxxx
-----------------------------------------
[问题]救命啊!!!!!本本无线上网从XP到UBUNTU
-
- 帖子: 1010
- 注册时间: 2006-09-29 5:11
[问题]救命啊!!!!!本本无线上网从XP到UBUNTU
上次由 sanz 在 2006-11-30 13:48,总共编辑 1 次。
-
- 帖子: 1010
- 注册时间: 2006-09-29 5:11
sudo /etc/init.d/networking restart 的结果:
----------------------------------------------------
* Reconfiguring network interfaces... There is already a pid file /var/run/dhclient.eth1.pid with pid 3402
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.0.4
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
Listening on LPF/eth1/00:13:02:9c:c3:c6
Sending on LPF/eth1/00:13:02:9c:c3:c6
Sending on Socket/fallback
DHCPRELEASE on eth1 to 192.168.1.1 port 67
There is already a pid file /var/run/dhclient.eth1.pid with pid 134993416
Internet Systems Consortium DHCP Client V3.0.4
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
Listening on LPF/eth1/00:13:02:9c:c3:c6
Sending on LPF/eth1/00:13:02:9c:c3:c6
Sending on Socket/fallback
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 7
DHCPOFFER from 192.168.1.1
DHCPREQUEST on eth1 to 255.255.255.255 port 67
DHCPACK from 192.168.1.1
bound to 192.168.1.100 -- renewal in 117458 seconds.
(这里需要停顿大概1分钟 )然后。。。 [ ok ]
----------------------------------------------------
每次只有从WINXP重启返回UBUNTU 后才会这样。
----------------------------------------------------
* Reconfiguring network interfaces... There is already a pid file /var/run/dhclient.eth1.pid with pid 3402
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.0.4
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
Listening on LPF/eth1/00:13:02:9c:c3:c6
Sending on LPF/eth1/00:13:02:9c:c3:c6
Sending on Socket/fallback
DHCPRELEASE on eth1 to 192.168.1.1 port 67
There is already a pid file /var/run/dhclient.eth1.pid with pid 134993416
Internet Systems Consortium DHCP Client V3.0.4
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
Listening on LPF/eth1/00:13:02:9c:c3:c6
Sending on LPF/eth1/00:13:02:9c:c3:c6
Sending on Socket/fallback
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 7
DHCPOFFER from 192.168.1.1
DHCPREQUEST on eth1 to 255.255.255.255 port 67
DHCPACK from 192.168.1.1
bound to 192.168.1.100 -- renewal in 117458 seconds.
(这里需要停顿大概1分钟 )然后。。。 [ ok ]
----------------------------------------------------
每次只有从WINXP重启返回UBUNTU 后才会这样。
- chewbaaca
- 帖子: 126
- 注册时间: 2006-08-25 16:24
- 来自: Beijing
- 联系:
是否是由于XP第一次拿到了地址,然后虽然XP关闭,但是路由器里面的信息还有释放,所以你启动BUNTU之后所有的网络配置信息都还在,但是OS不同了,或者说是DHCP CLIENT不同了,所以导致没法上网,可以做个实验,你先启动UBUNTU获得地址,然后切换到WINDOWS,估计WINDOWS这个时候也和UBUNTU一样了,没法上网,虽然有地址。
另外不知道你说的路由器是不是家里用的那种简单PPPOE的带自动地址分发的设备
如果是家里用的话,干脆直接分配个固定IP地址好了,然后绑定MAC地址,不就没事了
另外不知道你说的路由器是不是家里用的那种简单PPPOE的带自动地址分发的设备
如果是家里用的话,干脆直接分配个固定IP地址好了,然后绑定MAC地址,不就没事了
nothing special....
enjoy using command line console
enjoy the colour build by black and white
网兜
http://www.wangdooou.com/w
U-day
http://www.uaresmiling.com/tiki
Uaresmiling
enjoy using command line console
enjoy the colour build by black and white
网兜
http://www.wangdooou.com/w
U-day
http://www.uaresmiling.com/tiki
Uaresmiling