Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] iwl6050: net.wlan0 doesn't exist?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
musasabi
Tux's lil' helper
Tux's lil' helper


Joined: 09 Sep 2005
Posts: 137
Location: Chicago, IL, USA

PostPosted: Wed Mar 23, 2011 1:05 am    Post subject: [SOLVED] iwl6050: net.wlan0 doesn't exist? Reply with quote

so, installing gentoo on a brand new Asus U52F. all's well thus far aside from wifi (of course).

from the kernel:
Code:
CONFIG_IWLWIFI=m
CONFIG_IWLWIFI_DEBUG=y
CONFIG_IWLWIFI_DEVICE_TRACING=y
CONFIG_IWLAGN=m
CONFIG_IWL4965=y
CONFIG_IWL5000=y
CONFIG_IWL3945=m


from /etc/conf.d/net
Code:
config_eth0=("dhcp")
modules=("wpa_supplicant")
wpa_supplicant_wlan0("-Dwext")
config_wlan0=("dhcp")


wpa_supplicant.conf is straight out of the gentoo handbook.

lspci:
Code:
02:00.0 Network controller: Intel Corporation WiMAX/WiFi Link 6050 Series (rev 5f)


i've got net-wireless/iwl6050-ucode-41.28.5.1 installed.

lsmod:
Code:
iwlagn               176604   0
iwlcore               118889   1 iwlagn


and then there's no /etc/init.d/net.wlan0 by default. i created a symlink to net.lo. then, when i try to run it (with everything as i documented above), i get this:

Code:
network interface wlan0 does not exist
Please verify hardware or kernel module (driver)


now, as far as i can tell, iwlagn + the 6050 microcode is what i need for the kernel driver to work, right? and iwlagn is loaded, but not being used by anyone. so... what's the deal?


Last edited by musasabi on Wed Mar 23, 2011 2:38 am; edited 1 time in total
Back to top
View user's profile Send private message
BradN
Advocate
Advocate


Joined: 19 Apr 2002
Posts: 2391
Location: Wisconsin (USA)

PostPosted: Wed Mar 23, 2011 1:20 am    Post subject: Reply with quote

Check hardware wireless switch ;) If I remember, on my intel wireless, the device won't show up in ifconfig -a if the switch is off.
Back to top
View user's profile Send private message
musasabi
Tux's lil' helper
Tux's lil' helper


Joined: 09 Sep 2005
Posts: 137
Location: Chicago, IL, USA

PostPosted: Wed Mar 23, 2011 2:09 am    Post subject: Reply with quote

checked, both the physical switch and the silly keyboard one i'm sure i'll have to try harder to get working later. ;)

also, the RF subsystem switch option is enabled in the kernel.

ifconfig -a puts out eth0, lo, and sit0 only. =\

EDIT: fixed it. haha. so, as of kernel 2.6.36-r5, the iwlagn drivers require iwl6050 microcode "v4". however, since both v4 and v5 are masked in portage, unmasking simply "iwl6050" will result in portage installing v5. the iwlagn driver will look for the firmware, not find v4, and fail to initialize.

so the solution is:
Code:
emerge -v =iwl6050-ucode-9.201.4.1

and then reload the iwlagn module. it creates wlan0 and life is happy.

so, for you seniors and such, should i file this as a bug? and if so, where? i've never filed a bug before, so i figure i'd ask before crying wolf. ;)
Back to top
View user's profile Send private message
BradN
Advocate
Advocate


Joined: 19 Apr 2002
Posts: 2391
Location: Wisconsin (USA)

PostPosted: Wed Mar 23, 2011 2:16 am    Post subject: Reply with quote

I suppose if these versions are not in any way interchangeable, they should be different packages (ie, iwl6050-v4 and -v5) with ebuild descriptions describing supported hardware. Or at the very least a warning should pop out with explanation when you emerge any of them.

Note to self... I'll have to remember this if I deal with other intel wireless cards!

I'd go ahead and report a bug - bugs.gentoo.org is the place for that. This sounds like a trap others would fall into, and gentoo has plenty of those even if we take this one away.
Back to top
View user's profile Send private message
musasabi
Tux's lil' helper
Tux's lil' helper


Joined: 09 Sep 2005
Posts: 137
Location: Chicago, IL, USA

PostPosted: Wed Mar 23, 2011 2:49 am    Post subject: Reply with quote

yeah, i agree. i've been using gentoo for at least seven years now, on and off. of course it's always a learning experience every time you put it on a new box, but i had hoped i'd at least have wifi figured out by now. =)

but yeah. you enable the kernel module, you unmask the microcode and emerge it, and you've got a version of the microcode that is incompatible with the kernel module according to dmesg. i _had_ done everything right, except know ahead of time which version i needed, which isn't the user's responsibility, its portage's.
Back to top
View user's profile Send private message
musasabi
Tux's lil' helper
Tux's lil' helper


Joined: 09 Sep 2005
Posts: 137
Location: Chicago, IL, USA

PostPosted: Wed Mar 23, 2011 2:58 am    Post subject: Reply with quote

followup - go figure. 2.6.36-r6 has the patch, but is masked also. so, using to the current stable release of the kernel will cause the bug. haha. alas. =)

https://bugs.gentoo.org/show_bug.cgi?id=349685#c2 for reference.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum