WiFi Fails To Start After Reboot
#1
Hello all:

I recently installed Kodi v14.0 on my RasPi B+. Everything is going swimmingly, except one minor hiccup: after I reboot the device (or power off and back on) WiFi fails to start itself back up.

Pulling out the WiFi dongle and re-inserting it does get WiFi working again. However, for me, this is an unacceptable workaround.

I have located a section of the dmesg that I think might be meaningful to someone more familiar with this hardware than myself:
Code:
[   13.167655] set_mode = IW_MODE_INFRA
[   13.167705] rtw_cmd_thread: DriverStopped(0) SurpriseRemoved(1) break at line 482
[   13.169001] =>rtw_wx_set_essid
[   13.169029] ssid=gÆisQÿJì)ͺ«òûãF|ÂTøçvZ.c3É PÍàaIÍ, len=32
[   13.169046] Set SSID under fw_state=0x00000008
[   13.169064] <=rtw_wx_set_essid, ret -1
[   13.268435] [rtw_wx_set_pmkid] IW_PMKSA_FLUSH!

You can see on the fourth line down the ssid is completely garbled. Here is the same section when it works after unplugging and re-inserting the dongle:
Code:
[  205.328679] set_mode = IW_MODE_INFRA
[  205.330026]
[  205.330026]  wpa_ie(length:22):
[  205.330417] 0x30 0x14 0x01 0x00 0x00 0x0f 0xac 0x04
[  205.330483] 0x01 0x00 0x00 0x0f 0xac 0x04 0x01 0x00
[  205.330531] hw_var_set_opmode()-4236 mode = 2
[  205.330577] 0x00 0x0f 0xac 0x02 0x00 0x00 0x00 0x00
[  205.331175] SetHwReg8192CU, 5132, RCR= 700060ca
[  205.335993] =>rtw_wx_set_essid
[  205.336020] ssid=karma, len=5
[  205.336072] Set SSID under fw_state=0x00000008
[  205.336099] [by_bssid:0][assoc_ssid:karma][to_roaming:0] new candidate: karma(78:24:af:95:94:2a, ch6) rssi:-58
[  205.336118] rtw_select_and_join_from_scanned_queue: candidate: karma(78:24:af:95:94:2a, ch:6)
[  205.336148] link to Broadcom AP
[  205.336265] <=rtw_wx_set_essid, ret 0

You can see that the ssid is now "karma" which is correct.

I'm not sure if any of that is relevant or not. Does anyone have any ideas?

Thanks in advance for your replies Wink
Reply
#2
Suggestions:

- Put the WiFi dongle in the USB port that is the furthest away from the Ethernet socket.
- Setup up a Static IP address

Reply
#3
I tried both of your suggestions, but still no luck.

I don't believe it's a signal issue or anything like that. When the OpenELEC interface comes up, I go into settings and there are simply no wireless connections seen. It's as if the wifi dongle isn't powered on or something.

But as I mentioned before, taking it out and putting back in fixes it until the next reboot.

Any other suggestions?
Reply

Logout Mark Read Team Forum Stats Members Help
WiFi Fails To Start After Reboot0