Hi!
I have a slightly irritating issue on my router.
I have a WLAN interface ath0 which the pseudo interface (or whatever you can call it) wlan0 uses and vr1 for the wired LAN. Now I want my router to start dhcpd on the vr1 and wlan0 interface, see the configuration below:
Every time my router boots it won't lease any IP adresses on my WLAN. If I do a
I kill it and manually run the command
I run an old as version of FreeBSD, but if it works, don't fix it. Does anyone have any idea of what's going on here? What else information do you need me to post?
I have a slightly irritating issue on my router.
I have a WLAN interface ath0 which the pseudo interface (or whatever you can call it) wlan0 uses and vr1 for the wired LAN. Now I want my router to start dhcpd on the vr1 and wlan0 interface, see the configuration below:
Code:
/etc/rc.conf
#wlan
ifconfig_wlan0="inet 192.168.2.1/24"
wlans_ath0="wlan0"
create_args_wlan0="wlanmode hostap mode 11g channel 11"
hostapd_enable=YES
#vr1
ifconfig_vr1="inet 192.168.1.1/24"
#DHCPD
dhcpd_enable="yes"
dhcpd_flags="-q"
dhcpd_ifaces="wlan0 vr1"
Every time my router boots it won't lease any IP adresses on my WLAN. If I do a
ps aux | grep dhcp I get this line:
Code:
/usr/sbin/dhcpd -q vr1 ath0
dhcpd -q vr1 wlan0 and everything works like a charm.
Code:
uname -a
FreeBSD randomhostname 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Sun May 29 23:25:21 CEST 2011