nachiketh
Posts: 45
Joined: Wed Sep 25, 2013 4:54 pm

WiFi Link goes down

Fri Dec 04, 2015 6:43 am

Hi Folks,
I'm using a USB WiFi dongle on my RPi, I have observed that after some time (~1Day) the WiFi goes down and requires me to reboot the rPi whenever that happens, upon going through the syslog I found the following error around the time the rPi went offline:

Code: Select all

Dec  4 10:18:24 raspberrypi ifplugd(wlan0)[388]: Link beat lost.
Dec  4 10:18:26 raspberrypi dhcpcd[2538]: wlan0: carrier lost
Dec  4 10:18:26 raspberrypi wpa_supplicant[1529]: wlan0: CTRL-EVENT-DISCONNECTED bssid=c0:4a:00:8d:ad:b2 reason=0
Dec  4 10:18:26 raspberrypi avahi-daemon[2199]: Withdrawing address record for 10.10.0.101 on wlan0.
Dec  4 10:18:26 raspberrypi avahi-daemon[2199]: Leaving mDNS multicast group on interface wlan0.IPv4 with address 10.10.0.101.
Dec  4 10:18:26 raspberrypi avahi-daemon[2199]: Interface wlan0.IPv4 no longer relevant for mDNS.
Dec  4 10:18:26 raspberrypi dhcpcd[2538]: wlan0: deleting route to 10.10.0.0/24
Dec  4 10:18:26 raspberrypi dhcpcd[2538]: wlan0: deleting default route via 10.10.0.254
Dec  4 10:18:27 raspberrypi ntpd[2083]: Deleting interface #3 wlan0, 10.10.0.101#123, interface stats: received=151, sent=151, dropped=0, active_time=80028 secs
Dec  4 10:18:27 raspberrypi ntpd[2083]: 10.10.0.100 interface 10.10.0.101 -> (none)
Dec  4 10:18:27 raspberrypi ntpd[2083]: peers refreshed
Dec  4 10:18:32 raspberrypi wpa_supplicant[1529]: wlan0: Trying to associate with c0:4a:00:8d:ad:b2 (SSID='TP-LINK_POCKET_3020_8DADB2' freq=2462 MHz)
Dec  4 10:18:32 raspberrypi wpa_supplicant[1529]: wlan0: Association request to the driver failed
Dec  4 10:18:34 raspberrypi ifplugd(wlan0)[388]: Executing '/etc/ifplugd/ifplugd.action wlan0 down'.
Dec  4 10:18:34 raspberrypi wpa_supplicant[1529]: wlan0: CTRL-EVENT-TERMINATING - signal 15 received
Dec  4 10:18:34 raspberrypi ifplugd(wlan0)[388]: Program executed successfully.
So if any of you have any of you have faced a similar problem on the rPi, please let me know.
TIA!

ryansinglehurst
Posts: 1
Joined: Fri Dec 04, 2015 3:07 am

Re: WiFi Link goes down

Fri Dec 04, 2015 6:54 am

There are two primary methods to enable a passenger Internet connection on an airplane: satellite and air-to-ground. I'll talk about some of the key points on each of those, then talk about the in-cabin WiFi access point part.

User avatar
DougieLawson
Posts: 39121
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: WiFi Link goes down

Fri Dec 04, 2015 9:46 am

Have you disabled the power saving mode for your WiFi dongle?
viewtopic.php?p=855239#p855239
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

nachiketh
Posts: 45
Joined: Wed Sep 25, 2013 4:54 pm

Re: WiFi Link goes down

Tue Dec 08, 2015 4:12 pm

DougieLawson wrote:Have you disabled the power saving mode for your WiFi dongle?
viewtopic.php?p=855239#p855239
I'm unable to find the modprobe file for my adapter. The following is USB device details:

Code: Select all

Bus 001 Device 007: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
also upon running iwconfig, it says power management is already off.

Code: Select all

pi@raspberrypi ~/LNC $ iwconfig 
wlan0     IEEE 802.11bgn  ESSID:XXXXX  Nickname:XXXX
          Mode:Managed  Frequency:2.462 GHz  Access Point:XXXX
          Bit Rate:150 Mb/s   Sensitivity:0/0  
          Retry:off   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality=98/100  Signal level=24/100  Noise level=0/100
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

Return to “Troubleshooting”