(20th Aug, 2016 09:03 PM)Nachteule Wrote: [ -> ]@'rikardo1979
(20th Aug, 2016 06:06 PM) Wrote: [ -> ]Im not sure why it use 2 instead of 1 (or any other number?) but this works for me
(maybe our clever developers can answer this? )
Please have a look into the file /etc/udev/rules.d/70-persistent-net.rules
Probably your external adapter is listed as eth2
thx for reply here m8
I have checked and yes, it is as
eth2 where
eth1 is something else, which I have no idea what that might be as I have nothing else connected to RPi apart from power cable
Code:
# USB device 0x:0x (smsc95xx)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="b8:27:eb:97:ee:92", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
# Unknown net device (/devices/platform/soc/3f300000.mmc/mmc_host/mmc1/mmc1:0001/mmc1:0001:1/net/wlan0) (brcmfmac_sdio)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="b8:27:eb:c2:bb:c7", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan0"
# USB device 0x:0x (smsc95xx)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="b8:27:eb:92:ea:43", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"
# Unknown net device (/devices/platform/soc/3f300000.mmc/mmc_host/mmc1/mmc1:0001/mmc1:0001:1/net/wlan0) (brcmfmac_sdio)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="b8:27:eb:c7:bf:16", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan1"
# USB device 0x:0x (ax88179_178a)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="80:1f:02:75:d8:dd", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth2"
But the question is why is it not working automatically?
I mean you plug your USB LAN adaptor and than you head over to XBian config from within the Kodi menu
It gives you the option under System/Network to switch between eth0, eth1, eth2...
Than when I have tried select eth2 which was showing status "DOWN" and when I have tried exit the menu there was only an error message at the bottom
Yeah, I am sorry but I did not have an debuging on so I could not checked the logs
Question is, why it does not work as on other systems, just plug and play? I mean is easy to manually edit these files and make it working, if even I could do it
But it would be nice if it just works