@Stwert ...
I can’t offer any suggestion on your Ethernet connection problem but I too use the Edimax wireless adapter and it is now working fine for me.
I found this on the RPi forum ... it stopped the Edimax losing connection after periods of non-use/overnight.
==========
by MrEngman » Sun Nov 24, 2013 5:47 pm
Try this. Make a file 8192cu.conf in directory /etc/modprobe.d/ with the command
sudo nano /etc/modprobe.d/8192cu.conf
and add the following lines
# Disable power management
options 8192cu rtw_power_mgnt=0 rtw_enusbss=0
Later explanation by MrEngman ...
I've no idea why it works, other than it interacts directly with the driver, but there appear to be some oddities regarding so called power management. Command iwconfig always shows power management is off regardless. But the 8192cu driver for the EW7811Un is compiled by default with minimum power management enabled, and appears unaffected by the general power management setting, so could drop power after some time but shouldn't turn off, and this is even when power management is reportedly turned off. It could be the distance to the AP may come in to it and when power is reduced the connection could be lost. Just a guess though.
==============================
Adopting a belt & braces approach, I also followed Maurice Svay’s RPi blog suggestion to the ping router every minute by setting up a cron job ....
Do systemctl enable cronie.service
Do systemctl unmask cronie.service
Do systemctl start cronie.service
Do export EDITOR=nano
Do crontab –e and insert following line then save & exit
*/1 * * * * ping -c 1 192.168.0.1
[i](NOTE: substitute your router IP address)[/i]
Now do crontab –l to check that the cron job is there
Now do systemctl status cronie to check that cronie is running
Hope this helps – good luck