I had some issues after switching from wired ethernet to Wifi using and Edimax Wifi Stick.
After longer periods of inactivity the Raspyfi system could no longer be reached, nor was the systems IP address reachable in the network.
Looking at the Wifi stick I could see the blue activity LED was off.
Seems that the driver switches Wifi off if not used for some time…
After some googling I found the following solution (sorry in German:
http://developer-blog.net/hard…..ew-7811un/
I hope this is of help for those of you who use an Edimax stick.
best regards
Chris
The solution to the issue consists of two parts.
First we adjust the responsible 8192cu driver options by creating a new configuration file:
sudo nano /etc/modprobe.d/8192cu.conf
the file should contain the following line:
options 8192cu rtw_power_mgnt=0 rtw_enusbss=0
This should disable the sleep-mode of the Edimax EW-7811Un Wi-Fi stick.
To make this really sure, we can also create a cronjob pinging the router in regular intervals.
For this we open crontab:
sudo nano /etc/crontab
and add the line:
*/1 * * * * ping -c 1 192.168.1.1
adjusting "192.168.1.1" with the IP of your router.
Most Users Ever Online: 200
Currently Online:
7 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Gyp: 82
yoghurtlidlicker: 37
PaulM: 36
icai: 35
Derek: 29
Karsten: 27
tc-fi: 22
Ronaldo: 21
ENSen: 21
chriz: 20
Member Stats:
Guest Posters: 3619
Members: 569
Moderators: 0
Admins: 1
Forum Stats:
Groups: 4
Forums: 10
Topics: 469
Posts: 13163
Newest Members: polo2016, dongdong8, wlpwlp, Sager, ninestab123, lmx66, lmx, jlgg, chenyan, guoyanying
Administrators: admin (401)