2.4.21: pain with "iwconfig wlan0 key..."

Jean Tourrilhes jt at bougret.hpl.hp.com
Mon Jun 16 14:41:11 EDT 2003


insecure wrote :
> 
> ioctl(6, 0x8b2a, 0xbffff9c0)            = 0
> ioctl(6, 0x8b2a, 0xbffff9c0)            = 0
> ioctl(6, 0x8b2b, 0xbffff9c0)            = -1 E2BIG (Argument list too long)
> write(2, "Error for wireless request \"Set "..., 49) = 49
> write(2, "    GET failed on device wlan0 ;"..., 57) = 57

	Hum... Would you mind trying Wireless Tools version 26-preX
(you can find that hidden on my web page), this looks like something I
fixed recently.
	By the way, the "key on" which give us the problem above is
superfluous, and you should be able to shrink the command to :
	iwconfig wlan0 key [1] xxxxxxxxxxxxxxxxxxxxxxxxxx restricted key [1]

	Have fun...

	Jean



More information about the HostAP mailing list