This is an old revision of the document!
After a while the raspberry loses the network connection via WLAN0
Reason:
Powermanagement turns your USB devices off after a while
Fix:
First: Use the newest firmware → German Guide
Second: Disable suspend
vi /etc/modprobe.d/8192cu.confinsert
# Disable power saving options 8192cu rtw_power_mgnt=0 rtw_enusbss=1 rtw_ips_mode=1
Discussion