I need RP to run as headless remote server, but I found that it is not possible to make Raspberry Pi run longer than few hours/days because the ethernet interface drops and there is no more connectivity.
The problem being:
$this->bbcode_second_pass_code('', '[Wed Apr 30 11:03:57 2014] smsc95xx 1-1.1:1.0 eth0: unregister 'smsc95xx' usb-bcm2708_usb-1.1, smsc95xx USB 2.0 Ethernet
[Wed Apr 30 11:03:57 2014] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
[Wed Apr 30 11:03:57 2014] Indeed it is in host mode hprt0 = 00001101
[Wed Apr 30 11:03:57 2014] usb 1-1: reset high-speed USB device number 2 using dwc_otg
[Wed Apr 30 11:03:57 2014] Indeed it is in host mode hprt0 = 00001101
[Wed Apr 30 11:03:58 2014] usb 1-1.1: new high-speed USB device number 4 using dwc_otg
[Wed Apr 30 11:03:58 2014] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
[Wed Apr 30 11:03:58 2014] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[Wed Apr 30 11:03:58 2014] smsc95xx v1.0.4
[Wed Apr 30 11:03:59 2014] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-bcm2708_usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:a2:68:54
[Wed Apr 30 11:03:59 2014] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup')
I already tried all the fixes I found, ie:
- smsc95xx.turbo_mode=N
- /etc/sysctl.conf > vm.min_free_kbytes=32768
Nothing helped. So the last idea I have is to restart the networking every minute, like so: http://ubuntuforums.org/showthread.php? ... st13008640
However, this script is for Debian. How could I achieve it in Arch?