piponito
Posts: 7
Joined: Tue Mar 03, 2015 3:21 am

editing /etc/network/interfaces for gigabit ethernet adapter

Sun Apr 05, 2015 10:46 pm

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.

User avatar
kusti8
Posts: 3439
Joined: Sat Dec 21, 2013 5:29 pm
Location: USA

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

Sun Apr 05, 2015 10:53 pm

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.
There are 10 types of people: those who understand binary and those who don't.

piponito
Posts: 7
Joined: Tue Mar 03, 2015 3:21 am

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

Sun Apr 05, 2015 11:07 pm

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.

User avatar
xoopha
Posts: 106
Joined: Mon Feb 09, 2015 9:52 pm

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

Sun Apr 05, 2015 11:11 pm

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/

User avatar
rpdom
Posts: 15912
Joined: Sun May 06, 2012 5:17 am
Location: Chelmsford, Essex, UK

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

Mon Apr 06, 2015 9:03 am

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.

piponito
Posts: 7
Joined: Tue Mar 03, 2015 3:21 am

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

Mon Apr 06, 2015 12:32 pm

Ok, thank you very much.

Return to “General discussion”