Hey, I’ve just upgraded my madwifi driver using Gentoo’s emerge tool (emerge -va madwifi-driver) and the Master and Monitor modes don’t work anymore. It worked a few minutes ago flawlessly.

The old package was net-wireless/madwifi-driver-0.1_pre20050420 it worked.
The new package is net-wireless/madwifi-driver-0.1420.20060201 and I can’t set the mode to Master or Monitor.

When I use iwconfig to set the mode I now get the following error:

vez ~ # iwconfig ath0 mode master
Error for wireless request “Set Mode” (8B06) :
SET failed on device ath0 ; Invalid argument.

Using iwpriv, I can successfully list the ioctl calls supported by the card.

The command iwlist gives an error when I try to scan:

vez ~ # iwlist ath0 scan
ath0 Interface doesn’t support scanning : Invalid argument

The interface ath0 exists and is listed with ‘iwconfig’.

I tried Chris’ tip to run wlanconfig, but it doesn’t make a difference.

What could be the problem? Does the new driver have known problems?