Re: [ILUG] Making a device come up as wlan0 instead of eth0

From: kevin lyda (kevin+dated+1033672975.09bdb4 at domain ie.suberic.net)
Date: Sat 28 Sep 2002 - 20:23:03 IST


On Sat, Sep 28, 2002 at 07:37:53PM +0100, Greg Farrel wrote:
> I already know how to configure the devices. But from the pcmcia page,
> cardmgr has 5 classes, and assigns a device name depending on that class.
> There's no config option to change the device name. I've tried greping
> the source code for where it defines it but can't find it, will look more
> tho.

wireless devices run the /etc/pcmcia/wireless and
/etc/pcmcia/wireless.opts scripts. in my current system i'm using version
3.1.27 of the pcmcia-cs drivers, i've seen this in other versions however.

use those scripts to do wireless specific things. you can also look in
/proc/net/wireless for a list of wireless devices.

i think depending on driver names is unwise - particularly since most
wireless cards i've seen come up as ethN, but a few have come up as
wlanN an wvlanN.

kevin

-- 
kevin at domain ie.suberic.net          "How do we know Saddam has weapons of mass
fork()'ed on 37058400          destruction?  We looked at the receipt."
meatspace place: home                                    --Bill Hicks
http://ie.suberic.net/~kevin


This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:19:08 GMT