From: Jouni Malinen (jkmaline_at_cc.hut.fi)
Date: 2002-09-05 15:22:26 UTC
On Wed, Sep 04, 2002 at 05:56:29PM -0700, Calvin Fang wrote:
> I could use "iwconfig wlan0" to view the data. but when I run
> iwconfig wlan0 essid XXXX
> iwconfig wlan0 channel X
> I always got "SIOCSIWXXXX: Operation not permitted".
You did this as root, right? Get ioctls do not require root privileges (except WEP key reading), but set ioctls do. Assuming you get this even with root account, please check 'dmesg' output after unsuccessful iwconfig operation. Driver should write some debug info about the failed operation that might help in finding out the reason for this.
-- Jouni Malinen PGP id EFC895FA