On Fri, Feb 07, 2003 at 09:49:52PM +0100, Oliver Neukum wrote:
> Am Freitag, 7. Februar 2003 14:52 schrieb Alan Cox:
> > On Fri, 2003-02-07 at 08:45, Oliver Kurth wrote:
> > > the names depend on the order I plug them in. If I plug in my orinoco
> > > first, it gets eth1, if I plug in the kaweth first, _it_ gets eth1, and
> > > the orinoco would get eth2. But I want to know which sort of device I
> > > have, so that I can configure them automatically using hotplug and
> > > ifupdown (from Debian). Naturally, kaweth and orinoco need different
> > > configurations. This cannot be achieved with changing the name when it
> > > is already given.
> >
> > ethtool and mac addresses should be more than sufficient (actually the
> > current Red Hat will bind names to mac addresses).
> 
> I tried actually doing this through the hotplugging system. I failed because
> I had no idea how to discover which interface to rename. Any ideas?

If you are using Debian: it should be possible somehow using
/etc/network/interfaces and its mapping and wildcard features. I will
try to figure out as soon as I have time (next week).

I have no choice... using the module params it would be much easier.

Greetings,
Oliver
-- 
An MTA for home users, notebooks and PDAs: http://masqmail.cx/masqmail/
A driver for Atmel at76c503 based WLAN Adapters: http://masqmail.cx/at76c503/


-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to