Hi LibreElec Gurus,
I have a problem with LibreElec running on S912 based X92 mediabox. I cannot connect the box via ethernet. The cable is connected, I tried three cables. But the Wired connection does not come up in Settings > LibreElec > Connections. I cannot see the wired connections only Wireless. When I checked via SSH (connected wireless) I saw these:
ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP8000> mtu 1500 qdisc mq qlen 1000
link/ether 90:0e:b3:03:49:32 brd ff:ff:ff:ff:ff:ff
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel qlen 1000
link/ether 6c:21:a2:79:02:70 brd ff:ff:ff:ff:ff:ff
inet 192.168.11.116/24 brd 192.168.11.255 scope global wlan0
valid_lft forever preferred_lft forever
4: docker0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue
link/ether 02:42:e4:6b:7f:f2 brd ff:ff:ff:ff:ff:ff
inet 172.17.0.1/16 brd 172.17.255.255 scope global docker0
valid_lft forever preferred_lft forever
then:
ifconfig eth0 192.168.11.111 netmask 255.255.255.0 broadcast 192.168.11.1
ifconfig eth0 up
ifconfig -a
docker0 Link encap:Ethernet HWaddr 02:42:E4:6B:7F:F2
inet addr:172.17.0.1 Bcast:172.17.255.255 Mask:255.255.0.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
eth0 Link encap:Ethernet HWaddr 90:0E:B3:03:49:32
inet addr:192.168.11.111 Bcast:192.168.11.1 Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:28
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:42 errors:0 dropped:0 overruns:0 frame:0
TX packets:42 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:10578 (10.3 KiB) TX bytes:10578 (10.3 KiB)
wlan0 Link encap:Ethernet HWaddr 6C:21:A2:79:02:70
inet addr:192.168.11.116 Bcast:192.168.11.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:8020 errors:0 dropped:0 overruns:0 frame:0
TX packets:5167 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:6536956 (6.2 MiB) TX bytes:518589 (506.4 KiB)
But I cannot reach the device on eth0 interface.
dmesg:
[ 1.201123] meson8b-dwmac c9410000.ethernet: IRQ eth_wake_irq not found
[ 1.201150] meson8b-dwmac c9410000.ethernet: IRQ eth_lpi not found
[ 1.201355] meson8b-dwmac c9410000.ethernet: PTP uses main clock
[ 1.203409] meson8b-dwmac c9410000.ethernet: User ID: 0x11, Synopsys ID: 0x37
[ 1.203445] meson8b-dwmac c9410000.ethernet: DWMAC1000
[ 1.203457] meson8b-dwmac c9410000.ethernet: DMA HW capability register supported
[ 1.203468] meson8b-dwmac c9410000.ethernet: RX Checksum Offload Engine supported
[ 1.203478] meson8b-dwmac c9410000.ethernet: COE Type 2
[ 1.203488] meson8b-dwmac c9410000.ethernet: TX Checksum insertion supported
[ 1.203497] meson8b-dwmac c9410000.ethernet: Wake-Up On Lan supported
[ 1.203658] meson8b-dwmac c9410000.ethernet: Normal descriptors
[ 1.203669] meson8b-dwmac c9410000.ethernet: Ring mode enabled
[ 1.203678] meson8b-dwmac c9410000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[ 13.509227] meson8b-dwmac c9410000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
[ 13.583123] meson8b-dwmac c9410000.ethernet eth0: PHY [mdio_mux-0.e40908ff:08] driver [Meson GXL Internal PHY] (irq=32)
[ 13.591182] meson8b-dwmac c9410000.ethernet eth0: No Safety Features support found
[ 13.591217] meson8b-dwmac c9410000.ethernet eth0: PTP not supported by HW
[ 13.606383] meson8b-dwmac c9410000.ethernet eth0: configuring for phy/rmii link mode
[ 898.441954] meson8b-dwmac c9410000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
[ 898.505244] meson8b-dwmac c9410000.ethernet eth0: PHY [mdio_mux-0.e40908ff:08] driver [Meson GXL Internal PHY] (irq=32)
[ 898.515978] meson8b-dwmac c9410000.ethernet eth0: No Safety Features support found
[ 898.516012] meson8b-dwmac c9410000.ethernet eth0: PTP not supported by HW
[ 898.516034] meson8b-dwmac c9410000.ethernet eth0: configuring for phy/rmii link mode
[ 2406.461304] meson8b-dwmac c9410000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
[ 2406.524810] meson8b-dwmac c9410000.ethernet eth0: PHY [mdio_mux-0.e40908ff:08] driver [Meson GXL Internal PHY] (irq=32)
[ 2406.535492] meson8b-dwmac c9410000.ethernet eth0: No Safety Features support found
[ 2406.535523] meson8b-dwmac c9410000.ethernet eth0: PTP not supported by HW
[ 2406.535544] meson8b-dwmac c9410000.ethernet eth0: configuring for phy/rmii link mode
[ 2508.750603] meson8b-dwmac c9410000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
[ 2508.787470] meson8b-dwmac c9410000.ethernet eth0: PHY [mdio_mux-0.e40908ff:08] driver [Meson GXL Internal PHY] (irq=32)
[ 2508.798594] meson8b-dwmac c9410000.ethernet eth0: No Safety Features support found
[ 2508.798644] meson8b-dwmac c9410000.ethernet eth0: PTP not supported by HW
[ 2508.798683] meson8b-dwmac c9410000.ethernet eth0: configuring for phy/rmii link mode
[ 2926.406615] meson8b-dwmac c9410000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
[ 2926.478164] meson8b-dwmac c9410000.ethernet eth0: PHY [mdio_mux-0.e40908ff:08] driver [Meson GXL Internal PHY] (irq=32)
[ 2926.488904] meson8b-dwmac c9410000.ethernet eth0: No Safety Features support found
[ 2926.488936] meson8b-dwmac c9410000.ethernet eth0: PTP not supported by HW
[ 2926.488955] meson8b-dwmac c9410000.ethernet eth0: configuring for phy/rmii link mode
netstat:
netstat -ntpl
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:5355 0.0.0.0:* LISTEN 469/wsdd2
tcp 0 0 0.0.0.0:5355 0.0.0.0:* LISTEN 469/wsdd2
tcp 0 0 0.0.0.0:3702 0.0.0.0:* LISTEN 469/wsdd2
tcp 0 0 0.0.0.0:3702 0.0.0.0:* LISTEN 469/wsdd2
tcp 0 0 127.0.0.1:52103 0.0.0.0:* LISTEN 1157/kodi.bin
tcp 0 0 127.0.0.1:39663 0.0.0.0:* LISTEN 1157/kodi.bin
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 1/systemd
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1982/sshd -D [liste
tcp 0 0 0.0.0.0:139 0.0.0.0:* LISTEN 962/smbd
tcp 0 0 0.0.0.0:445 0.0.0.0:* LISTEN 962/smbd
tcp 0 0 127.0.0.1:57012 0.0.0.0:* LISTEN 1157/kodi.bin
tcp 0 0 :::111 :::* LISTEN 1/systemd
tcp 0 0 :::22 :::* LISTEN 1982/sshd -D [liste
tcp 0 0 :::139 :::* LISTEN 962/smbd
tcp 0 0 :::445 :::* LISTEN 962/smbd
From router side it seems connected:
LAN 2
1000Mbps
Full Duplex
Do you have idea what I do wrong?