Bug 217367 - [handbook] 30.7. Link Aggregation and Failover: config from example 30.3 does not work after r287197
Summary: [handbook] 30.7. Link Aggregation and Failover: config from example 30.3 does...
Status: Closed Overcome By Events
Alias: None
Product: Documentation
Classification: Unclassified
Component: Books & Articles (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-doc (Nobody)
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2017-02-26 00:29 UTC by Andriy Voskoboinyk
Modified: 2022-04-11 04:45 UTC (History)
3 users (show)

See Also:


Attachments
its Andriy's proposal wrapped as a patch (2.44 KB, patch)
2017-03-04 22:49 UTC, Taras Korenko
no flags Details | Diff
Ben's proposal wrapped as a patch (874 bytes, patch)
2017-03-04 23:18 UTC, Taras Korenko
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.