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

From: Greg Farrel (greg at domain netsoc.tcd.ie)
Date: Sat 28 Sep 2002 - 19:38:02 IST


> i think you'll find that the pcmcia-cs scripts have the answers you
> need for how to configure the devices. in addition, look to the tool
> iwconfig for a way to detect wireless vs. wired cards.

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.

I can detect wireless cards with iwconfig, but it's just an ugly situation
if eth0, eth1 , eth2, eth3 are wireless and eth4 and eth5 wired. I've no
problems making the other 2 drivers I use come up as wlan0, just not the
pcmcia-cs created ones.

> i suspect that wireless cards will come up as ethN more often then not.
only with the pcmcia cards i've seen so far. Hostap and orinoco_pci can be
configured to anything you want by default are wlanN

it's not critical or anything, but it'd be much nicer to ensure that any
wireless device, whatever it's driver comes up as something other than
ethN
  Greg



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