Date: Thu, 1 Sep 2016 11:27:18 +0200 From: Antonio Vieiro <antonio@vieiro.net> To: freebsd-questions@freebsd.org Subject: 11.0-RC2 defaultrouter not working with wifi+wpa+static ip Message-ID: <C5E975B0-6E3F-4436-A960-790924C157D6@vieiro.net>
next in thread | raw e-mail | index | archive | help
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=3D"wlan0" ifconfig_wlan0=3D"wpa inet 192.168.1.169 netmask = 255.255.255.0=E2=80=9D and I'm also setting a defaultrouter in /etc/rc.conf like this: defaultrouter=3D=E2=80=9C192.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.:=20 While testing 11.0 with a boot disk, I noted that immediately after boot = =E2=80=9Cath0=E2=80=9D did not get listed in ifconfig (re0, my ethernet = card, did get listed). I could run =E2=80=9Cifconfig wlan0 create = wlandev ath0=E2=80=9D to create wlan0, though.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?C5E975B0-6E3F-4436-A960-790924C157D6>