LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices

Reply
 
Search this Thread
Old 10-05-2005, 05:20 AM   #1
darreng23
LQ Newbie
 
Registered: Feb 2004
Location: Wales
Distribution: Slackware 10/10.1
Posts: 24

Rep: Reputation: 15
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.
 
Old 10-05-2005, 04:36 PM   #2
Looking_Lost
Senior Member
 
Registered: Apr 2003
Location: Eire
Distribution: Slackware 12.0, OpenSuse 10.3
Posts: 1,120

Rep: Reputation: 45
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.

Last edited by Looking_Lost; 10-05-2005 at 04:37 PM.
 
Old 10-06-2005, 05:56 AM   #3
darreng23
LQ Newbie
 
Registered: Feb 2004
Location: Wales
Distribution: Slackware 10/10.1
Posts: 24

Original Poster
Rep: Reputation: 15
Thanks that seemed to do the trick, thanks very much.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Looking for a WiFI card anubis26 Solaris / OpenSolaris 5 05-01-2007 08:55 AM
wifi card keeps changing channel monkeyman2000 Linux - Wireless Networking 1 11-16-2005 04:00 AM
wifi and changing networks yukaputzer Linux - Newbie 1 12-18-2003 04:23 PM
help - eth0 alias conflict with my USB-ethernet card darkelf Linux - Networking 1 11-05-2003 10:43 AM
alias sound-card-0 i810_audio liguorir Linux - Software 1 06-19-2003 02:38 PM


All times are GMT -5. The time now is 11:10 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration