[SOLVED] Belkin USB-wifi - Works in 2.6.37, Doesn't in 3.0.20 - Trying to figure out why
Linux - Wireless NetworkingThis forum is for the discussion of wireless networking in Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Belkin USB-wifi - Works in 2.6.37, Doesn't in 3.0.20 - Trying to figure out why
So I'm running Slack 13.37 atm, and my usb wifi adapter:
Bus 001 Device 007: ID 050d:845a Belkin Components F7D2101deSH [rtl8192su]
Is working fine, as you might guess since I'm able to post. But in my first attempt to compile a kernel, its proving to be a bit of a snagging point. I compiled 3.0.20, used my current config for oldconfig. I got a bootable kernel that seems to be mostly functional, which is pretty exciting! Buuuut I can't get online.
In the new kernel, ifconfig doesn't show my wlan0 interface at all
In both, lsmod shows
r8712u 167885 0
and
r8169 37529 0
one of which I believe is the correct module. Anyone have any suggestions on things to try? Anything else I should compare between the kernels besides lsmod and lsusb to get an idea of where its going wrong?
Looks like the correct module is missing in the kernel ! To compile a kernel isn't an trivial task can take several hours and it is easy to miss things. Linux does show w/e hardware you have but doesn't mean it have the modules.
If did you like to compile the kernel why not try to tweak it now!?! Learn about your hardware 1st and then set a kernel clean of any extra drivers/modules, actually there is a lot you can remove to reduce the size, to increase the speed and performance of your kernel, the more you fiddle with it the more you will know and the better it will be.
When you face things that you don't have a clue about and you feel scared to remove that what do you do? You leave it cos you don't know? Well you can search and ready about to find out if is vital for the kernel to work, it is really a good way to learn about the kernel compiling.
Here some results about the size in one of my machines:
Code:
-rw-r--r-- 1 root root 110903 Oct 3 09:07 config-2.6.32-5-486
-rw-r--r-- 1 root root 64761 Oct 28 21:24 config-3.0.4-uki.02
-rw-r--r-- 1 root root 61605 Oct 29 18:18 config-3.0.4-uki.03
drwxr-xr-x 3 root root 7168 Oct 29 19:01 grub
-rw-r--r-- 1 root root 2184623 Oct 27 13:43 initrd.img-2.6.32-5-486
-rw-r--r-- 1 root root 2193103 Oct 28 22:00 initrd.img-3.0.4-uki.02
-rw-r--r-- 1 root root 2168985 Oct 29 19:00 initrd.img-3.0.4-uki.03
drwx------ 2 root root 12288 Oct 27 13:30 lost+found
-rw-r--r-- 1 root root 1248081 Oct 3 09:07 System.map-2.6.32-5-486
-rw-r--r-- 1 root root 1034654 Oct 28 21:40 System.map-3.0.4-uki.02
-rw-r--r-- 1 root root 936553 Oct 29 18:32 System.map-3.0.4-uki.03
-rw-r--r-- 1 root root 2190368 Oct 3 09:06 vmlinuz-2.6.32-5-486
-rw-r--r-- 1 root root 1515472 Oct 28 21:40 vmlinuz-3.0.4-uki.02
-rw-r--r-- 1 root root 1244544 Oct 29 18:32 vmlinuz-3.0.4-uki.03
First of all, thanks for the links, I'm sure I'll recompile sooner or later to fix this, something else, or to try another kernel version and reading up on those is bound to be helpful.
However, before I try recompiling to address this specific issue I'd need to know what to change exactly. As far as I can tell, the current module to support the wifi card is: r8712u which is in the new kernel and appears to be loaded. What I'm curious about what specific things to look at for differences between the kernels that would impact the functioning of the module, or if its perhaps dependent on another module or daemon somewhere, then maybe someone has an idea where to look?
Ok i checked and the kernel module is correct for the rtl8192su, maybe something else under "Device Drivers --> Network Device Support --> Wireless Lan" is missing, also did you try ifconfig and could you post the output here between the [ code ] [ / code ] tags(without spaces) BBCodes, also the lsmod output and lets see what is going on. And if you can compare the output from both kernels that would be great.
Hmm.
After booting into the 3.0.20 kernel, ifconfig initially shows only the localhost interface.
If I do ifconfig eth0 up, the ethernet interface will from there show up in ifconfig. If I do "ifconfig wlan0" the interface info is outputted. If I do "ifconfig wlan0 up" however, I get a permission denied.
Hmm.
After booting into the 3.0.20 kernel, ifconfig initially shows only the localhost interface.
If I do ifconfig eth0 up, the ethernet interface will from there show up in ifconfig. If I do "ifconfig wlan0" the interface info is outputted. If I do "ifconfig wlan0 up" however, I get a permission denied.
Do as root, and if with ifconfig you can see the wlan0 then:
Code:
iwlist wlan0 scanning
Now if you get output that shows routers that is a good thing. Lets see.
Feb 11 14:17:57 MightyComputron kernel: [ 251.778073] libfcoe_device_notification: NETDEV_UNREGISTER wlan0
Feb 11 14:18:27 MightyComputron kernel: [ 281.841737] r8712u: module is from the staging directory, the quality is unknown, you have been warned.
Feb 11 14:18:27 MightyComputron kernel: [ 282.283975] r8712u: Unable to load firmware
Feb 11 14:18:27 MightyComputron kernel: [ 282.283977] r8712u: Install latest linux-firmware
Feb 11 14:18:30 MightyComputron dhcpcd[2398]: wlan0: up_interface: Operation not permitted
Feb 11 14:18:30 MightyComputron kernel: [ 285.352041] r8712u: Unable to load firmware
Feb 11 14:18:30 MightyComputron kernel: [ 285.352043] r8712u: Install latest linux-firmware
Feb 11 14:18:39 MightyComputron kernel: [ 294.518054] r8712u: Unable to load firmware
Feb 11 14:18:39 MightyComputron kernel: [ 294.518056] r8712u: Install latest linux-firmware
Feb 11 14:18:40 MightyComputron dhcpcd[2398]: timed out
But I'm not too sure why the new kernel (or the newer version of the module) has trouble loading the firmware, or how to address it. I tried recompiling the kernel with firmware blobs built into the binary but that didn't change anything
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.