LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Wireless Networking (http://www.linuxquestions.org/questions/linux-wireless-networking-41/)
-   -   changing alias of wifi card (http://www.linuxquestions.org/questions/linux-wireless-networking-41/changing-alias-of-wifi-card-369928/)

darreng23 10-05-2005 06:20 AM

changing alias of wifi card
 
I have just installed an orinocco wifi card that uses the madwifi atheros driver. Everything is working fine. What i want to find out is how to change the alias of the card. When i ifconfig the card it comes out as 'ath0', how do i go about changing this to 'eth0'. Preferably making this a permanent change by editing a config file, my distribution is Slackware just in case i get an answer that may be incompatible with this distribution. Thanks.

Looking_Lost 10-05-2005 05:36 PM

Using slackware 10.2 kernel 2.6.13.3

The really,really simple way I do it is add a line to

/etc/udev/rules.d/udev.rules

like so:

KERNEL="ath0", NAME="eth1"

Then I use the wireless card like

ifconfig eth1 192.168.1.101

and so on, I have to bring it up manually as I haven't bothered looking into it any further as I am quite happy to ifconfig it up from command line.

darreng23 10-06-2005 06:56 AM

Thanks that seemed to do the trick, thanks very much.


All times are GMT -5. The time now is 09:47 PM.