On Fri, 7 Feb 2003 [EMAIL PROTECTED] wrote:
> Subject: Re: [linux-usb-devel] Feature for kaweth.c: setting the device name
> From:Oliver Kurth <[EMAIL PROTECTED]>
..
> > > SIOCSIFNAME handles this generically in the network core
> >=20
> > Very well, therefore I consider this case closed.
> 
> Sorry, not yet for me.
> 
> I can do the SIOCSIFNAME only if the net device is already there. What
> I want is that I give the kaweth device eg. the name usb0 (next one usb1
> and so on), my wireless orinoco eg. wlan0 and so on. At the moment,
> the names depend on the order I plug them in.

Yes, as it should.

> But I want to know which sort of device I
> have, so that I can configure them automatically using hotplug and
> ifupdown (from Debian).

This has come up many times before.
Ethernet adapters have unique station addresses.  If you need a specific
configuration for a NIC, key off of the station address instead of the
name.  While most distributions only have a mechanism based on
the interface name, that's not the only way to do it.

> With a module parameter I could achieve this with either configuring it
> in /etc/modules.conf or loading the module(s) on boot with parameters.

Down this path lay...
And what do you do with a name conflict?

-- 
Donald Becker                           [EMAIL PROTECTED]
Scyld Computing Corporation             http://www.scyld.com
410 Severn Ave. Suite 210               Scyld Beowulf cluster system
Annapolis MD 21403                      410-990-9993



-------------------------------------------------------
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