Re: [gentoo-user] Assigning an IP in AP mode

2011-08-15 Thread Grant
hostapd doesn't report any error and I don't think it should. Everything works fine as soon as I 'ifconfig wlan0 192.168.1.1' but I know there's a way to assign that IP automatically, I've just forgotten what it is.  My description above is the trouble I run into when I try to set up that

Re: [gentoo-user] Assigning an IP in AP mode

2011-08-14 Thread Adam Carter
I've added 'INTERFACES=wlan0' to /etc/conf.d/hostapd, created the /etc/init.d/net.wlan0 link, and added the following to /etc/conf.d/net: modules_wlan0=( !iwconfig !wpa_supplicant ) config_wlan0=192.168.1.1 netmask 255.255.255.0 broadcast 192.168.1.255 When I start hostapd it tries to

Re: [gentoo-user] Assigning an IP in AP mode

2011-08-14 Thread Grant
I've added 'INTERFACES=wlan0' to /etc/conf.d/hostapd, created the /etc/init.d/net.wlan0 link, and added the following to /etc/conf.d/net: modules_wlan0=( !iwconfig !wpa_supplicant ) config_wlan0=192.168.1.1 netmask 255.255.255.0 broadcast 192.168.1.255 When I start hostapd it tries to

Re: [gentoo-user] Assigning an IP in AP mode

2011-08-14 Thread Adam Carter
I have net.wlan0 started by init, not by hostapd, not sure if that makes a difference. You start net.wlan0 in master mode with /etc/init.d/net.wlan0?  If so, do you have a PSK? No - master mode comes with hostapd. It just gets started. hostapd doesn't report any error and I don't think it

Re: [gentoo-user] Assigning an IP in AP mode

2011-08-13 Thread Grant
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

[gentoo-user] Assigning an IP in AP mode

2011-08-11 Thread Grant
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

Re: [gentoo-user] Assigning an IP in AP mode

2011-08-11 Thread Adam Carter
On Fri, Aug 12, 2011 at 12:11 PM, Grant emailgr...@gmail.com 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