On Fri, Aug 12, 2011 at 12:11 PM, Grant <[email protected]> wrote: > Does anyone know how to assign an IP address to a wireless interface > in AP mode? It can't be specified in /etc/conf.d/net because > /etc/init.d/net.wlan0 is not executed since hostapd handles the whole > thing. 'ifconfig wlan0 192.168.0.1' works but I know I've done it > before without issuing that command each time I reboot, I just can't > remember how.
In /etc/conf.d/net as usual, just disable iwconfig and wpa_supplicant in modules_wlan0 > BTW, can I assign IP addresses on the same subnet to the 2 wireless > interfaces in my system if one of them connects to the WAN and the > other to the LAN? You probably don't want to do that. It will give you two connected routes for the subnet, and only the one with the better metric will be used, so you wont be able to communicate with hosts on the other interface. You could probably setup bridging, but IMO it would almost certainly be better to just use different subnets. I could be wrong though - try it and see what happens.

