LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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, 07: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, 08:05 AM   #2
phil.d.g
Senior Member
 
Registered: Oct 2004
Posts: 1,272

Rep: Reputation: 154Reputation: 154
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, 08: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, 08:40 AM   #4
phil.d.g
Senior Member
 
Registered: Oct 2004
Posts: 1,272

Rep: Reputation: 154Reputation: 154
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, 09: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 10:25 AM.
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:31 PM.

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
Open Source Consulting | Domain Registration