I'm not able to establish a wired network connection to my Kodi box. I tried two other devices on the same cable, which are connecting just fine. So the cable should be fine. After some research I got some output (MAC anonymized):
lspci -v
Ethernet controller: JMicron Technology Corp. JMC250 PCI Express Gigabit Ethernet Controller (rev 03)
Subsystem: Holco Enterprise Co, Ltd/Shuttle Computer JMC250 PCI Express Gigabit Ethernet Controller
Flags: bus master, fast devsel, latency 0, IRQ 30
Memory at feaf4000 (32-bit, non-prefetchable) [size=16K]
I/O ports at dc00 [size=128]
I/O ports at d800 [size=256]
Capabilities: [68] Power Management version 3
Capabilities: [50] Express Legacy Endpoint, MSI 00
Capabilities: [40] MSI-X: Enable- Count=8 Masked-
Capabilities: [70] MSI: Enable+ Count=1/8 Maskable+ 64bit+
Kernel driver in use: jme
Display More
dmesg | grep jme
[ 1.027144] jme: JMicron JMC2XX ethernet driver version 1.0.8
[ 1.027177] jme 0000:02:00.5: can't disable ASPM; OS doesn't have ASPM control
[ 1.028208] jme 0000:02:00.5 eth0: JMC250 Gigabit Ethernet chiprev:23 pcirev:3 macaddr:80:ee:73:11:11:11
[ 682.829085] jme 0000:02:00.5 eth0: Link is down
[ 682.857367] jme 0000:02:00.5 eth0: Link is down
ip link
2: eth0: mtu 1500 qdisc pfifo_fast qlen 1000
link/ether 80:ee:73:11:11:11 brd ff:ff:ff:ff:ff:ff
Is there maybe some module, that needs to be loaded or is the device itself defective? Suggestions are very welcome.
It's a Shuttle XS35GTV2 with a JMicronJMC250 PCI Express Gigabit Ethernet Controller.
EDIT: Today, I booted Ubuntu from a USB drive with the same result.
EDIT2 (2017 Oct 13): On Windows 10 x64 the wired network adapter works. Is this maybe a driver / kernel / general linux issue?
EDIT3 (2017 Oct 14): Further searching and trial & error brought the solution:
SOLUTION:
- Connect via Wifi
- SSH connect to your kodi box
- create autostart.sh with:
add the following content and save:
- Reboot your machine
This activates the network connection at boot time. Further reading: