Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.hardware > #1621

Re: USB Network dongle, exact copy

From Pascal Hambourg <boite-a-spam@plouf.fr.eu.org>
Newsgroups comp.os.linux.hardware
Subject Re: USB Network dongle, exact copy
Date 2013-02-02 12:11 +0100
Organization Plouf !
Message-ID <keis9c$rl0$1@saria.nerim.net> (permalink)
References <510bb446@news.synserver.de>

Show all headers | View raw


Hello,

f0o a écrit :
> 
> I've recently bought 2 USB wired Network dongles. Both have 
> the same MAC, Serial & DeviceNr. Whenever I plug em in, one 
> (the latter one on the BUS) gets to ethX and the other one to 
> renameX.
> 
> I generally dont mind this as I can rename them via iproute2 
> and also change thier MACs. But I cant seem to 'guess' a 
> propper way to distinguishing them apart from an `ip link ls` 
> and grep&tail for the last ethX aswell as for the renameX to 
> get to them.
> 
> Is there a general way to map Network-Interfaces to BUS-IDs?

I have done this with two PCI network interfaces on a Sun Ultra
workstation, by modifying the udev rules to take the hardware path into
account. One funny thing about these Sun machines is that all Sun
network interfaces (HME) have the same MAC address (the openfirmware has
an option to disable this feature, but that would have been less fun).
So I guess it is possible with USB devices too.

If you insist I will boot this station and retrieve what I did exactly.

Back to comp.os.linux.hardware | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

USB Network dongle, exact copy f0o <f0o@devilcode.org> - 2013-02-01 13:23 +0100
  Re: USB Network dongle, exact copy Richard Kettlewell <rjk@greenend.org.uk> - 2013-02-01 12:36 +0000
    Re: USB Network dongle, exact copy Allodoxaphobia <knock_yourself_out@example.net> - 2013-02-01 15:34 +0000
      Re: USB Network dongle, exact copy Richard Kettlewell <rjk@greenend.org.uk> - 2013-02-01 16:50 +0000
  Re: USB Network dongle, exact copy Pascal Hambourg <boite-a-spam@plouf.fr.eu.org> - 2013-02-02 12:11 +0100
    Re: USB Network dongle, exact copy Pascal Hambourg <boite-a-spam@plouf.fr.eu.org> - 2013-02-02 16:12 +0100

csiph-web