Re: r287197: wlan interfaces aren't brought up at boot or u

From: Oleg V. Nauman <oleg_at_opentransfer.com>
Date: Sat, 29 Aug 2015 17:51:51 +0300
On Saturday 29 August 2015 15:53:31 Gleb Smirnoff wrote:
> On Sat, Aug 29, 2015 at 12:56:39PM +0300, Oleg V. Nauman wrote:
> O> On Saturday 29 August 2015 11:02:02 Gleb Smirnoff wrote:
> O> > On Sat, Aug 29, 2015 at 01:19:40AM +0200, Idwer Vollering wrote:
> O> > I> Manually running 'service netif restart' works around this.
> O> > I>
> O> > I> /etc/network.subr and /etc/rc.d/netif have been updated by
> mergemaster O> > I> -p and mergemaster -iF
> O> > I>
> O> > I> I can provide the, rather lengthy, output of 'sh -x /etc/rc.d/netif
> O> > I> restart' when required.
> O> > I>
> O> > I> Note that I'm not subscribed to freebsd-current.
> O> >
> O> > Yes, please provide 'sh -x /etc/rc.d/netif restart'.
> O> >
> O> > And please also check the revisions of your files:
> O> >
> O> > # ident /etc/rc.d/netif /etc/network.subr
> O>
> O>  I have faced the same issue today. wlan interface is not  brought up at
> boot, O> sh -x /etc/rc.d/netif restart does the trick.
> 
> Have you got any error or strange messages during boot?

 No

Aug 29 17:38:32 asus kernel: Trying to mount root from ufs:/dev/ada0s1a 
[rw]...
Aug 29 17:38:32 asus kernel: re0: link state changed to DOWN
Aug 29 17:38:32 asus kernel: run0: <Ralink 11n Adapter, class 0/0, rev 
2.00/1.01, addr 1> on usbus0
Aug 29 17:38:32 asus kernel: run0: MAC/BBP RT3070 (rev 0x0201), RF RT3020 
(MIMO 1T1R), address 00:26:5a:0a:cb:fa
Aug 29 17:38:34 asus kernel: re0: link state changed to UP
Aug 29 17:38:36 asus kernel: font8x16
Aug 29 17:38:37 asus kernel: blanktime allscreens.

sh /etc/rc.d/netif restart issued

Aug 29 17:40:26 asus kernel: ifa_del_loopback_route: deletion failed: 3
Aug 29 17:40:27 asus kernel: wlan1: Ethernet address: 00:26:5a:0a:cb:fa
Aug 29 17:40:27 asus kernel: re0: link state changed to DOWN
Aug 29 17:40:28 asus kernel: run0: firmware RT2870 ver. 0.33 loaded
Aug 29 17:40:30 asus kernel: re0: link state changed to UP
Aug 29 17:40:32 asus kernel: wlan1: link state changed to UP


> 
> What does net.wlan.devices sysctl say?

# sysctl net.wlan.devices
net.wlan.devices: run0
# sh /etc/rc.d/netif restart >/dev/null
wlan1: no link ....... got link
DHCPREQUEST on wlan1 to 255.255.255.255 port 67
DHCPACK from 192.168.0.1
bound to 192.168.0.102 -- renewal in 3600 seconds.
# sysctl net.wlan.devices
net.wlan.devices: run0

 
 
Received on Sat Aug 29 2015 - 12:51:59 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:59 UTC