Olimex Support Forum

OLinuXino Android / Linux boards and System On Modules => A10 => Topic started by: charlieholimex on May 26, 2014, 05:35:05 AM

Title: usb ethernet adapter interface not coming up
Post by: charlieholimex on May 26, 2014, 05:35:05 AM
Using the Debian image, when I plug in my USB Ethernet adapter, I get a new interface eth2.

Now, I want that interface have a static IP address when I plug in the adapter, so I added to /etc/network/interfaces:

auto eth2
allow-hotplug eth2
iface eth2 inet static
address 10.98.98.2

When I plug it the adapter, the interface appears, but has no address.

The only way to make the interface pick up its address is to restart /etc/init.d/networking

How can I set this up so that when I plug in the adapter, the interface comes up with the desired static address?
Title: Re: usb ethernet adapter interface not coming up
Post by: MBR on May 28, 2014, 09:54:05 PM
If you log in and do (as root) ifdown eth2 and ifup eth2 again, does the interface go up? And is the udev running?