Page 1 of 1

editing /etc/network/interfaces for gigabit ethernet adapter

Posted: Sun Apr 05, 2015 10:46 pm
by piponito
I have planned to buy an USB gigabit ethernet adapter (model Trendnet TU3-ETG).

According to http://elinux.org/RPi_USB_Ethernet_adapters that model works well on a Raspberry Pi 2.

Can you tell how configure /etc/network/interfaces in order to work the new adapter?

Thank you.

Re: editing /etc/network/interfaces for gigabit ethernet ada

Posted: Sun Apr 05, 2015 10:53 pm
by kusti8
You're not going to get gigabit anyway because the raspberry pi only has USB 2.0 which then has a built in usb to Ethernet converter, so the on board Ethernet should be the fastest you can get.

Re: editing /etc/network/interfaces for gigabit ethernet ada

Posted: Sun Apr 05, 2015 11:07 pm
by piponito
Yes, I know I can't get gigabit speed. Just want to get a little more speed streaming 1:1 bluray rips.

By the way, do you know what lines I have to add in /etc/network/interfaces to make the adapter work?

Thanks.

Re: editing /etc/network/interfaces for gigabit ethernet ada

Posted: Sun Apr 05, 2015 11:11 pm
by xoopha
You can actually almost double the raw performance using a Gigabit Ethernet USB adapter versus the onboard one according to http://www.mikronauts.com/raspberry-pi/ ... -review/6/

Re: editing /etc/network/interfaces for gigabit ethernet ada

Posted: Mon Apr 06, 2015 9:03 am
by rpdom
Plug the adapter in and do /sbin/ifconfig -a to see what name it has been given. It will probably show up as eth1.

If you plan to use it instead of the built-in eth0, just change the eth0 entries to eth1 in /etc/network/interfaces.

You might get problems with the interfaces being detected in a different order if it is already plugged in at boot time, but you can create a udev rule to override that if it happens.

Re: editing /etc/network/interfaces for gigabit ethernet ada

Posted: Mon Apr 06, 2015 12:32 pm
by piponito
Ok, thank you very much.