Raspberry Pi WiFi issue (Solarcam): Difference between revisions

From Wurst-Wasser.net
Jump to navigation Jump to search
No edit summary
Line 12: Line 12:
* deinstalled <tt>wicd</tt>
* deinstalled <tt>wicd</tt>
* configured <tt>/etc/network/interfaces</tt> to look like this:
* configured <tt>/etc/network/interfaces</tt> to look like this:
auto lo
auto lo
 
iface lo inet loopback
iface lo inet loopback
iface eth0 inet dhcp
iface eth0 inet dhcp
 
allow-hotplug wlan0
allow-hotplug wlan0
auto wlan0
auto wlan0
 
iface wlan0 inet dhcp
iface wlan0 inet dhcp
   wpa-ssid "MY_SSID"
   wpa-ssid "MY_SSID"
   wpa-psk "MY_PRESHAREDKEY"
   wpa-psk "MY_PRESHAREDKEY"

Revision as of 14:40, 20 April 2018

The Problem

My Raspberry Pi kept disconnecting from wifi:

Apr  6 02:37:13 raspberrypi kernel: [ 1877.518479] wlan0: deauthenticated from 04:4f:4c:6c:01:f9 (Reason: 3=DEAUTH_LEAVING)
Apr  6 02:37:25 raspberrypi kernel: [ 1889.560586] rtl8192cu: MAC auto ON okay!
Apr  6 02:37:25 raspberrypi kernel: [ 1889.627062] rtl8192cu: Tx queue select: 0x05
Apr  6 04:57:20 raspberrypi kernel: [10284.578042] wlan0: deauthenticated from 04:4f:4c:6c:01:f9 (Reason: 6=CLASS2_FRAME_FROM_NONAUTH_STA)


The Solution

  • deinstalled wicd
  • configured /etc/network/interfaces to look like this:
auto lo

iface lo inet loopback
iface eth0 inet dhcp

allow-hotplug wlan0
auto wlan0

iface wlan0 inet dhcp
 wpa-ssid "MY_SSID"
 wpa-psk "MY_PRESHAREDKEY"