On Thu, 2008-05-08 at 08:29 -0500, Naushad Kasu wrote:
> Google for it, I found tons of links that show how to fix this error.
> My search string was "error for wireless request set mode".

That's not really useful.  It would find lots of messages about madwifi,
which indeed doesn't allow mode change.  ath5k should allow that.
Generally, things written on forums should be taken with a big grain of
salt.

> If I bring up the wlan0 interface by hand: ifconfig, iwconfig, dhclient
> then it works.  If the system tries to bring it up at boot time I
> get the error message "error for wireless request "Set Mode" (8B06)
> SET failed on device wlan0: invalid argument"

Make sure you don't have MadWifi installed.  Check the MODE setting
in /etc/sysconfig/network-scripts/ifcfg-wlan0.  I assume you want it to
be "managed".  Remove the existing line starting with "MODE=" and add
this:

MODE=managed

> Can someone tell me what the message means, where it comes from, how
> to fix it?

The message means that the interface cannot be switched from one mode to
another.  The mode may be "managed" for stations, "adhoc" for IBSS
peers, "master" for AP, "monitor" for devices capturing all packets.

The message likely comes from iwconfig, but it's caused but the driver's
refusal to change the mode.

To fix it, you need to know which mode the scripts are setting, which
driver it is.  You can stop and start networking from the command line:

/sbin/service network stop
/sbin/service network start

That would allow you to avoid reboots to test the new configuration.

-- 
Regards,
Pavel Roskin
_______________________________________________
ath5k-users mailing list
[email protected]
https://lists.ath5k.org/mailman/listinfo/ath5k-users

Reply via email to