Wifi query
Posted: Fri Nov 24, 2017 9:06 pm
Hi,
I have a problem with my WIFI going to sleep, I have googled it endlessly but what every I try, fails. I did have it working up till a week ago when I got a new router, I (for some reason) wiped the interfaces file and started a fresh, since then the problem is simple the WIFI goes to sleep
I have also tried to have a static IP but thats not working either.
My raspberry is running Wheezy, Headless.
My interfaces file
My wpa_supplicant.conf
I have tried this
/etc/modprobe.d/8192cu.conf
After I restart the raspberry the router see it and it gets two IP's the 227 is the one I use to SSH, the 6 is the one I tried to fix it too.
Can anyone help, or at least point me in the right direction!
Regards
James
I have a problem with my WIFI going to sleep, I have googled it endlessly but what every I try, fails. I did have it working up till a week ago when I got a new router, I (for some reason) wiped the interfaces file and started a fresh, since then the problem is simple the WIFI goes to sleep

I have also tried to have a static IP but thats not working either.
My raspberry is running Wheezy, Headless.
My interfaces file
Code: Select all
auto lo
iface lo inet loopback
iface eth0 inet dhcp
wireless-power off
allow-hotplug wlan0
iface wlan0 inet static
address 192.168.1.6
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1
#allow-hotplug wlan0
iface wlan0 inet manual
wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
iface default inet dhcp
Code: Select all
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
network={
ssid="SomeID"
psk="Somepassword"
proto=RSN
key_mgmt=WPA-PSK
pairwise=CCMP
auth_alg=OPEN
}
/etc/modprobe.d/8192cu.conf
Code: Select all
options 8192cu rtw_power_mgnt=0 rtw_enusbss=0 rtw_ips_mode=1
Code: Select all
raspberrypi 192.168.1.227 192.168.1.6
Regards
James