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.
|
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. |
Thanks that seemed to do the trick, thanks very much.
|
All times are GMT -5. The time now is 04:31 AM. |