11.0-RC2 defaultrouter not working with wifi+wpa+static ip
Antonio Vieiro
antonio at vieiro.net
Thu Sep 1 09:27:23 UTC 2016
Hi all,
I have recently upgraded from FreeBSD 10.2 to 11.0-RC2 and since then I cannot get defaultrouter to work in /etc/rc.conf
I'm setting up a static IP address on my wifi card like this in /etc/rc.conf
wlans_ath0="wlan0"
ifconfig_wlan0="wpa inet 192.168.1.169 netmask 255.255.255.0”
and I'm also setting a defaultrouter in /etc/rc.conf like this:
defaultrouter=“192.168.1.1"
This was working perfectly well in 10.2, but is not working in 11.0-RC2. After booting I get connected perfectly well tot he network, but the defaultrouter is not set:
# netstat -rn
Routing tables
Internet:
Destination Gateway Flags Netif Expire
127.0.0.1 link#2 UH lo0
192.168.1.0/24 link#3 U wlan0
192.168.1.169 link#3 UHS lo0
I was wondering if someone could help addressing the problem. Is there any flag in 11.0 that modifies the defaultrouter behaviour? It this a known issue in 11.0-RC2?
Thanks in advance,
Antonio
P.S.:
While testing 11.0 with a boot disk, I noted that immediately after boot “ath0” did not get listed in ifconfig (re0, my ethernet card, did get listed). I could run “ifconfig wlan0 create wlandev ath0” to create wlan0, though.
More information about the freebsd-questions
mailing list