黑苹果遇到的重启路由器后无法上网,必须重启电脑的奇怪问题。 - V2EX
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
yescola
V2EX    macOS

黑苹果遇到的重启路由器后无法上网,必须重启电脑的奇怪问题。

  •  
  •   yescola 2013-06-25 17:42:31 +08:00 9033 次点击
    这是一个创建于 4570 天前的主题,其中的信息可能已经有所发展或是发生改变。
    用了一台黑苹果,情况是这样,上网什么的一切正常,有线连接。但每次重启路由器之后,就无法上网,路由器web界面也打不开。无论是使用DHCP还是还是手动设定IP地址都是这样。

    而且如果是使用DHCP的话,重启路由器之后自动获得的IP地址不是理应的192.168.1.x 而是无规律的一些IP地址,比如219.121.xxx.xxx类似这样的。非常奇怪。

    但只要重启一次电脑,又可以正常上网了。DHCP获得的IP地址也正确了。

    换了2个路由器也都是同样的情况,而且路由器重启后MBA的无线是可以正常上网的,所以肯定可以排除掉路由器的题。

    求解,求解。
    23 条回复    1970-01-01 08:00:00 +08:00
    maoyipeng
        1
    maoyipeng  
       2013-06-25 18:10:54 +08:00 via iPad
    手动ip呢
    yescola
        2
    yescola  
    OP
       2013-06-25 18:11:49 +08:00
    @maoyipeng 手动IP也一样,也无法上网。重启电脑后正常。
    013231
        3
    013231  
       2013-06-25 18:12:06 +08:00
    和你一, 目前解中.
    yescola
        4
    yescola  
    OP
       2013-06-25 18:12:57 +08:00
    @maoyipeng 而且这个问题我感觉不是黑苹果系统或者驱动的问题。。因为我以前在另一台Windows XP里也遇到过。不过当时没怎么注意。
    yescola
        5
    yescola  
    OP
       2013-06-25 18:13:12 +08:00
    @013231 你也是黑苹果么?也是这个问题?
    maoyipeng
        6
    maoyipeng  
       2013-06-25 18:14:12 +08:00 via iPad
    @yescola 我觉得你该换块原生驱动的网卡
    你能把console里的内容贴出来么
    yescola
        7
    yescola  
    OP
       2013-06-25 18:16:50 +08:00
    @maoyipeng 不明觉厉。。小菜不知道console在哪里和怎么用。。。我看3楼的情况,貌似这个可能真的是网卡驱动的问题。。
    maoyipeng
        8
    maoyipeng  
       2013-06-25 18:17:51 +08:00 via iPad
    @yescola 你spotlight里搜索下。。。。就是显示系统日志的地方
    yescola
        9
    yescola  
    OP
       2013-06-25 18:19:14 +08:00
    @maoyipeng 我应该什么时候使用console?是重启路由器之后无法上网的时候使用吗?
    maoyipeng
        10
    maoyipeng  
       2013-06-25 18:21:59 +08:00 via iPad
    @yescola 你先开console 然后重启路由器 ,把新增的内容贴上来,或者 ifconfig en0 先down 再up

    ps:楼主不会命令行吧
    013231
        11
    013231  
       2013-06-25 18:31:48 +08:00
    @yescola 黑果, 主板GA-H77N-wifi, 卡成了ATHEROS AR9280. 不有一, 我是和路由器物理接中(拔掉或路由器)再重後法取IP, 而不是得一的IP.
    yescola
        12
    yescola  
    OP
       2013-06-25 18:33:21 +08:00
    @maoyipeng 已经重启过测试了。

    图1:使用DHCP,重启路由器后自动获得的奇怪的IP地址,无法上网,而且也无法获取到路由器地址。
    http://s.yunio.com/NpWNXv

    图2:重启路由器后控制台的截图。
    http://s.yunio.com/S_nSBm

    以下为复制的内容(在使用DHCP无法上网之后我还手动设定过一次IP地址到192.168.1.103,依旧不可以)
    13-6-25 下午6:23:23.460 System Preferences[1007]: Could not find image named 'InvalidDataIcon'.
    13-6-25 下午6:23:23.506 System Preferences[1007]: *** WARNING: -[NSImage compositeToPoint:operation:fraction:] is deprecated in MacOSX 10.8 and later. Please use -[NSImage drawAtPoint:fromRect:operation:fraction:] instead.
    13-6-25 下午6:23:23.506 System Preferences[1007]: *** WARNING: -[NSImage compositeToPoint:fromRect:operation:fraction:] is deprecated in MacOSX 10.8 and later. Please use -[NSImage drawAtPoint:fromRect:operation:fraction:] instead.
    13-6-25 下午6:23:56.140 configd[17]: subnet_route: write routing socket failed, Network is unreachable
    13-6-25 下午6:23:57.747 configd[17]: network changed: v4(en0+:169.254.56.236) DNS* Proxy+ SMB
    13-6-25 下午6:24:32.312 coreaudiod[172]: Disabled automatic stack shots because audio IO is active
    13-6-25 下午6:24:32.000 kernel[0]: Sound assertion - Command/Response TIMED OUT and ( kRequestStateMatch == fCodecRequest->state = 2 ), fCodecRequest->command->codec: -549208466688, fCodecRequest->command->verb: 0xFFF, fPoweredDown: 0
    13-6-25 下午6:24:32.000 kernel[0]: Sound assertion in AppleHDAController at line 5097
    13-6-25 下午6:24:32.000 kernel[0]: Sound assertion in AppleHDAController at line 5098
    13-6-25 下午6:24:32.000 kernel[0]: Sound assertion in AppleHDAController at line 8276
    13-6-25 下午6:24:32.630 com.apple.SecurityServer[15]: Session 100018 created
    13-6-25 下午6:24:32.776 coreaudiod[172]: Enabled automatic stack shots because audio IO is inactive
    13-6-25 下午6:25:10.283 configd[17]: IPMonitor apply_ipv4_route failed to add route, Network is unreachable:
    13-6-25 下午6:25:10.283 configd[17]: Dest 0.0.0.0 Mask 0.0.0.0 Gate 192.168.1.1 Ifp en0 Ifa 169.254.56.236
    13-6-25 下午6:25:10.284 configd[17]: network changed: v4(en0!:169.254.56.236) DNS* Proxy SMB
    13-6-25 下午6:25:10.286 configd[17]: DHCP en0: RELEASE transmit failed
    13-6-25 下午6:25:10.292 configd[17]: network changed: v4(en0-:169.254.56.236) DNS* Proxy- SMB
    13-6-25 下午6:25:28.688 System Preferences[1035]: Could not find image named 'InvalidDataIcon'.
    13-6-25 下午6:25:28.733 System Preferences[1035]: *** WARNING: -[NSImage compositeToPoint:operation:fraction:] is deprecated in MacOSX 10.8 and later. Please use -[NSImage drawAtPoint:fromRect:operation:fraction:] instead.
    13-6-25 下午6:25:28.733 System Preferences[1035]: *** WARNING: -[NImage compositeToPoint:fromRect:operation:fraction:] is deprecated in MacOSX 10.8 and later. Please use -[NSImage drawAtPoint:fromRect:operation:fraction:] instead.
    13-6-25 下午6:26:11.929 configd[17]: network changed: v4(en0+:192.168.1.103) DNS* Proxy+ SMB
    013231
        13
    013231  
       2013-06-25 18:36:00 +08:00
    又胡了一下, 竟然把我的解了:
    013231
        14
    013231  
       2013-06-25 18:38:26 +08:00
    重新接後, 行`sudo ifconfig en2 down`即可卡分配到ip. 第一卡是en2, ifconfig down非但上卡反而使它可以分配IP了, 黑果真神奇.
    yescola
        15
    yescola  
    OP
       2013-06-25 18:40:29 +08:00
    @013231 这句话命令的意思是啥。。
    maoyipeng
        16
    maoyipeng  
       2013-06-25 18:41:06 +08:00 via iPad
    @yescola 重启network-interface
    maoyipeng
        17
    maoyipeng  
       2013-06-25 18:43:33 +08:00 via iPad
    你点有个续租有用么
    maoyipeng
        18
    maoyipeng  
       2013-06-25 18:45:11 +08:00 via iPad
    我估计是dhcp的问题,重新获取下ip就好了
    013231
        19
    013231  
       2013-06-25 19:41:30 +08:00
    @yescola 本的意是en2, 但在黑果上行非但en2修好了法分配IP的BUG.
    yescola
        20
    yescola  
    OP
       2013-06-25 20:44:23 +08:00
    @maoyipeng 续租无用,可能是驱动问题吧,我试试更新驱动。
    maoyipeng
        21
    maoyipeng  
       2013-06-25 20:46:44 +08:00 via iPad
    @yescola 小心五国
    yescola
        22
    yescola  
    OP
       2013-06-25 21:18:30 +08:00
    @maoyipeng
    @013231
    我已经解决了。。果然还是驱动问题。MultiBeast的8111驱动是2011年的了,不支持MSI也不支持网络唤醒,我找到这个帖子,http://bbs.pcbeta.com/forum.php?mod=viewthread&tid=1342985 更新了里面的驱动,现在可以支持热插拔网线,重启路由器也能够正常获取DHCP了。

    感谢两位的帮助。
    bojy123
        23
    bojy123  
       2013-06-26 16:25:12 +08:00
    原来是驱动啊,我的也有这个问题,弄了好久,不过好像我的没的更新 T T
    关于     帮助文档     自助推广系统     博客     API     FAQ     Solana     3341 人在线   最高记录 6679       Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 25ms UTC 04:55 PVG 12:55 LAX 20:55 JFK 23:55
    Do have faith in what you're doing.
    ubao msn snddm index pchome yahoo rakuten mypaper meadowduck bidyahoo youbao zxmzxm asda bnvcg cvbfg dfscv mmhjk xxddc yybgb zznbn ccubao uaitu acv GXCV ET GDG YH FG BCVB FJFH CBRE CBC GDG ET54 WRWR RWER WREW WRWER RWER SDG EW SF DSFSF fbbs ubao fhd dfg ewr dg df ewwr ewwr et ruyut utut dfg fgd gdfgt etg dfgt dfgd ert4 gd fgg wr 235 wer3 we vsdf sdf gdf ert xcv sdf rwer hfd dfg cvb rwf afb dfh jgh bmn lgh rty gfds cxv xcv xcs vdas fdf fgd cv sdf tert sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf shasha9178 shasha9178 shasha9178 shasha9178 shasha9178 liflif2 liflif2 liflif2 liflif2 liflif2 liblib3 liblib3 liblib3 liblib3 liblib3 zhazha444 zhazha444 zhazha444 zhazha444 zhazha444 dende5 dende denden denden2 denden21 fenfen9 fenf619 fen619 fenfe9 fe619 sdf sdf sdf sdf sdf zhazh90 zhazh0 zhaa50 zha90 zh590 zho zhoz zhozh zhozho zhozho2 lislis lls95 lili95 lils5 liss9 sdf0ty987 sdft876 sdft9876 sdf09876 sd0t9876 sdf0ty98 sdf0976 sdf0ty986 sdf0ty96 sdf0t76 sdf0876 df0ty98 sf0t876 sd0ty76 sdy76 sdf76 sdf0t76 sdf0ty9 sdf0ty98 sdf0ty987 sdf0ty98 sdf6676 sdf876 sd876 sd876 sdf6 sdf6 sdf9876 sdf0t sdf06 sdf0ty9776 sdf0ty9776 sdf0ty76 sdf8876 sdf0t sd6 sdf06 s688876 sd688 sdf86