I have compiled a ram-disk firmware openwrt kamikaze for a dwl-2100AP.
The firmware start correcly and load ethernet and wi-fi
Then i type this sequence of commands (from serial interface) to configure and enable the wi-fi section
ifconfig wifi0 192.168.1.1
wlanconfig ath0 create wlandev wifi0 wlanmode ap
iwconfig ath0 essid KAMIKAZE channel 1 sens -90 mode Master txpower 50mW
ifconfig ath0 192.168.1.1
but i have a problem.
The wi-fi work correctly only if i do the setup from serial interface
If i try to re-configure the wi-fi section from the web interface when i try to apply the new setting i receive this replay.
Committing wireless ...
Reloading wireless ...
ifconfig: SIOCSIFFLAGS: Permission denied
wlanconfig: ioctl: Operation not permitted
wlanconfig: ioctl: Operation not permitted
enable_atheros(wifi0): Failed to set up ap vif
And the wi-fi configuration is unchanged.
Why?
Can someone help me?
Thank you