Bug 217367

Summary: [handbook] 30.7. Link Aggregation and Failover: config from example 30.3 does not work after r287197
Product: Documentation Reporter: Andriy Voskoboinyk <avos>
Component: Books & ArticlesAssignee: freebsd-doc (Nobody) <doc>
Status: Closed Overcome By Events    
Severity: Affects Some People CC: ds, pauamma, woodsb02
Priority: --- Keywords: patch
Version: Latest   
Hardware: Any   
OS: Any   
See Also: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=214264
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=214266
Attachments:
Description Flags
its Andriy's proposal wrapped as a patch
none
Ben's proposal wrapped as a patch none

Description Andriy Voskoboinyk freebsd_committer freebsd_triage 2017-02-26 00:29:03 UTC
Since r287197 there are no device entries visible via ifconfig(8); MAC address can be overridden for wlan(4) interface only:

ifconfig wlan0 create wlandev iwn0 ether 00:21:70:da:ae:37 ssid my_router up

or via wlanaddr parameter (broken on 11.0-RELEASE?):

ifconfig wlan0 create wlandev iwn0 wlanaddr 00:21:70:da:ae:37 ssid my_router up

rc.conf(5) config:

ifconfig_bge0="up"
wlans_iwn0="wlan0"
ifconfig_wlan0="ether 00:21:70:da:ae:37 WPA"
cloned_interfaces="lagg0"
ifconfig_lagg0="laggproto failover laggport bge0 laggport wlan0 DHCP"
Comment 1 Taras Korenko 2017-02-26 22:09:42 UTC
Since "there are no device entries visible via ifconfig(8)", the ifconfig-way, described in "30.3.2. Quick Start, 2. Identify the wireless adapter" [1], is no longer valid for newer versions of OSes.
  I guess we should advise looking through plain old dmesg(8) for wireless adapters detected by the kernel, as it is applicable to a broader range of versions of OSes.

1. https://svnweb.freebsd.org/doc/head/en_US.ISO8859-1/books/handbook/advanced-networking/chapter.xml?revision=49799&view=markup#l738
Comment 2 Ben Woods freebsd_committer freebsd_triage 2017-02-26 22:53:11 UTC
The new way to discover available wireless interfaces is to run:
$ sysctl net.wlan.devices
Comment 3 Taras Korenko 2017-02-26 23:05:18 UTC
Afaik, "sysctl net.wlan.devices" is available in >= FreeBSD11.
Comment 4 Taras Korenko 2017-03-04 22:49:28 UTC
Created attachment 180515 [details]
its Andriy's proposal wrapped as a patch
Comment 5 Taras Korenko 2017-03-04 23:18:51 UTC
Created attachment 180516 [details]
Ben's proposal wrapped as a patch

The question about applicability of 'wlandebug' [1] is left open.

1. https://svnweb.freebsd.org/doc/head/en_US.ISO8859-1/books/handbook/advanced-networking/chapter.xml?revision=49799&view=markup#l2225
Comment 6 Taras Korenko 2017-03-12 18:33:57 UTC
Attachment #180516 [details] is no longer actual, this (sub)case was fixed in bug #214586 .
Comment 7 Pau Amma 2020-09-08 05:49:21 UTC
Is this still relevant following https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211436 ?
Comment 8 Pau Amma 2022-04-11 04:45:16 UTC
(In reply to PauAmma from comment #7)
Guessing not, please reopen if I'm wrong.