You are not logged in.

#1 2009-08-20 12:34:22

tealson
Member
Registered: 2007-06-14
Posts: 54

solved / Intel Wlan recognized as eth1

Hello forum,

my PRO/Wireless 2915ABG Mini-PCI Adapter should work with the ipw2200 driver. I installed the firmware as told in the wiki, loaded the modules and hoped to see my wlan0 device, but it is recognized as eth1 not wlan0. I do not know if its a real problem, but wicd does not detect the device.
iwconfig output:

lo        no wireless extensions.

eth0      no wireless extensions.

eth1      unassociated  ESSID:off/any  
          Mode:Managed  Channel=0  Access Point: Not-Associated   
          Bit Rate:0 kb/s   Tx-Power=20 dBm   Sensitivity=8/0  
          Retry limit:7   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

Part of my rc.conf:

#Static IP example
eth0="eth0 192.168.178.50 netmask 255.255.255.0 broadcast 192.168.178.255"
#eth0="dhcp"
eth1="dhcp"
wlan0="dhcp"
INTERFACES=(!eth0 !wlan0 !eth1)

Any ideas? When I connect my old rt73 usb wlan stick, it is recognized and I can connect through wicd without any problems! Should work with the intel card also shouldn"t it?
-teal

EDIT: solved, simply hat to add eth1 as a wireless device in wicd preferences. Otherwise it does not check ETH devices for wireless extension.

Last edited by tealson (2009-08-20 13:12:47)

Offline

#2 2009-08-20 14:51:19

brazzmonkey
Member
From: between keyboard and chair
Registered: 2006-03-16
Posts: 818

Re: solved / Intel Wlan recognized as eth1

Alternatively, when using several NIC I think you can specify their names in /etc/modprobe.d/modprobe.conf, with something that looks like the following :

alias wlan0 ipw2200

what goes up must come down

Offline

#3 2009-08-20 16:21:40

Profjim
Member
From: NYC
Registered: 2008-03-24
Posts: 658

Re: solved / Intel Wlan recognized as eth1

Yes, there are ways to change what name the device announces itself under, but usually there's no problem letting itself name itself as it likes. Just so long as it's consistent...

Offline

#4 2009-12-13 19:00:48

lio
Member
From: Montréal, Canada
Registered: 2009-09-13
Posts: 52

Re: solved / Intel Wlan recognized as eth1

brazzmonkey wrote:

Alternatively, when using several NIC I think you can specify their names in /etc/modprobe.d/modprobe.conf, with something that looks like the following :

alias wlan0 ipw2200

is that the best way of doing this ?
im running into the same issue of wifi interface given a ethX name with ipw2200. What is problematic though, is that if im plugged with wire when i boot, the wired interface will be eth0..but if im not plugged-in, the wifi interface will be eth0. it is very annonying when trying to script stuff.

I have seen a wiki entry suggesting to do a rule in /etc/udev/rules.d for network naming but it does not work.
I also tried to add my wired and wifi modules to /etc/rc.conf MODULES array in the good order, but it was not stabilizing anything.

if theres not a good definitive way to rename the wifi interface, is it possible to have it use atleast always the same ethX number ?

thanks all for your help

edit:
I found somekind of a workaround to make it stay in the same order, using the INTERFACES array in /etc/rc.conf. It seems to work but i noticed that depending if I let the network deamon start in background or not, it will still change the loading order.

Last edited by lio (2009-12-13 20:47:50)

Offline

#5 2010-09-09 07:46:26

bluemonk
Member
Registered: 2010-09-09
Posts: 2

Re: solved / Intel Wlan recognized as eth1

Hello,

I face the same problem, the wired and wifi interfaces switch between eth0 and eth1, and I have to manually change the interfaces with wicd in order to connect.

lio wrote:

edit:
I found somekind of a workaround to make it stay in the same order, using the INTERFACES array in /etc/rc.conf. It seems to work but i noticed that depending if I let the network deamon start in background or not, it will still change the loading order.

It would be good to know how this was done.

Thanks!

Offline

#6 2010-09-09 08:52:41

Gusar
Member
Registered: 2009-08-25
Posts: 3,605

Re: solved / Intel Wlan recognized as eth1

Old thread, but there's no solution in it, and I do have one - use ifrename. First, add this to /etc/iftab:

wlan* driver ipw2200

Then in /etc/modprobe.d/modprobe.conf:

install ipw2200 /sbin/modprobe --ignore-install ipw2200; /usr/sbin/ifrename

Offline

#7 2010-09-10 07:49:34

bluemonk
Member
Registered: 2010-09-09
Posts: 2

Re: solved / Intel Wlan recognized as eth1

Gusar wrote:

Old thread, but there's no solution in it, and I do have one - use ifrename. First, add this to /etc/iftab:

wlan* driver ipw2200

Then in /etc/modprobe.d/modprobe.conf:

install ipw2200 /sbin/modprobe --ignore-install ipw2200; /usr/sbin/ifrename

Thanks a lot! It worked, wireless is wlan0 now!

Offline

Board footer

Powered by FluxBB