USB Ethernet adapter names

Hi,

When adding USB Ethernet adapters to BBB, the adapters receive strange names i.e. rename3, rename5, etc. (instead of eth1, eth2). Is there any way to tell the kernel to configure these devices as ethX?

eth0 Link encap:Ethernet HWaddr f6:85:99:ec:44:c4

inet addr:192.168.83.48 Bcast:192.168.83.255 Mask:255.255.255.0

inet6 addr: fe80::f485:99ff:feec:44c4/64 Scope:Link

UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

RX packets:62647 errors:0 dropped:0 overruns:0 frame:0

TX packets:906 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:3847270 (3.8 MB) TX bytes:120798 (120.7 KB)

lo Link encap:Local Loopback

inet addr:127.0.0.1 Mask:255.0.0.0

inet6 addr: ::1/128 Scope:Host

UP LOOPBACK RUNNING MTU:65536 Metric:1

RX packets:0 errors:0 dropped:0 overruns:0 frame:0

TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:0

RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

rename3 Link encap:Ethernet HWaddr 2e:38:95:53:1b:4a

BROADCAST MULTICAST MTU:1500 Metric:1

RX packets:0 errors:0 dropped:0 overruns:0 frame:0

TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

rename5 Link encap:Ethernet HWaddr 00:50:b6:0c:d0:f3

BROADCAST MULTICAST MTU:1500 Metric:1

RX packets:0 errors:0 dropped:0 overruns:0 frame:0

TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

usb0 Link encap:Ethernet HWaddr 82:47:16:07:b4:39

BROADCAST MULTICAST MTU:1500 Metric:1

RX packets:0 errors:0 dropped:0 overruns:0 frame:0

TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

Thanks!

I'm just guessing, as you didn't specify what image you using.. But it
sorta looks like udev is tripping over my "eth0" by default rule.

So Just remove the line after "# BeagleBone: net device ()"
SUBSYSTEM=xyz line in:

/etc/udev/rules.d/70-persistent-net.rules

This udev rule was put in place to easily swap microSD cards with
different BeagleBone/BeagleBoneBlack boards to always get 'eth0' by
default.

Regards,

Robert,

I am using your latest published image (with 3.8.13-bone40 kernel). You are correct about the rule. When I removed it, the ethernet adapters are now named properly.

Thanks very much!