Re: Upgrading to r297291 LAGG(4) stops working.

From: Sergey Kandaurov <>
Date: Fri, 4 Sep 2015 16:39:22 +0300
On 1 September 2015 at 04:47, John Baldwin <> wrote:
> On Monday, August 31, 2015 09:58:45 AM Adrian Chadd wrote:
>> Hi,
>> +glebius, as he recently messed around with the wifi stack and his
>> changes may have broken how mac addresses are assigned to the
>> hardware.
> Glebius did break this, though not because of what you say.  It's broken
> because the 'ifconfig_ath0' line that sets the mac address no longer
> does anything because 'ath0' is no longer an interface (and so that
> line is now ignored, plus it wouldn't work if it were passed to ifconfig
> now anyway).
> At the very least the Handbook section on this needs to be updated to give
> working instructions for both HEAD and stable branches.

What about this change?
It should work in both current and stable (not tested, though).

Index: en_US.ISO8859-1/books/handbook/advanced-networking/chapter.xml
--- en_US.ISO8859-1/books/handbook/advanced-networking/chapter.xml
(revision 47311)
+++ en_US.ISO8859-1/books/handbook/advanced-networking/chapter.xml
(working copy)
_at__at_ -3697,17 +3697,19 _at__at_
     <para>Replace <replaceable>bge0</replaceable> to match the
       system's Ethernet interface name.  The
       <literal>ether</literal> line will contain the
-      <acronym>MAC</acronym> address of the specified interface.
-      Now, change the <acronym>MAC</acronym> address of the
-      underlying wireless interface:</para>
+      <acronym>MAC</acronym> address of the specified
+      interface.</para>

-    <screen>&prompt.root; <userinput>ifconfig
<replaceable>iwn0</replaceable> ether
     <para>Bring the wireless interface up, but do not set an
       <acronym>IP</acronym> address:</para>

     <screen>&prompt.root; <userinput>ifconfig
<replaceable>wlan0</replaceable> create wlandev
<replaceable>iwn0</replaceable> ssid
<replaceable>my_router</replaceable> up</userinput></screen>

+    <para>Now, change the <acronym>MAC</acronym> address of the
+      underlying wireless interface:</para>
+    <screen>&prompt.root; <userinput>ifconfig
<replaceable>wlan0</replaceable> ether
     <para>Make sure the <replaceable>bge0</replaceable> interface
       is up, then create the &man.lagg.4; interface with
       <replaceable>bge0</replaceable> as master with failover to
_at__at_ -3740,9 +3742,9 _at__at_

+ifconfig_wlan0_alias0="ether 00:21:70:da:ae:3"
failover laggport bge0 laggport wlan0 DHCP"</programlisting>

Received on Fri Sep 04 2015 - 11:39:23 UTC

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