Configuring hwsim0 using hostapd

uday kiran kaniki.uday
Fri Aug 12 04:19:45 PDT 2011


Hi

I have a config file as below.

interface=hwsim0
driver=madwifi
ssid=madwifi test

i have installed hostapd0.7.3 and madwifi 0.9.4

When I run the conf with hostapd (./hostapd simple_test.conf), I got the
following error.
====== Configuration file: ../hostapd-0.7.3/hostapd/host.conf
====== ioctl[SIOCSIWMODE]: Operation not supported
====== Could not set interface to master mode!
====== madwifi driver initialization failed.

Could some one help me out , in resolving this issue ?

Please refer attachment for additional info.

Thanks in advance.

-Uday
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20110812/d371045f/attachment.htm 
-------------- next part --------------
Additional info:
===========

OS : fedora 2.6.33
hwsim0    Link encap:UNSPEC  HWaddr 12-00-00-00-00-00-A1-A2-00-00-00-00-00-00-00-00
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

lsmod output
==========
Module                  Size  Used by
xfrm4_tunnel            1359  0
tunnel4                 1887  1 xfrm4_tunnel
ipcomp                  1435  0
xfrm_ipcomp             3134  1 ipcomp
esp4                    3960  0
ah4                     3777  0
af_key                 22493  0
ath                     6974  0
arc4                    1041  4
ecb                     1491  4
mac80211_hwsim          9667  0
mac80211              163458  1 mac80211_hwsim
cfg80211               97351  3 ath,mac80211_hwsim,mac80211
rfkill                 12905  1 cfg80211
ath_pci               138358  0
wlan                  177898  1 ath_pci
ath_hal               350382  1 ath_pci
fuse                   46663  2
ip6table_filter         2191  1
ip6_tables              9211  1 ip6table_filter
xt_physdev              1363  1
bridge                 37420  0
stp                     1367  1 bridge
llc                     3545  2 bridge,stp
sunrpc                159624  1
p4_clockmod             2943  0




More information about the Hostap mailing list