Re: AP mode - usb wlan interface: Sagem XG-76NA 802.11bg
From: Julian Calaby <hidden>
Date: 2011-05-30 23:08:26
On Tue, May 31, 2011 at 07:09, [off-list ref] wrote:
Hallo Walter. Thank YOu for the answer. I didn't know about compat-wireless package, thus that's why I upgraded by ubuntu 10.04 to ubuntu 11.04, then gotten newest kernel 2.6.39 week ago. then I did: $ iw list Wiphy phy0 .... .... Supported interface modes: * IBSS * managed * AP !!!! YES, YES * AP/VLAN * monitor * mesh point BUT:(((((: $ sudo iwconfig wlan0 mode master Error for wireless request "Set Mode" (8B06) : SET failed on device wlan0 ; Invalid argument. I was a little bit disappointed, that's why I decided to ask You. What am I doing wrong?
You can't set master mode with iwconfig. Access point mode needs a program to run in userspace to handle some of the heavy lifting. You need to read this FAQ entry: http://wireless.kernel.org/en/users/Documentation/FAQ#Q:_iwconfig_wlan0_mode_master_does_not_work Then look up hostapd http://wireless.kernel.org/en/users/Documentation/hostapd Thanks, -- Julian Calaby Email: julian.calaby@gmail.com Profile: http://www.google.com/profiles/julian.calaby/ .Plan: http://sites.google.com/site/juliancalaby/