Problem: Gigabit Lan adapter (USB3) doesn't work
|
20th Aug, 2016, 09:43 AM
Post: #1
|
|||
|
|||
Gigabit Lan adapter (USB3) doesn't work
Hello,
for better networkspeed i use a gigabit lan adapter (USB3) on my RPI2 (transfer speed about 18 mb/s). With Raspbian or OSMC the adapter works direktly after plugin, but i have problems with xbian. After plugin i can change the ethernet port in the xbian settings from eth0 to eth1, but the status of eth1 is alwasy down and i cant exess to my network wjth the adapter Does anyone know a solution for the problem? Greetings, |
|||
20th Aug, 2016, 06:06 PM
Post: #2
|
|||
|
|||
RE: Gigabit Lan adapter (USB3) doesn't work
try to login over SSH or if you have USB keyboard just exit Kodi from within power menu
Than once you in the terminal, just do Code: sudo nano /etc/network/interfaces when prompted for password type raspberry , default password Than look for following lines which has 0 as default Code: auto eth0 lo and change it to Code: auto eth2 lo 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? ) Once you edit the lines, press Ctr+X to exit. When prompted type Y and enter, which save the file Now just type Code: sudo reboot Please let us know if this helps ~~~~>>>Please always follow rules and read before you post<<<~~~~ |
|||
20th Aug, 2016, 08:59 PM
Post: #3
|
|||
|
|||
RE: Gigabit Lan adapter (USB3) doesn't work
@Harald654
I do not have an GBit USB adapter, having only an 100MBit one Before I test it, I have one question: Is the onboard Ethernet configured and is this link up? |
|||
20th Aug, 2016, 09:03 PM
Post: #4
|
|||
|
|||
RE: Gigabit Lan adapter (USB3) doesn't work
@'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 Please have a look into the file /etc/udev/rules.d/70-persistent-net.rules Probably your external adapter is listed as eth2 |
|||
20th Aug, 2016, 11:48 PM
(This post was last modified: 20th Aug, 2016 11:56 PM by rikardo1979.)
Post: #5
|
|||
|
|||
RE: Gigabit Lan adapter (USB3) doesn't work
(20th Aug, 2016 09:03 PM)Nachteule Wrote: @'rikardo1979 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) 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 ~~~~>>>Please always follow rules and read before you post<<<~~~~ |
|||
21st Aug, 2016, 11:08 PM
(This post was last modified: 21st Aug, 2016 11:09 PM by Nachteule.)
Post: #6
|
|||
|
|||
RE: Gigabit Lan adapter (USB3) doesn't work
Hey, what happened here?
My last posts were gone in this thread |
|||
21st Aug, 2016, 11:11 PM
Post: #7
|
|||
|
|||
RE: Gigabit Lan adapter (USB3) doesn't work
(20th Aug, 2016 11:48 PM)rikardo1979 Wrote: 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 Fixed this. Now all new network devices not already configured in /etc/network/interfaces are added by udev rule and helper script New package xbian-update (in staging repo) does this part |
|||
22nd Aug, 2016, 12:14 AM
Post: #8
|
|||
|
|||
RE: Gigabit Lan adapter (USB3) doesn't work
(21st Aug, 2016 11:08 PM)Nachteule Wrote: Hey, what happened here? not sure? I have not seen any replies other than those which are still here (21st Aug, 2016 11:11 PM)Nachteule Wrote:(20th Aug, 2016 11:48 PM)rikardo1979 Wrote: 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 nice one that was quick thx ~~~~>>>Please always follow rules and read before you post<<<~~~~ |
|||
22nd Aug, 2016, 02:25 AM
Post: #9
|
|||
|
|||
RE: Gigabit Lan adapter (USB3) doesn't work
I was replying your last post and was adding new post what i'm doing to solve this issue
|
|||
18th Sep, 2016, 12:41 AM
Post: #10
|
|||
|
|||
RE: Gigabit Lan adapter (USB3) doesn't work
sorry for my late answer!
Quote:Is the onboard Ethernet configured and is this link up?yes for testing i use now a fresh installation of Xbian (with noobs), now eth1 (GBit USB adapter) are showing as up in the XBian setting. but when I select eth1 nothing changes, and when i re-open the settings eth0 ist still set als network (for testing i habe both, eth0 and eth1 permanently connected by Lan). The Kodi log says: Code: 14:20:42 1011.348145 T:1744548784 NOTICE: XBian : XBian-config started If i change in the network settings the typ from THCP to statisitc (whether eth0 or eth1) i get an error massage. Kodi log: Code: 14:23:15 1164.310913 T:1744548784 NOTICE: XBian : XBian-config started Greeting, H. |
|||
18th Sep, 2016, 06:23 AM
Post: #11
|
|||
|
|||
RE: Gigabit Lan adapter (USB3) doesn't work
You can ignore those warnings, but
there are still issues in XBian-config: Network is not restarted after change of settings (code is there but is not executed), only settings in /etc/network/interfaces are written. Seems that this confuses XBian-config completely Have to investigate this issue next days. For the moment it is easier to modify settings directly in file /etc/network/interfaces and reboot Pi after changes has been done. |
|||
21st Sep, 2016, 06:13 AM
Post: #12
|
|||
|
|||
RE: Gigabit Lan adapter (USB3) doesn't work
@Harald654
(18th Sep, 2016 06:23 AM)Nachteule Wrote: You can ignore those warnings, but Fixed this, should work now. Package xbian-package-config-shell and xbian-package-config.xbmc have to be updated. FYI, do not set gateway IP on both network devices (this is not allowed). To omit gateway parameter, set this parameter to 0.0.0.0 |
|||
25th Oct, 2016, 05:51 AM
Post: #13
|
|||
|
|||
RE: Gigabit Lan adapter (USB3) doesn't work
hello Nachteile,
thank you for the fix. (great work, now it runs!) But unfortunately, i still have another request wich is also the reason why i wanted to use an external Gbit-Lan adapter at all. I use my RPi2 also as a network drive to access music/movies and save backups (via SMB). Since the Rpi2 with 100Mbit-Lan and USB2 speed is very limited, for me therefore counts every bit/s. With Raspbian and other distributions i always get a network speed of about 11-12MB/s (over SMB), with xbian however only 8-9MB/s. Because as i said for me every bit/s counts, i wanted to switch to a Gbit-lan adapter. Since everything runs over a single USB controller, i expected no huge speedup, but with Raspbian i reach a speed of 16 MB / s over SMB with the Adapter. With Xbian unfortunately i get only significantly lower speed of 11-12MB/s. My question is now, does you (or someone else) knows what the lower speeds with Xbian lie and is there a possibility to increase the network speed? (At least the same speed as with Raspbian should be possible i think?) Grettings, H. |
|||
25th Oct, 2016, 10:22 PM
Post: #14
|
|||
|
|||
RE: Gigabit Lan adapter (USB3) doesn't work
This is OT in this thread.
Please open new thread and give us a bit more information about your system environment Thank you |
|||
« Next Oldest | Next Newest »
|