From owner-freebsd-questions@freebsd.org Thu Sep 15 13:45:25 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4125CBDBCBA for ; Thu, 15 Sep 2016 13:45:25 +0000 (UTC) (envelope-from bah@bananmonarki.se) Received: from feeder.usenet4all.se (1-1-1-38a.far.sth.bostream.se [82.182.32.53]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4FA036B2 for ; Thu, 15 Sep 2016 13:45:22 +0000 (UTC) (envelope-from bah@bananmonarki.se) Received: from testbox.news4all.se (testbox.usenet4all.se [10.0.0.3]) by feeder.usenet4all.se (8.13.1/8.13.1) with ESMTP id u8E4imdL035976; Wed, 14 Sep 2016 06:44:48 +0200 (CEST) (envelope-from bah@bananmonarki.se) From: Bernt Hansson Subject: Re: 11.0-RC2 defaultrouter not working with wifi+wpa+static ip To: Antonio Vieiro , "freebsd-questions@freebsd.org" References: Message-ID: <6e325665-5eb2-9c6a-a9fa-cd89798fb265@bananmonarki.se> Date: Wed, 14 Sep 2016 06:44:48 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Sep 2016 13:45:25 -0000 On 2016-09-02 11:46, Antonio Vieiro wrote: >> El 2 sept 2016, a las 0:39, Ben Woods escribió: >> >> Not sure about your defaultrouter issue, but as for this after note regarding wireless adapters not displaying in ifconfig before their wlan cloned device is created, this is the expected behaviour in FreeBSD 11. >> >> It was changed with commit r287197: >> https://svnweb.freebsd.org/base?view=revision&revision=287197 > Maybe this is the problem. If I run > > service routing restart > > after boot I do get the defaultrouter set correctly on the wlan interface. > > Maybe there should be a way to rerun /etc/rc.d/routing after wpa_supplicant stablishes a connection, but I don’t know how to do that. > > I also tried setting defaultroute_delay to 30 without success. > > Thanks anyway, > Antonio > Have a look at /etc/rc.d/netwait. Don't know if that is worth a try.