[eepro100] Multiple eepro100 cards: specific order

Ben Greear greearb@candelatech.com
Thu, 14 Jun 2001 14:01:48 -0700


Michael McConnell wrote:
> 
> On Thu, 14 Jun 2001, Ben Greear wrote:
> 
> > rjd@xyzzy.clara.co.uk wrote:
> >
> > > Better yet fix the dumb software that has a dependancy on a particular
> > > interface mapping to eth0 :-)
> >
> > You can re-name an interface however you choose in user-space.
> >
> > Doing this automatically might be difficult, but you could always
> > go by the ethernet MAC or something like that to determine which
> > device should be called eth0.
> 
> I'm sorry if I'm sounding really dense here... but how do I do this? :)

Heh, I'm not exactly sure, but there is an IOCTL call in the kernel
that seems like it will work with all interfaces.  I bet that the
'ip' command can do it, and maybe ifconfig too.  I'd look at their
man pages and/or online docs.  You could also ask on the net-dev kernel
list, someone there probably wrote it :)

Ben

-- 
Ben Greear <greearb@candelatech.com>          <Ben_Greear@excite.com>
President of Candela Technologies Inc      http://www.candelatech.com
ScryMUD:  http://scry.wanfear.com     http://scry.wanfear.com/~greear