Hi all!
For everyone who has problems with WIFI- connection and uses EDIMAX EW7811Un- dongle:
The problem with loosing connection is SOLVED for me!
I followed a hint of a forum member. Edimax dongle has a power management included and this prevents building up connection after a while 'cause the device falls into a kind of sleeping mode. But it is possible to deactivate this function. Afterwards WIFI works perfect!
Method:
Start putty (or use other ways) and connect to pi via SSH. Log in: ‘root’ password: ‘volumio’
Then type: sudo nano /etc/modprobe.d/8192cu.conf
then press return
There you add the lines:
Disable power management
options 8192cu rtw_power_mgnt=0 rtw_enusbss=0
Press Strg+ O then return then Strg+ X and type: sudo reboot
then press return
One more thing: It is better to give Volumio through WIFI a static IP address- that guarantees, that routers don’t mess up with a lot of IP addresses of changing devices.
Therefore first make the WIFI configuration in Volumio with correct SSID and WPA Key. Then press ‘save changes’
Wait till volumio shows something like’ No IP address assigned’ or ‘no Interface present’
Afterwards again connect through SSH- same procedure as described above.
Type: sudo nano /etc/network/interfaces
then press return
Search the line: iface wlan0 inet dhcp and change dhcp to static so it looks like:
iface wlan0 inet static
Then below add the lines:
address There you type your wished IP address (same as the router- only the last digits differ)
netmask 255.255.255.0
gateway IP of your router
In my configuration it looks like:
address 10.0.0.12
netmask 255.255.255.0
gateway 10.0.0.138
Below that you should see the allready registered SSID of your router and the WPA Key- Nothing to change here.
Press Strg+O then press return
Press Strg+ X and then type sudo reboot
then press return
After I’ve done all this WIFI with EDIMAX works absolutely perfect- faster and without connection losses!
Greetingz, Robert