Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I am using

iw list

command to determine whether my usb Wifi stick is supported by hostapd to create a Wifi hotspot or not. But iw seems not recognizing it. Here is the output of iwconfig:-

prakhar@LinuxBox:~$ iwconfig
wlan1     unassociated  Nickname:"<WIFI@REALTEK>"
          Mode:Master  Frequency=2.412 GHz  Access Point: 02:11:87:51:17:0E   
          Sensitivity:0/0  
          Retry:off   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

ppp0      no wireless extensions.

eth0      no wireless extensions.

lo        no wireless extensions.

wlan0     IEEE 802.11abg  ESSID:off/any  
          Mode:Managed  Access Point: Not-Associated   Tx-Power=15 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Power Management:off

I believe usb wifi is wlan1. Here is the output of iw:-

prakhar@LinuxBox:~$ iw dev
phy#0
    Interface wlan0
        ifindex 3
        type managed

wlan1 is not there. Can anybody please tell me why wlan1 is not recognized by iw?

Output of lsusb:-

prakhar@LinuxBox:~$ lsusb
Bus 002 Device 003: ID 064e:a110 Suyin Corp. HP Webcam
Bus 002 Device 007: ID 19d2:fff1 ZTE WCDMA Technologies MSM 
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 007 Device 003: ID 03f0:171d Hewlett-Packard Bluetooth 2.0 Interface [Broadcom BCM2045]
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 002: ID 08ff:2580 AuthenTec, Inc. AES2501 Fingerprint Sensor
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 0bda:8179 Realtek Semiconductor Corp. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
share|improve this question
    
If it's a USB WiFi adapter, run lsusb and try to identify which device it is. Include lsusb output in your question so all can see. Sometimes a vendor changes the USB ID of some gizmo to a value that the Linux driver doesn't recognize. –  Bruce Ediger May 2 at 20:55

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.