Re: Bonding wifi and wired

2016-03-08 Thread Nikolay Martynov
Hi.

2016-03-08 15:55 GMT-05:00 José Queiroz :
>
>
> 2016-03-08 14:30 GMT-03:00 Dan Williams :
>>
>>
>> I know it's been done before, but one caveat is that the wifi driver
>> and the supplicant have to correctly support setting the WiFi device's
>> MAC address since bonding requires they have the same one.  That's been
>> a problem in the past and required fixes to the supplicant and drivers.
>>  But yeah, I'm sure we'd take patches fixing anything on the NM side.
>>
>
> Hi Dan,
>
> And what about if NM assume this to be done based on the WiFi's MAC? This
> way we could use this feature despite the drive in use...

  Yeah, that's exactly what I do currently.

  Just to clarify: this whole idea works on 'stock' ubuntu's NM since
at least 14.04, and probably before that.

  I've setup my eth interface to clone MAC from my wifi. This way bond
interface gets MAC that is equal to wifi's MAC. Without this wifi (at
least one that I have) refuses properly authenticate on AP.
  On router side I had to enable wifi clients isolation and LAN bridge
hairpin so two bonded clients can properly talk to each other and
other AP clients.

  Things work in a sense that I can pull the plug out of laptop during
hangout call and not notice anything, and I can put it back in and see
traffic flowing on wire.
  But NM's clearly gets confused by this setu. But since it sounds
like NM's team would welcome patches I hope I will be able to address
some of those problems.

-- 
Martynov Nikolay.
Email: mar.ko...@gmail.com
___
networkmanager-list mailing list
networkmanager-list@gnome.org
https://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: Bonding wifi and wired

2016-03-08 Thread José Queiroz
2016-03-08 14:30 GMT-03:00 Dan Williams :

>
> I know it's been done before, but one caveat is that the wifi driver
> and the supplicant have to correctly support setting the WiFi device's
> MAC address since bonding requires they have the same one.  That's been
> a problem in the past and required fixes to the supplicant and drivers.
>  But yeah, I'm sure we'd take patches fixing anything on the NM side.
>
>
Hi Dan,

And what about if NM assume this to be done based on the WiFi's MAC? This
way we could use this feature despite the drive in use...
___
networkmanager-list mailing list
networkmanager-list@gnome.org
https://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: Bonding wifi and wired

2016-03-08 Thread Dan Williams
On Tue, 2016-03-08 at 10:50 +0100, Thomas Haller wrote:
> On Mon, 2016-03-07 at 23:34 -0500, Nikolay Martynov wrote:
> > 
> > Hi.
> > 
> >   I just wanted to reach out to ask what's NetworkManager team's
> > position on allowing bonding of wifi and wired interface? Are there
> > any plans to support this? If not - it is due to no one being
> > interested implementing it or because this feature would go against
> > some large plans/ideology?
> > 
> >   I was able to make it work with NM on client side and OpenWRT on
> > router side. Router side is easy. On NM side there is some manual
> > config editing (which is fine) and some kinds that make day-to-day
> > life less enjoyable than it should (like inability to manually
> > connect
> > to bonded wifi). SO I was curious - would patches fixing those
> > smaller
> > kinks be acceptable at all or is it something that NM team is just
> > not
> > interested in?
> > 
> I'm not familiar with the quirks of bonding of Wi-Fi and ethernet.
> 
> Anyway, we are definitely interested in supporting all kind of use-
> cases and patches are always welcome :)

I know it's been done before, but one caveat is that the wifi driver
and the supplicant have to correctly support setting the WiFi device's
MAC address since bonding requires they have the same one.  That's been
a problem in the past and required fixes to the supplicant and drivers.
 But yeah, I'm sure we'd take patches fixing anything on the NM side.

Dan
___
networkmanager-list mailing list
networkmanager-list@gnome.org
https://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: Bonding wifi and wired

2016-03-08 Thread Thomas Haller
On Mon, 2016-03-07 at 23:34 -0500, Nikolay Martynov wrote:
> Hi.
> 
>   I just wanted to reach out to ask what's NetworkManager team's
> position on allowing bonding of wifi and wired interface? Are there
> any plans to support this? If not - it is due to no one being
> interested implementing it or because this feature would go against
> some large plans/ideology?
> 
>   I was able to make it work with NM on client side and OpenWRT on
> router side. Router side is easy. On NM side there is some manual
> config editing (which is fine) and some kinds that make day-to-day
> life less enjoyable than it should (like inability to manually
> connect
> to bonded wifi). SO I was curious - would patches fixing those
> smaller
> kinks be acceptable at all or is it something that NM team is just
> not
> interested in?
> 

I'm not familiar with the quirks of bonding of Wi-Fi and ethernet.

Anyway, we are definitely interested in supporting all kind of use-
cases and patches are always welcome :)


Thomas

signature.asc
Description: This is a digitally signed message part
___
networkmanager-list mailing list
networkmanager-list@gnome.org
https://mail.gnome.org/mailman/listinfo/networkmanager-list


Bonding wifi and wired

2016-03-07 Thread Nikolay Martynov
Hi.

  I just wanted to reach out to ask what's NetworkManager team's
position on allowing bonding of wifi and wired interface? Are there
any plans to support this? If not - it is due to no one being
interested implementing it or because this feature would go against
some large plans/ideology?

  I was able to make it work with NM on client side and OpenWRT on
router side. Router side is easy. On NM side there is some manual
config editing (which is fine) and some kinds that make day-to-day
life less enjoyable than it should (like inability to manually connect
to bonded wifi). SO I was curious - would patches fixing those smaller
kinks be acceptable at all or is it something that NM team is just not
interested in?

  Thanks!

-- 
Martynov Nikolay.
Email: mar.ko...@gmail.com
___
networkmanager-list mailing list
networkmanager-list@gnome.org
https://mail.gnome.org/mailman/listinfo/networkmanager-list