For some reason each time I reboot my RPi2 with OSMC, my network (fixed IP or dhcp) does not work. The only way it starts working is when I unplug and replug the network cable a few times.
When it finally works, it keeps working without problems, but if I reboot the RPi, sometimes the network keeps working and sometimes it doesn’t, and if I shutdown and power on the RPi, I always have to do the ‘unplug & replug’ process again…
I’ve tried by disabling connman and installing ifupdown (/etc/network/interfaces), but I’m experiencing the same issue.
Also, I couldn’t find anything in the logs:
root@pandora:~# journalctl | egrep "(netw|eth)"
Jan 31 01:45:00 pandora kernel: smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-3f980000.usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:f3:5f:09
Jan 31 01:45:00 pandora systemd[1]: Starting LSB: Raise network interfaces....
Jan 31 01:45:02 pandora kernel: smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
Jan 31 01:45:02 pandora networking[185]: Configuring network interfaces...done.
Jan 31 01:45:02 pandora systemd[1]: Started LSB: Raise network interfaces..
Jan 31 01:45:06 pandora kernel: smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0xC5E1
Jan 31 01:45:38 pandora kernel: smsc95xx 1-1.1:1.0 eth0: link down
Jan 31 01:45:40 pandora kernel: smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0xC5E1
Jan 31 01:45:44 pandora kernel: smsc95xx 1-1.1:1.0 eth0: link down
Jan 31 01:45:46 pandora kernel: smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0xC5E1
Jan 31 01:45:52 pandora kernel: smsc95xx 1-1.1:1.0 eth0: link down
Jan 31 01:45:55 pandora kernel: smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0xC5E1
Jan 31 01:46:02 pandora kernel: smsc95xx 1-1.1:1.0 eth0: link down
Jan 31 01:46:04 pandora kernel: smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0xC5E1
Jan 31 01:46:38 pandora ntpd[772]: Listen normally on 3 eth0 192.168.1.50 UDP 123
(the link down / link up means I’m unplugging and replugging the network cable)
Then revert/reinstall and provide a more useful set of info for debugging your issue.
To get a better understanding of the problem you are experiencing we need more information from you. The best way to get this information is for you to upload some logs. You can learn more about how to submit a useful support request here.
Thanks for your understanding. We hope that we can help you get up and running again shortly.
I’ve made an absolutely fresh install (2017.01-1) and the same problem still persists
After I unplug and replug the network cable a few times, it starts working without problems and it will keep working until next reboot or shutdown/startup.
The only weird thing I see at the moment is that ifconfig shows 164 RX errors and 82 RX packages dropped (these values stay static):
It turned out that pin 4 and pin 6 of my cable were inverted. Fortunately I was able to repatch the cable and it seems to working ok now!! Thank you again!!