Re: [RESOLVED] Failover Mode Between Ethernet and Wireless Interfaces broken on >= 11

2017-06-26 Thread Renato Botelho
On 26/06/17 00:59, Benjamin Kaduk wrote:
> On Fri, Jun 23, 2017 at 11:22:46PM -0500, Benjamin Kaduk wrote:
>> I fixed the rc.conf snippet in the handbook in r50399.
>> I lost track of the rest of the thread as to what needs to be
>> changed in the actual command examples in lagg.4 and/or the
>> handbook, though.
> 
> To be clear, that is: one of you please supply the correct commands
> to execute this configuration manually (i.e., not via rc.conf), or the
> rest of the documentation is unlikely to get updated.

On lagg(4):

# ifconfig em0 up
# ifconfig create wlan0 wlandev ath0 ssid my_net \
wlanaddr 00:11:22:33:44:55 up
# ifconfig lagg0 create
# ifconfig lagg0 laggproto failover laggport em0 laggport wlan0 \
192.168.1.1 netmask 255.255.255.0

On Handbook [1]:

Following line should be removed:

# ifconfig iwn0 ether 00:21:70:da:ae:37

And the next example command should be changed to:

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

The rc.conf block looks fine.

Thank you for taking care of it.

[1]
https://www.freebsd.org/doc/handbook/network-aggregation.html#networking-lagg-wired-and-wireless
-- 
Renato Botelho
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: [RESOLVED] Failover Mode Between Ethernet and Wireless Interfaces broken on >= 11

2017-06-25 Thread Benjamin Kaduk
On Fri, Jun 23, 2017 at 11:22:46PM -0500, Benjamin Kaduk wrote:
> I fixed the rc.conf snippet in the handbook in r50399.
> I lost track of the rest of the thread as to what needs to be
> changed in the actual command examples in lagg.4 and/or the
> handbook, though.

To be clear, that is: one of you please supply the correct commands
to execute this configuration manually (i.e., not via rc.conf), or the
rest of the documentation is unlikely to get updated.

Thanks,

Ben
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: [RESOLVED] Failover Mode Between Ethernet and Wireless Interfaces broken on >= 11

2017-06-23 Thread Benjamin Kaduk
I fixed the rc.conf snippet in the handbook in r50399.
I lost track of the rest of the thread as to what needs to be
changed in the actual command examples in lagg.4 and/or the
handbook, though.

-Ben

On Fri, Jun 23, 2017 at 05:33:05PM -0700, Adrian Chadd wrote:
> hi!
> 
> Thanks! Yes please let's update the handbook at least.
> 
> 
> -a
> 
> 
> On 23 June 2017 at 10:06, Renato Botelho  wrote:
> > On 23/06/17 13:43, Adrian Chadd wrote:
> >> Hi,
> >>
> >> You can't change a wifi mac address /after the interface is up/. So if
> >> that's happening with this RC script combination then we should kinda
> >> fix that.
> >
> > OK, so in the end I managed to make it work without any kernel change.
> > This is how rc.conf look like, as pointed out by András Krasznai.
> >
> > ifconfig_em0="up"
> > wlans_iwn0="wlan0"
> > ifconfig_wlan0="WPA"
> > create_args_wlan0="wlanaddr 3c:97:0e:48:3f:f8"
> > cloned_interfaces="lagg0"
> > ifconfig_lagg0="up laggproto failover laggport em0 laggport wlan0 DHCP"
> >
> > So now the only remaining issue is related to docs. lagg(4) manpage
> > example and Handbook must be fixed
> >
> > Thank you all for the help
> > --
> > Renato Botelho
> ___
> freebsd-current@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: [RESOLVED] Failover Mode Between Ethernet and Wireless Interfaces broken on >= 11

2017-06-23 Thread Adrian Chadd
hi!

Thanks! Yes please let's update the handbook at least.


-a


On 23 June 2017 at 10:06, Renato Botelho  wrote:
> On 23/06/17 13:43, Adrian Chadd wrote:
>> Hi,
>>
>> You can't change a wifi mac address /after the interface is up/. So if
>> that's happening with this RC script combination then we should kinda
>> fix that.
>
> OK, so in the end I managed to make it work without any kernel change.
> This is how rc.conf look like, as pointed out by András Krasznai.
>
> ifconfig_em0="up"
> wlans_iwn0="wlan0"
> ifconfig_wlan0="WPA"
> create_args_wlan0="wlanaddr 3c:97:0e:48:3f:f8"
> cloned_interfaces="lagg0"
> ifconfig_lagg0="up laggproto failover laggport em0 laggport wlan0 DHCP"
>
> So now the only remaining issue is related to docs. lagg(4) manpage
> example and Handbook must be fixed
>
> Thank you all for the help
> --
> Renato Botelho
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Re: [RESOLVED] Failover Mode Between Ethernet and Wireless Interfaces broken on >= 11

2017-06-23 Thread Renato Botelho
On 23/06/17 13:43, Adrian Chadd wrote:
> Hi,
> 
> You can't change a wifi mac address /after the interface is up/. So if
> that's happening with this RC script combination then we should kinda
> fix that.

OK, so in the end I managed to make it work without any kernel change.
This is how rc.conf look like, as pointed out by András Krasznai.

ifconfig_em0="up"
wlans_iwn0="wlan0"
ifconfig_wlan0="WPA"
create_args_wlan0="wlanaddr 3c:97:0e:48:3f:f8"
cloned_interfaces="lagg0"
ifconfig_lagg0="up laggproto failover laggport em0 laggport wlan0 DHCP"

So now the only remaining issue is related to docs. lagg(4) manpage
example and Handbook must be fixed

Thank you all for the help
-- 
Renato Botelho
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"