LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices

Reply
 
LinkBack Search this Thread
Old 08-18-2005, 01:38 PM   #1
zen0n
LQ Newbie
 
Registered: Jul 2004
Location: Winnipeg
Distribution: debian
Posts: 22

Rep: Reputation: 15
change ipw220 interface name from eth1 to wlan0


Nothing too critical but would like to change my wireless nic's interface from from eth1 to wlan0. It would just make things a bit more clear. I'm running debian testing right now.

Not sure if it's somthing thats coded in the driver or if it's a configurable attribute.

Ryan
 
Old 08-23-2005, 01:27 PM   #2
Half_Elf
Guru
 
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163

Rep: Reputation: 45
I believe this is coded in the driver, I doubt there is a way to change this, unless you want to code

Still, I'm not quite sure... maybe it's possible to create an alias or something like this.
 
Old 08-23-2005, 01:51 PM   #3
zen0n
LQ Newbie
 
Registered: Jul 2004
Location: Winnipeg
Distribution: debian
Posts: 22

Original Poster
Rep: Reputation: 15
I figured out a way to do this but just forgot to post the solution to my own post.

You need to install the net-tools package i believe and use the command nameif. Basically you create a file /etc/mactab with the first column the name you want the interface and the second the mac address of said interface. then bring down all interfaces and run /sbin/nameif. Now just reconfigure your network scripts and you should be able to bring up your new interface names.

Here is my mactab
Code:
eth0    00:12:79:XX:XX:XX
wlan0   00:0E:35:XX:XX:XX
if you want this to happen on every boot, just modify /etc/init.d/networking, in the start section before the interfaces are brought up just add /sbin/nameif and you should be ok.

Ryan
 
Old 08-23-2005, 01:55 PM   #4
Half_Elf
Guru
 
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163

Rep: Reputation: 45
Wonderful!

Really interesting, I'm going to use this trick as well
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
wlan0 appears as eth1 and can't get an ip kovermours Linux - Wireless Networking 7 09-13-2004 04:55 PM
wireless eth1 to wlan0? ferreter Fedora 0 09-11-2004 02:19 PM
ethernet bridge (wlan0 eth1) - canīt ping magicien Linux - Wireless Networking 0 07-05-2004 03:59 AM
how do i rename wlan0 to eth1 laclac01 Linux - Networking 2 06-10-2004 05:31 PM
Mandrake 9.2 can't get network running on eth0 or eth1 but can on wlan0 llindir Linux - Networking 2 03-20-2004 01:11 PM


All times are GMT -5. The time now is 07:49 PM.

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