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

From: Idwer Vollering <vidwer_at_gmail.com>
Date: Sat, 29 Aug 2015 15:03:10 +0200
2015-08-29 14:53 GMT+02:00 Gleb Smirnoff <glebius_at_freebsd.org>:
> 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?

Look for SIOCIFCREATE2:

# service netif restart
Stopping Network: lo0 re0.
lo0: flags=8048<LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
        options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
        nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
        groups: lo
re0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=8209b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,LINKSTATE>
        ether <mac addr>
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
        media: Ethernet autoselect (none)
        status: no carrier
ifconfig: SIOCIFCREATE2: Device not configured
wlandebug: sysctl-get(net.wlan.1.debug): No such file or directory
ifconfig: SIOCIFCREATE2: File exists
Starting Network: lo0 re0.
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
        options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
        inet 127.0.0.1 netmask 0xff000000
        nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
        groups: lo
re0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=8209b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,LINKSTATE>
        ether <mac addr>
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
        media: Ethernet autoselect (none)
        status: no carrier

>
> What does net.wlan.devices sysctl say?
>
> --
> Totus tuus, Glebius.
> _______________________________________________
> freebsd-wireless_at_freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-wireless
> To unsubscribe, send any mail to "freebsd-wireless-unsubscribe_at_freebsd.org"
Received on Sat Aug 29 2015 - 11:03:12 UTC

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