Page 1 of 1

USB Ethernet adapters

Posted: Sat Mar 31, 2018 4:53 pm
by Crady
Hi, I picked up a Zettaguard USB 2.0 to Gigabit Ethernet adapter to get a little more throughput from my RPi3 B+ and while it works brilliantly as a plug-and-play device I need to be able to set a static IP for it (the Pi is my PLEX server) and I can't seem to locate any docs on how to do that

Thanks!

Re: USB Ethernet adapters

Posted: Fri Apr 20, 2018 9:34 pm
by Ronaldlees
Welcome to the RPi forums!

It should be the same as with any other ethernet adapter, i.e. something like:

Code: Select all

Note that the Pi's built-in adapter is usually ue0 (usb ethernet adapter 0). So for a temporary command line setup,
maybe you could use:

ifconfig ue1 inet 192.168.1.16 netmask 255.255.255.0 broadcast 255.255.255.0

For a permanent setting, use your /etc/network/interfaces file, and make the static entry there (different syntax than the command line above). I think this other forum post saves me some typing:

viewtopic.php?t=23127

This all works fine on my Pi2. Probably the Pi3 is the same.