LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 03-16-2005, 09:33 PM   #1
Gibsonist
Member
 
Registered: Mar 2004
Location: Meersburg (GER)
Distribution: Cygwin,RH 7.2 7.3, SuSe 6.4 8.2 9.1,TinyLinux, Debian Sarge, Knoppix 3.*, Knoppicilin, Knoppix STD
Posts: 191

Rep: Reputation: 30
Interface naming


Hi
I installed a "old PCI wireless card" (Netgear MA311) on my server to monitor my own wlan
I use the orinoco drivers and it works fine, BUT

The thing bothering me is that it come up as eth1

is there anyway to rename the interface to something like wlan0 or so as I would like to keep my wired and wireless conns separated clearly
 
Old 03-16-2005, 10:12 PM   #2
Matir
Moderator
 
Registered: Nov 2004
Location: Kennesaw, GA
Distribution: Ubuntu
Posts: 8,502

Rep: Reputation: 110Reputation: 110
Most likely, this would require some sort of driver hack. I don't know exactly what part to point you to, sorry.
 
Old 03-16-2005, 10:25 PM   #3
Gibsonist
Member
 
Registered: Mar 2004
Location: Meersburg (GER)
Distribution: Cygwin,RH 7.2 7.3, SuSe 6.4 8.2 9.1,TinyLinux, Debian Sarge, Knoppix 3.*, Knoppicilin, Knoppix STD
Posts: 191

Original Poster
Rep: Reputation: 30
i heard there was a way of "aliasing" interface names but the person couldnt help me further.
 
Old 03-16-2005, 10:49 PM   #4
Matir
Moderator
 
Registered: Nov 2004
Location: Kennesaw, GA
Distribution: Ubuntu
Posts: 8,502

Rep: Reputation: 110Reputation: 110
I'm not sure about aliasing interfaces. Perhaps there's a way, but I've not heard of it. Even then you'd have more than one interface name, which, I would think, would make it even harder to keep them straight.

Last edited by Matir; 03-16-2005 at 10:50 PM.
 
Old 03-16-2005, 10:54 PM   #5
Gibsonist
Member
 
Registered: Mar 2004
Location: Meersburg (GER)
Distribution: Cygwin,RH 7.2 7.3, SuSe 6.4 8.2 9.1,TinyLinux, Debian Sarge, Knoppix 3.*, Knoppicilin, Knoppix STD
Posts: 191

Original Poster
Rep: Reputation: 30
Also true - is a pain in the backside.
So i belief to let it be would be the most sensible solution
 
Old 03-16-2005, 11:12 PM   #6
Matir
Moderator
 
Registered: Nov 2004
Location: Kennesaw, GA
Distribution: Ubuntu
Posts: 8,502

Rep: Reputation: 110Reputation: 110
That is certainly an option. It would be interesting to modify the ifconfig (and related) userspace tools to be able to assign a "Nickname" to interfaces: they would still be properly known as lo, eth0, wlan0, whatever, but in ifconfig we could see "Nickname: Intel e1000 Gigabit". I think it would be relatively trivial to perform this. I suppose a bit of a kernel mod would be needed, to store the information. ifconfig could have "ifconfig eth0 nick 'nickname'" or similar.
 
Old 03-16-2005, 11:25 PM   #7
Gibsonist
Member
 
Registered: Mar 2004
Location: Meersburg (GER)
Distribution: Cygwin,RH 7.2 7.3, SuSe 6.4 8.2 9.1,TinyLinux, Debian Sarge, Knoppix 3.*, Knoppicilin, Knoppix STD
Posts: 191

Original Poster
Rep: Reputation: 30
would be an idea
or simply have a stupid file in /etc similar to a hostfile perhaps?

only prblm is I'm not a C(++) programmer so it is bit out of my reach
but it would be interesting as you clearly stated
 
  


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
Song Naming Boffy Linux - Software 4 09-28-2004 03:18 PM
mail server the naming naming convention problem kashan Linux - Newbie 0 07-16-2004 02:08 PM
Reference naming. liguorir Linux - Software 1 06-08-2004 10:36 AM
Naming conventions ??? bigjohn Linux - Newbie 1 12-07-2003 10:25 AM
kernel naming thanko Linux - General 4 04-25-2002 02:59 PM


All times are GMT -5. The time now is 06:19 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
Open Source Consulting | Domain Registration