LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-11-2006, 08:46 AM   #1
belkins
Member
 
Registered: Apr 2003
Posts: 60

Rep: Reputation: 15
Wireless interface confusion


I've noticed that when I use different wireless cards and issue the iwconfig command I either get eth0, eth1, etc... or wlan0, wlan1, etc... (at least what appear to be the most common) or sometimes a combination of both depending upon if I have more than one card inserted.

I'm guessing that ethx and wlanx are selected based upon the chipset/driver combination. Is there a way to convert the wireless interface from ethx to wlanx or vice versa by using different drivers?

I know with the Prism2/2.5/3 chipsets they default to wlan0 when the iwconfig command is issued since they use hostap drivers or wlan drivers.

I'm a little confused here is all and I would appreciate some clarification.

Thank you.
 
Old 04-11-2006, 09:05 AM   #2
phil.d.g
Senior Member
 
Registered: Oct 2004
Posts: 1,192

Rep: Reputation: 101Reputation: 101
You can use aliases.

In /etc/modprobe.conf you can set which card should be eth0, etc. For example in mine I have:
Code:
alias eth0 8139too
alias eth1 3c59x
 
Old 04-11-2006, 09:09 AM   #3
belkins
Member
 
Registered: Apr 2003
Posts: 60

Original Poster
Rep: Reputation: 15
Thank you for the reply.

If I understand correctly the labels eth0 and wlan0 are labels.

Am I correct in assuming that if I wanted to I could modify the modprobe.conf file and call my interface xyz0 if I so desired?
 
Old 04-11-2006, 09:40 AM   #4
phil.d.g
Senior Member
 
Registered: Oct 2004
Posts: 1,192

Rep: Reputation: 101Reputation: 101
I wouldn't like to say, I'm not 100% sure how it is implemented. Try it and see, if it doesn't work you can always undo your changes
 
Old 04-11-2006, 10:48 AM   #5
belkins
Member
 
Registered: Apr 2003
Posts: 60

Original Poster
Rep: Reputation: 15
Okay, I'll give it a try!

Thank you for your help.

I've been doing some more reading and it appears that for a device to show up as wlan0, wlan1, etc... that an additional package is required to be installed.

I gather that if a wireless NIC is installed that ethx is the default.

Is my assumption correct?

Last edited by belkins; 04-11-2006 at 11:25 AM.
 
  


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
getting applications to use wireless interface pafrica Linux - Wireless Networking 2 09-02-2005 08:28 AM
slk10.1: no wireless interface rgiggs Slackware 3 03-31-2005 06:29 AM
Setup Wireless Interface Gerardoj Slackware 2 01-23-2005 04:46 PM
Linux Wireless Networking Confusion redneon Linux - Wireless Networking 3 01-18-2004 03:39 PM
wireless router DHCP confusion yocompia Linux - Wireless Networking 1 07-25-2003 12:01 PM


All times are GMT -5. The time now is 05:13 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration