amcdonley
Posts: 182
Joined: Mon Jan 26, 2015 5:56 pm
Location: Florida, USA

RPi 3B WiFi Down - recovered by unplug, replug dongle

Fri Aug 09, 2019 10:21 pm

I just found my RPi 3B robot incommunicado by both wlan0 and wlan1 and this printed on the closed remote SSH login:
packet_write_wait: Connection to 10.0.0.188 port 22: Broken pipe
In spite of a solid blue light on the WiFi dongle, the RPI disk activity light seemed to indicate the bot was still running.

I pulled the USB WiFi dongle out and then reinserted it. Surprise - it started blinking again and I was able to remote ssh into it.

Any ideas what can hang both the built-in WiFi and the USB WiFi?
Carl_July2019_small.jpeg
Carl_July2019_small.jpeg (30.02 KiB) Viewed 85 times

amcdonley
Posts: 182
Joined: Mon Jan 26, 2015 5:56 pm
Location: Florida, USA

Re: RPi 3B WiFi Down - recovered by unplug, replug dongle

Fri Aug 09, 2019 10:43 pm

I think I see what happened - a few hours prior I did a:
sudo rpi-clone sda
and after it finished and unmounted both partitions, I unplugged the USB microSDcard adapter.

Guess that did it. /var/log/messages:
Aug 9 17:54:35 Carl kernel: [171141.137968] usb 1-1.4: USB disconnect, device number 5
Aug 9 13:57:12 Carl kernel: [156898.055118] rtw_cmd_thread: DriverStopped(0) SurpriseRemoved(1) break at line 482
Aug 9 13:57:10 Carl kernel: [156896.238434] usb 1-1.2: current rate 32896 is different from the runtime rate 48000
Aug 9 13:57:10 Carl kernel: [156896.105037] usb 1-1.2: reset full-speed USB device number 4 using dwc_otg
Aug 9 13:57:07 Carl kernel: [156892.945968] usb 1-1.3: USB disconnect, device number 6

Return to “Troubleshooting”