wlan0: Could not connect to kernel driver

suneth namal sunethn at gmail.com
Mon Feb 20 15:04:06 EST 2012


Hi,

Thanks, for helping me. I am quite new to this. I appreciate your help
very much.
iw list:
                        HT20/HT40
                        Static SM Power Save
                        RX Greenfield
                        RX HT20 SGI
                        RX HT40 SGI
                        No RX STBC
                        Max AMSDU length: 3839 bytes
                        No DSSS/CCK HT40
                Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
                Minimum RX AMPDU time spacing: 4 usec (0x05)
                HT TX/RX MCS rate indexes supported: 0-15, 32
                Frequencies:
                        * 2412 MHz [1] (15.0 dBm)
                        * 2417 MHz [2] (15.0 dBm)
                        * 2422 MHz [3] (15.0 dBm)
                        * 2427 MHz [4] (15.0 dBm)
                        * 2432 MHz [5] (15.0 dBm)
                        * 2437 MHz [6] (15.0 dBm)
                        * 2442 MHz [7] (15.0 dBm)
                        * 2447 MHz [8] (15.0 dBm)
                        * 2452 MHz [9] (15.0 dBm)
                        * 2457 MHz [10] (15.0 dBm)
                        * 2462 MHz [11] (15.0 dBm)
                        * 2467 MHz [12] (15.0 dBm) (passive scanning, no IBSS)
                        * 2472 MHz [13] (15.0 dBm) (passive scanning, no IBSS)
                Bitrates (non-HT):
                        * 1.0 Mbps
                        * 2.0 Mbps (short preamble supported)
                        * 5.5 Mbps (short preamble supported)
                        * 11.0 Mbps (short preamble supported)
                        * 6.0 Mbps
                        * 9.0 Mbps
                        * 12.0 Mbps
                        * 18.0 Mbps
                        * 24.0 Mbps
                        * 36.0 Mbps
                        * 48.0 Mbps
                        * 54.0 Mbps
        Band 2:
                Capabilities: 0x872
                        HT20/HT40
                        Static SM Power Save
                        RX Greenfield
                        RX HT20 SGI
                        RX HT40 SGI
                        No RX STBC
                        Max AMSDU length: 3839 bytes
                        No DSSS/CCK HT40
                Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
                Minimum RX AMPDU time spacing: 4 usec (0x05)
                HT TX/RX MCS rate indexes supported: 0-15, 32
                Frequencies:
                        * 5180 MHz [36] (15.0 dBm) (passive scanning, no IBSS)
                        * 5200 MHz [40] (15.0 dBm) (passive scanning, no IBSS)
                        * 5220 MHz [44] (15.0 dBm) (passive scanning, no IBSS)
                        * 5240 MHz [48] (15.0 dBm) (passive scanning, no IBSS)
                        * 5260 MHz [52] (15.0 dBm) (passive scanning,
no IBSS, radar detection)
                        * 5280 MHz [56] (15.0 dBm) (passive scanning,
no IBSS, radar detection)
                        * 5300 MHz [60] (15.0 dBm) (passive scanning,
no IBSS, radar detection)
                        * 5320 MHz [64] (15.0 dBm) (passive scanning,
no IBSS, radar detection)
                        * 5500 MHz [100] (15.0 dBm) (passive scanning,
no IBSS, radar detection)
                        * 5520 MHz [104] (15.0 dBm) (passive scanning,
no IBSS, radar detection)
                        * 5540 MHz [108] (15.0 dBm) (passive scanning,
no IBSS, radar detection)
                        * 5560 MHz [112] (15.0 dBm) (passive scanning,
no IBSS, radar detection)
                        * 5580 MHz [116] (15.0 dBm) (passive scanning,
no IBSS, radar detection)
                        * 5600 MHz [120] (15.0 dBm) (passive scanning,
no IBSS, radar detection)
                        * 5620 MHz [124] (15.0 dBm) (passive scanning,
no IBSS, radar detection)
                        * 5640 MHz [128] (15.0 dBm) (passive scanning,
no IBSS, radar detection)
                        * 5660 MHz [132] (15.0 dBm) (passive scanning,
no IBSS, radar detection)
                        * 5680 MHz [136] (15.0 dBm) (passive scanning,
no IBSS, radar detection)
                        * 5700 MHz [140] (15.0 dBm) (passive scanning,
no IBSS, radar detection)
                        * 5745 MHz [149] (15.0 dBm) (passive scanning, no IBSS)
                        * 5765 MHz [153] (15.0 dBm) (passive scanning, no IBSS)
                        * 5785 MHz [157] (15.0 dBm) (passive scanning, no IBSS)
                        * 5805 MHz [161] (15.0 dBm) (passive scanning, no IBSS)
                        * 5825 MHz [165] (15.0 dBm) (passive scanning, no IBSS)
                Bitrates (non-HT):
                        * 6.0 Mbps
                        * 9.0 Mbps
                        * 12.0 Mbps
                        * 18.0 Mbps
                        * 24.0 Mbps
                        * 36.0 Mbps
                        * 48.0 Mbps
                        * 54.0 Mbps
        max # scan SSIDs: 20
        Supported interface modes:
                 * IBSS
                 * managed
                 * monitor
        Supported commands:
                 * new_interface
                 * set_interface
                 * new_key
                 * new_beacon
                 * new_station
                 * new_mpath
                 * set_mesh_params
                 * set_bss
                 * authenticate
                 * associate
                 * deauthenticate
                 * disassociate
                 * join_ibss
                 * Unknown command (68)
                 * Unknown command (55)
                 * Unknown command (57)
                 * Unknown command (59)
                 * Unknown command (67)
                 * set_wiphy_netns
                 * Unknown command (65)
                 * Unknown command (66)
                 * connect
                 * disconnect


root at ubuntu:/home/suneth/hostap/hostapd# iwconfig
lo         no wireless extensions.

eth0      no wireless extensions.

wlan0     IEEE 802.11abgn  ESSID:"LAB-PC_Network"
          Mode:Managed  Frequency:2.437 GHz  Access Point: 94:44:52:3A:97:1B
          Bit Rate=54 Mb/s   Tx-Power=15 dBm
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=70/70  Signal level=-34 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:142   Missed beacon:0

Best regards,
Namal

On 2/20/12, user <xxxiter at rambler.ru> wrote:
> Have you loaded appropriate driver module? What say command 'iw list'
> and 'iwconfig'?
>
>
> * suneth namal <sunethn at gmail.com> [Mon, 20 Feb 2012 17:20:50 +0200]:
>> Hi,
>>
>> I was trying to test the hostapd with the following configuration. I
>> defined the hostapd-minimal.conf file as follows,
>>
>> #change wlan0 to your wireless device
>> interface=wlan0
>> driver=nl80211
>> ssid=test
>> channel=1
>>
>> This was giving me the following out-put. I couldn't find what makes
>> this problem. I am thankful if you can help me to sort out this.
>>
>> Configuration file: ./hostapd-minimal.conf
>> wlan0: Could not connect to kernel driver
>> Using interface wlan0 with hwaddr 58:94:6b:d3:3a:f8 and ssid 'test'
>> Failed to set beacon parameters
>> wlan0: STA 00:0d:65:bb:66:bb IEEE 802.11: disassociated
>>
>> Thanks in advance.
>>
>>
>> Best regards,
>> suneth namal
>> _______________________________________________
>> HostAP mailing list
>> HostAP at lists.shmoo.com
>> http://lists.shmoo.com/mailman/listinfo/hostap
> _______________________________________________
> HostAP mailing list
> HostAP at lists.shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap
>


-- 
*Suneth Namal*
Research Scientist/Doctoral Student,
Center for Wireless Communication,
University of Oulu,
Finland
Mobile: +358-41-728-2646
Mail: sunethn at gmail.com <msanka at gmail.com>
skype: sunethnamal


More information about the HostAP mailing list