| #问题表现|

1)连接win7虚拟的路由均没有问题;
2)在图书馆连接公共wifi不能保持连接,一段时间后网络无法联通,但
Networkmanager显示连接没有断开,只是没有网。此 时重新连接该wifi 问题解
决,但几分钟后问题重现;
3)在图书馆使用win7和移动设备连接网络没有问题;
4)本机双系统在重启到win7后再重启到linux时,以上2问题消失。但关机再启动
到linux时问题再现。

| #尝试解决|

1)更换wicd,失败;
2)更新网卡驱动,已经最新;
3)关闭dnsmaqs服务,失败。

| #系统日志分析|

$tac /var/log/syslog | less

    ―――――――――――重新连接wifi ――――――――――――――-
    Nov 14 08:37:40 miracle dbus[3095]: [system] Successfully activated
    service ‘org.freedesktop.nm_dispatcher’
    Nov 14 08:37:40 miracle dbus[3095]: [system] Activating service
    name=’org.freedesktop.nm_dispatcher’ (using servicehelper)
    Nov 14 08:37:40 miracle NetworkManager[3218]: nameserver ‘61.128.192.68’
    Nov 14 08:37:40 miracle NetworkManager[3218]: nameserver ‘61.128.128.68’
    Nov 14 08:37:40 miracle NetworkManager[3218]: gateway 222.176.232.1
    Nov 14 08:37:40 miracle NetworkManager[3218]: prefix 21 (255.255.248.0)
    Nov 14 08:37:40 miracle NetworkManager[3218]: address 222.176.234.83
    Nov 14 08:37:40 miracle NetworkManager[3218]: (wlan0): DHCPv4 state
    changed bound -> renew
    Nov 14 08:37:40 miracle dhclient: bound to 222.176.234.83 ― renewal
    in 112 seconds.
    Nov 14 08:37:40 miracle dhclient: DHCPACK from 222.176.232.1
    Nov 14 08:37:40 miracle dhclient: DHCPREQUEST on wlan0 to
    222.176.232.1 port 67
    Nov 14 08:37:29 miracle dbus[3095]: [system] Successfully activated
    service ‘org.freedesktop.PackageKit’
    Nov 14 08:37:26 miracle dbus[3095]: [system] Activating service
    name=’org.freedesktop.PackageKit’ (using servicehelper)
    Nov 14 08:36:24 miracle NetworkManager[3218]: Activation (wlan0)
    Stage 4 of 5 (IPv6 Configure Timeout) complete.
    Nov 14 08:36:24 miracle NetworkManager[3218]: Activation (wlan0)
    Stage 4 of 5 (IPv6 Configure Timeout) started…
    Nov 14 08:36:24 miracle NetworkManager[3218]: Activation (wlan0)
    Stage 4 of 5 (IPv6 Configure Timeout) scheduled…
    Nov 14 08:36:24 miracle NetworkManager[3218]: (wlan0): IP6 addrconf
    timed out or failed.
    Nov 14 08:36:19 miracle ntpd_intres[3601]: DNS 2.debian.pool.ntp.org
    -> 24.25.4.103
    Nov 14 08:36:15 miracle ntpd_intres[3601]: DNS 0.debian.pool.ntp.org
    -> 202.120.2.101
    Nov 14 08:36:07 miracle ntpd[3534]: peers refreshed
    Nov 14 08:36:07 miracle ntpd[3534]: 202.112.29.82 interface
    172.20.41.207 -> (none)
    Nov 14 08:36:07 miracle ntpd[3534]: 202.112.31.197 interface
    172.20.41.207 -> (none)
    Nov 14 08:36:07 miracle ntpd[3534]: Deleting interface #5 wlan0,
    172.20.41.207#1:
    ―――――――――――-有网――――――――――――――-
    Nov 14 08:40:10 miracle dnsmasq-dhcp[3006]: no address range
    available for DHCP request via wlan0
    Nov 14 08:40:05 miracle dnsmasq-dhcp[3006]: no address range
    available for DHCP request via wlan0
    Nov 14 08:40:02 miracle dnsmasq-dhcp[3006]: no address range
    available for DHCP request via wlan0
    Nov 14 08:40:01 miracle dnsmasq-dhcp[3006]: no address range
    available for DHCP request via wlan0
    Nov 14 08:40:00 miracle dnsmasq-dhcp[3006]: no address range
    available for DHCP request via wlan0
    Nov 14 08:39:59 miracle dnsmasq-dhcp[3006]: no address range
    available for DHCP request via wlan0
    Nov 14 08:39:32 miracle dbus[3095]: [system] Successfully activated
    service ‘org.freedesktop.nm_dispatcher’
    ―――――――――――有网―――――――――――――-
    Nov 14 08:41:26 miracle dbus[3095]: [system] Successfully activated
    service ‘org.freedesktop.nm_dispatcher’
    Nov 14 08:41:26 miracle dbus[3095]: [system] Activating service
    name=’org.freedesktop.nm_dispatcher’ (using servicehelper)
    Nov 14 08:41:25 miracle NetworkManager[3218]: nameserver ‘61.128.192.68’
    Nov 14 08:41:25 miracle NetworkManager[3218]: nameserver ‘61.128.128.68’
    Nov 14 08:41:25 miracle NetworkManager[3218]: gateway 222.176.232.1
    Nov 14 08:41:25 miracle NetworkManager[3218]: prefix 21 (255.255.248.0)
    Nov 14 08:41:25 miracle NetworkManager[3218]: address 222.176.234.83
    Nov 14 08:41:25 miracle NetworkManager[3218]: (wlan0): DHCPv4 state
    changed renew -> renew
    Nov 14 08:41:25 miracle dhclient: bound to 222.176.234.83 ― renewal
    in 99 seconds.
    Nov 14 08:41:25 miracle dhclient: DHCPACK from 222.176.232.1
    Nov 14 08:41:25 miracle dhclient: DHCPREQUEST on wlan0 to
    222.176.232.1 port 67
    Nov 14 08:40:10 miracle dnsmasq-dhcp[3006]: no address range
    available for DHCP request via wlan0
    ――――――――――-Y――――――――――――
    Nov 14 08:44:24 miracle dhclient: DHCPREQUEST on wlan0 to
    222.176.232.1 port 67
    Nov 14 08:44:11 miracle dhclient: DHCPREQUEST on wlan0 to
    222.176.232.1 port 67
    Nov 14 08:43:56 miracle dhclient: DHCPREQUEST on wlan0 to
    222.176.232.1 port 67
    Nov 14 08:43:42 miracle dhclient: DHCPREQUEST on wlan0 to
    222.176.232.1 port 67
    Nov 14 08:43:25 miracle dhclient: DHCPREQUEST on wlan0 to
    222.176.232.1 port 67
    Nov 14 08:43:12 miracle dhclient: DHCPREQUEST on wlan0 to
    222.176.232.1 port 67
    Nov 14 08:43:04 miracle dhclient: DHCPREQUEST on wlan0 to
    222.176.232.1 port 67
    ――――――――――-断网―――――――――-
    Nov 14 08:45:09 miracle dhclient: DHCPREQUEST on wlan0 to
    255.255.255.255 port 67
    Nov 14 08:44:56 miracle dhclient: DHCPREQUEST on wlan0 to
    255.255.255.255 port 67
    Nov 14 08:44:48 miracle dhclient: DHCPREQUEST on wlan0 to
    222.176.232.1 port 67
    Nov 14 08:44:39 miracle dhclient: DHCPREQUEST on wlan0 to
    222.176.232.1 port 67
    ――――――――――-N――――――――-
    Nov 14 08:45:48 miracle dhclient: DHCPDISCOVER on wlan0 to
    255.255.255.255 port 67 interval 10
    Nov 14 08:45:40 miracle dhclient: DHCPDISCOVER on wlan0 to
    255.255.255.255 port 67 interval 8
    Nov 14 08:45:32 miracle dhclient: DHCPDISCOVER on wlan0 to
    255.255.255.255 port 67 interval 8
    Nov 14 08:45:26 miracle NetworkManager[3218]: (wlan0): DHCPv4 state
    changed expire -> preinit
    Nov 14 08:45:26 miracle dhclient: DHCPDISCOVER on wlan0 to
    255.255.255.255 port 67 interval 6
    Nov 14 08:45:26 miracle NetworkManager[3218]: (wlan0): DHCPv4 state
    changed renew -> expire
    ―――――――――-N―――――――-
    Nov 14 08:46:06 miracle dhclient: DHCPDISCOVER on wlan0 to
    255.255.255.255 port 67 interval 18
    Nov 14 08:45:58 miracle dhclient: DHCPDISCOVER on wlan0 to
    255.255.255.255 port 67 interval 8
    *在一堆DHCPREQUEST后断 网。。。*

*从win重启后查看日志(此时段内 网络连接没有问题)*
$watch -d -n 1 tac /var/log/syslog
Nov 14 09:55:10 miracle dnsmasq-dhcp[2999]: no address range available
for DHCP
request via wlan0
Nov 14 09:55:02 miracle dnsmasq-dhcp[2999]: no address range available
for DHCP
request via wlan0
Nov 14 09:54:54 miracle dbus[3148]: [system] Successfully activated
service ‘org
.freedesktop.nm_dispatcher’
Nov 14 09:54:54 miracle dbus[3148]: [system] Activating service
name=’org.freede
sktop.nm_dispatcher’ (using servicehelper)
Nov 14 09:54:54 miracle NetworkManager[3194]: nameserver ‘61.128.192.68
‘
Nov 14 09:54:54 miracle NetworkManager[3194]: nameserver ‘61.128.128.68
‘
Nov 14 09:54:54 miracle NetworkManager[3194]: gateway 222.176.232.1
Nov 14 09:54:54 miracle NetworkManager[3194]: prefix 21 (255.255.248.0)
Nov 14 09:54:54 miracle NetworkManager[3194]: address 222.176.238.100
Nov 14 09:54:54 miracle NetworkManager[3194]: (wlan0): DHCPv4 state chang
ed renew -> renew
Nov 14 09:54:54 miracle dhclient: bound to 222.176.238.100 ― renewal in
102 sec
onds.
Nov 14 09:54:54 miracle dhclient: DHCPACK from 222.176.232.1
Nov 14 09:54:54 miracle dhclient: DHCPREQUEST on wlan0 to 222.176.232.1
port 67
Nov 14 09:54:53 miracle dnsmasq-dhcp[2999]: no address range available
for DHCP
request via wlan0
。。。。重复dnsmasq-dhcp信息,之后回到日志开始处,此处*消失了 DHCPREQUEST*

<#>


  系统运行环境

linux mint debian edition + xfce4 + networkmanager 0.9.8.4
$ uname -a
Linux miracle 3.10-3-686-pae #1 SMP Debian 3.10.11-1 (2013-09-10) i686
GNU/Linux

*真的很奇怪的问题,哪位大神懂的给 分析下?先谢了。*

-------------- 下一部分 --------------
一个HTML附件被移除...
URL: 
<https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20131114/8a45339f/attachment.html>
-- 
ubuntu-zh mailing list
ubuntu-zh@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh

回复