Re: Master mode problem

Aditya Bhave <[email protected]> Fri, 27 Aug 2010 20:23:46 -0400
Newsgroups gmane.linux.drivers.madwifi.user
Message-ID <[email protected]>
To create an interface in Master mode follow these steps

sudo modprobe -r ath_pci || true
sudo modprobe ath_pci autocreate=none
sudo wlanconfig ath0 create wlandev wifi0 wlanmode ap

There is something in the documentation about this. If you dont specify 
"autocreate=none", the driver gets loaded and creates a STA VAP by 
default. After this, it does not allow changing the mode.

http://madwifi-project.org/wiki/UserDocs/AccessPointInterface
http://madwifi-project.org/wiki/UserDocs/autocreate

--Aditya



On 08/26/2010 02:36 AM, Ismaeel Abu Amsha wrote:
>
>
> i read that TL-WN550G/TL-WN551G
>
> Working fine with MadWiFi <http://madwifi-project.org/wiki/MadWiFi> 
> SVN 20080109 under Ubuntu server 7.10. Running in master mode without 
> any problems.
>
>
> but when tried to set it using under ubuntu 8.04 server
> using madwifi driver
>
> root@samo <mailto:root@samo>:~# iwconfig ath0 mode Master
> Error for wireless request "Set Mode" (8B06) :
>     SET failed on device ath0 ; Invalid argument.
>
> when tested it using hostap
>
> root@samo <mailto:root@samo>:~# hostapd /etc/hostapd/hostapd.conf
> Configuration file: /etc/hostapd/hostapd.conf
> ioctl[SIOCSIWMODE]: Invalid argument
> Could not set interface to master mode!
> madwifi driver initialization failed.
>
> are you sure it is working ?
>
>
> ------------------------------------------------------------------------------
> Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
> Be part of this innovative community and reach millions of netbook users
> worldwide. Take advantage of special opportunities to increase revenue and
> speed time-to-market. Join now, and jumpstart your future.
> http://p.sf.net/sfu/intel-atom-d2d
>
>
> _______________________________________________
> Madwifi-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/madwifi-users
>

------------------------------------------------------------------------------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d

_______________________________________________
Madwifi-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/madwifi-users