这个问题存在好久了,在苹果官方论坛上已经存在好长时间了,但苹果至今仍未修复此问题:
https://discussions.apple.com/thread/2142725
有人说在Network Preference -> Location 里,新添加配置,就可以了,但我没有尝试成功过。
我的版本是MBP 13 + Mac osx 10.8.5 ,从来不关机,在公司直接插网线,有时把本子的Wifi做为路由器使用,回家就直接用无线路由,不插网线。所以这个问题隔一段时间就回出现,一直没有找到解决方法,只能重新启动系统,否则就再也连接不了无线路由了,log日志如下:
May 4 15:16:16 pandora kernel[0]: wlEvent: en1 en1 Link DOWN virtIf = 0 May 4 15:16:16 pandora kernel[0]: AirPort: Link Down on en1. Reason 8 (Disassociated because station leaving). May 4 15:16:16 pandora kernel[0]: en1::IO80211Interface::postMessage bssid changed May 4 15:16:16 pandora kernel[0]: wlEvent: en1 en1 Link UP virtIf = 0 May 4 15:16:16 pandora kernel[0]: AirPort: Link Up on en1 May 4 15:16:16 pandora kernel[0]: en1: BSSID changed to May 4 15:16:16 pandora kernel[0]: en1::IO80211Interface::postMessage bssid changed May 4 15:16:16 pandora kernel[0]: wlc_iovar_setint(auth) returned 0 May 4 15:16:16 pandora kernel[0]: wlc_iovar_setint(wpa_cap=0x0) returned 0 May 4 15:16:16 pandora kernel[0]: wlc_iovar_setint(wsec=0x4) returned 0 May 4 15:16:16 pandora kernel[0]: wlc_iovar_setint(wpa_auth=0x80) returned 0 May 4 15:16:16 pandora kernel[0]: wlEvent: en1 en1 Link DOWN virtIf = 0 May 4 15:16:16 pandora kernel[0]: AirPort: Link Down on en1. Reason 3 (Deauthenticated because station leaving). May 4 15:16:16 pandora kernel[0]: en1: BSSID changed to May 4 15:16:16 pandora kernel[0]: en1::IO80211Interface::postMessage bssid changed May 4 15:16:16 pandora kernel[0]: wlEvent: en1 en1 Link UP virtIf = 0 May 4 15:16:16 pandora kernel[0]: AirPort: Link Up on en1 May 4 15:16:16 pandora kernel[0]: en1: BSSID changed to May 4 15:16:16 pandora kernel[0]: en1::IO80211Interface::postMessage bssid changed May 4 15:16:16 pandora kernel[0]: AirPort_Brcm43xx::getKEY_RSC: Requesting RSC for index 1. May 4 15:16:16 pandora kernel[0]: wlc_ioctl(WLC_GET_KEY_SEQ) returned 0 May 4 15:16:16 pandora kernel[0]: bridge0: attached with 1 suspended link-layer multicast membership(s) May 4 15:16:16 pandora kernel[0]: bridge_attach_protocol: en1 May 4 15:16:16 pandora kernel[0]: bridge0: successfully restored 1 suspended link-layer multicast membership(s) (err=0)
最近回家后,又出现了这个问题,翻看log,看提示说是en1找不到station,en1对应的是Wifi,en0 对应的是网线口,会不会和在公司把本子当路由使有关呢,因为回家后,就从来没插过网线,这时候,就意味着Wifi的路由模式找不到en0,所以出现问题。
于是插上一根网线,和公司同样的场景,果不出所料,WiFi恢复正常。然后再拔掉网线,用Wifi连接家里的路由,Bingo!一切都正常了,终于可以不用重启系统了。