I have a Raspberry Pi like access point all is fine. I usually turn it on without monitor, keyboard nor mouse. The problem I have is that if the Raspberry Pi is not used for some time and then you try to connect to its access point you can't. The Raspberry Pi access point is shown on the list of my devices that I usually connect there but you can't connect. Now I detected when I leave it connected with a mouse, keyboard and monitor to check what happen I note something. When the sleep happens and of course you can't connect if I move the mouse nothing happens but if I touch any key of the keyboard the image of the Raspberry comes up from blank and when comes up all text on screen you can connect to the access point. Then is very clear that something is sleeping here and when you touch the keyboard wake up and all is perfect again.
I tried to do each technique described here and nothing:
https://www.raspberrypi.org/forums/viewtopic.php?f=66&t=18200
My Wi-Fi USB adapter is RTL 8188CUS
with long range antenna. I'm using Raspbian. I heard that is possible that some Wi-Fi adapters sleep. Anything anyone know what could be the problem or how can I avoid the sleeping of whatever is causing the problem?
iface lo inet loopback
#auto eth0 #allow-hotplug eth0 iface eth0 inet dhcp
#auto wlan0 allow-hotplug wlan0 wireless-power off iface wlan0 inet static address 192.168.42.1 netmask 255.255.255.0 #wireless-power off #iface wlan0 inet manual #wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf` I changed like you see wireless-power off but I have openvpn and after add wireless-power off stopped work open VPN simply you can't connect to the acces point. I followed this tutorial to make open openvpn connection: http://blog.frd.mn/raspberry-pi-vpn-gateway/
– coerrace Sep 14 '15 at 01:17iface wlan0 inet static address 192.168.42.1 netmask 255.255.255.0
And here in this case after net ask line you can connect to access point but not mask the IP openvpn and to checkSuso service openvpn status
say is not working openvpn. If I remove totally wireless-power off all works perfect in my system masking IP and connecting without any issue but the sleep begins. Any other suggestion? – coerrace Sep 14 '15 at 01:23sudo apt-get install dconf-editor
However I can't find this org.gnome.settings-daemon.plugins.power on the left to modify these 2 settings:sleep-inactive-ac-type to nothing
sleep-inactive-battery-type to nothing
But are not appearing that 2 options. I don't know why is not appearing the power options in dconf-editor GUI. Maybe with that could be solved I saw some links that explain similar things http://raspberrypi.stackexchange.com/questions/1384/how-do-i-disable-suspend-mode – coerrace Sep 14 '15 at 02:47