I'm running the RaspberryPi as a Server that is connected to the network over WiFi using the Edimax EW-7811UN Dongle. I configured the dongle according to the documentation, like
sudo nano /etc/modprobe.d/8192cu.conf
options 8192cu rtw_power_mgnt=0 rtw_enusbss=0
to disable all sorts of powersaving. But still: As soon as the WiFi router disables the WiFi connection the Dongle does not wake up any more. The connection can not be re-established.
If've already found a work-around (from the Raspberry Pi forums), to run this script as cronjob
#!/bin/bash # check if a wlan0 if exists if echo `/sbin/ifconfig` | grep -q $1; then #check if there is IP Address if echo `/sbin/ifconfig $1` | grep -q "inet Adresse"; then exit 0 fi /sbin/modprobe -r 8192cu fi /sbin/modprobe 8192cu exit 0
But that doesn't smell like the clean solution I'm looking for. Does anybody else experience this issue and has a simpler solution?
Thanks in advance!