Raspberry Pi WiFi issue (Solarcam): Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
=== The Problem === | === 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:13 raspberrypi kernel: [ 1877.518479] wlan0: deauthenticated from 04:4f:4c:6c:01:f9 (Reason: 3=DEAUTH_LEAVING) | ||
Line 6: | Line 7: | ||
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) | 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 <tt>wicd</tt> | |||
* configured <tt>/etc/network/interfaces</tt> 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" |
Revision as of 14:39, 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"