LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Wireless Networking (http://www.linuxquestions.org/questions/linux-wireless-networking-41/)
-   -   wlan0 - no wireless extension? (http://www.linuxquestions.org/questions/linux-wireless-networking-41/wlan0-no-wireless-extension-907830/)

sensovision 10-12-2011 03:57 PM

wlan0 - no wireless extension?
 
my D-Link DWA-110 adapter seems to be recognized properly but iwconfig shows "wlan0 - no wireless extension" when I'm using custom compiled linux kernel 3.0.3.

The problem is a bit weird as if I boot using kernel from official repository, everything works flawlessly and I can control my adapter via iwconfig.

What may stop adapter from being recognized?

Custom kernel:
lsmod |grep rt
Quote:

rt73usb 21998 0
rt2x00usb 13419 1 rt73usb
rt2x00lib 29020 2 rt73usb,rt2x00usb
parport_pc 22036 0
parport 31254 3 parport_pc,ppdev,lp
crc_itu_t 12331 1 rt73usb
mac80211 137723 2 rt2x00usb,rt2x00lib
cfg80211 94427 2 rt2x00lib,mac80211
agpgart 27357 2 ttm,drm
usbcore 99912 11 rt73usb,rt2x00usb,usb_storage,usb_libusual,uas,usbhid,ohci_hcd,xhci_hcd,ehci_hcd
official kernel:
lsmod |grep rt
Quote:

parport_pc 22395 0
parport 31929 3 parport_pc,ppdev,lp
rt73usb 22334 0
crc_itu_t 12347 1 rt73usb
rt2x00usb 17684 1 rt73usb
rt2x00lib 37998 2 rt73usb,rt2x00usb
mac80211 182631 2 rt2x00usb,rt2x00lib
cfg80211 132564 2 rt2x00lib,mac80211
usbcore 124242 10 rt73usb,rt2x00usb,usbhid,usb_storage,uas,ohci_hcd,xhci_hcd,ehci_hcd
dmesg output:
Quote:

[37453.464153] usb 1-1: new high speed USB device number 13 using ehci_hcd
[37453.762650] usb 1-1: New USB device found, idVendor=07d1, idProduct=3c07
[37453.762660] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[37453.762667] usb 1-1: Product: 802.11 bg WLAN
[37453.762673] usb 1-1: Manufacturer: Ralink
[37454.026154] ieee80211 phy7: Selected rate control algorithm 'minstrel_ht'
[37454.027571] Registered led device: rt73usb-phy7::radio
[37454.027617] Registered led device: rt73usb-phy7::assoc
[37454.027661] Registered led device: rt73usb-phy7::quality

serafean 10-13-2011 06:00 AM

Hi,

Wireless extensions is being phased out progressively (drivers using the mac80211 stack) and has to be explicitly enabled at compilation time (Networking Support->Wireless->cfg80211 wireless extensions compatibility). The new tool to configure wireless devices is called "iw" example :
Code:

iw wlan0 scan
.

Serafean

sensovision 10-13-2011 08:44 AM

Hi Serafean, and thank you for help! You was correct after enabling wireless extensions compatibility everything worked like a charm and I'm writing this post though wireless connection now.
regarding iw command, I believe it's specific to Gentoo and some other distributions, in Debian I use iwlist wlan0 scan

serafean 10-14-2011 02:29 AM

Quote:

regarding iw command, I believe it's specific to Gentoo and some other distributions, in Debian I use iwlist wlan0 scan
Nope, not specific to gentoo :
Quote:

iw is a new nl80211 based CLI configuration utility for wireless devices. It supports almost all new drivers that have been added to the kernel recently.
from http://linuxwireless.org/en/users/Documentation/iw. Debian is just old :)

Serafean

sensovision 10-14-2011 02:46 AM

Quote:

Originally Posted by serafean (Post 4498172)
Debian is just old :)

I would call it conservative, anyway I'm not young either ;D

Thanks for link! I'll check it out to see if it's bring anything new and worth upgrading, comparing to wriless-tools on Debian.

serafean 10-14-2011 11:10 AM

Yes, sorry I didn't take the time to find the correct word for what I mean by "old". I conservatively upgrading seems better indeed, great for a stable system, not so much for the tweaker who wants the latest and greatest.


All times are GMT -5. The time now is 11:06 AM.