Raspberry Pi WiFi issue (Solarcam)

From Wurst-Wasser.net
Jump to navigation Jump to search

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"