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


Re: NetworkManager dispatchers

2016-03-07 Thread Ali Nematollahi
I have had absolutely no luck today either and I really need help with
this.

I am configuring and compiling the 1.0.10 like this:

./configure --localstatedir=/var --with-systemdsystemunitdir=no
make
make install

I have tried with ./configure --localstatedir=/var --disable-ppp
--with-systemdsystemunitdir=no

and same problem.

I am using Debian Wheezy with MM 1.4.12 and NM 1.0.10. MM works flawlessly
but I cannot seem to use NM to set up a connection (PPP).

Any ideas what I'm not doing right? Anyone?

Thanks







On Mon, Mar 7, 2016 at 9:02 AM, Ali Nematollahi  wrote:

> any thoughts on this guys? is there a bug in this version of nm? should I
> try another version?
>
> On Fri, Feb 26, 2016 at 2:22 PM, Dan Williams  wrote:
>
>> On Fri, 2016-02-26 at 10:50 -0800, Ali Nematollahi wrote:
>> > Thanks!
>> >
>> > How to I enable "service called NetworkManager-dispatcher or
>> > nm-dispatcher"? When I search for "dispatcher" in my filesystem only
>> > these
>> > come up:
>> > /etc/NetworkManager/dispatcher.d
>> > /etc/dbus-1/system.d/nm-dispatcher.conf
>> > /usr/share/dbus-1/system-
>> > services/org.freedesktop.nm_dispatcher.service
>> > /usr/lib/NetworkManager/nm-dispatcher.action
>> > /usr/sbin/usb_modeswitch_dispatcher
>> >
>> >
>> > Starting MM as a service makes perfect sense.
>> > The question is however, how do I find out when to say "enable" the
>> > modem,
>> > or to do a simple-connect? I was planning on using the dispatchers
>> > for all
>> > of that, to automate all of those. So basically:
>>
>> NetworkManager will take care of that, if 'wwan' radios are enabled.
>>  See 'nmcli radio'.  As long as 'nmcli radio' reports WWAN enabled, and
>> as long as your machine has no airplane switch for WWAN (or if it does
>> the switch enables the WWAN), NetworkManager will enable the modem when
>> it is discovered by ModemManager and it will be available to connect
>> with from NetworkManager.
>>
>> Recent versions of NetworkManager (1.0.8+) also have support for WWAN
>> autoconnect, so I don't think you need a dispatcher script here at all.
>>
>> > - MM starts
>> > - modem comes up, status -> Disabled
>> >- dispatcher kicks in: status -> Enabled
>> > - dispatcher kicks in: simple-connect
>>
>> Dispatcher scripts only trigger on connection up/down, so you don't get
>> any events on modem status changes.  But that shouldn't matter, since
>> NetworkManager can take care of all of the WWAN connection stuff as
>> long as ModemManager is up and running (like if its run as a system
>> service).
>>
>> Dan
>>
>> > Thanks!
>> >
>> >
>> > On Fri, Feb 26, 2016 at 12:36 AM, Thomas Haller 
>> > wrote:
>> >
>> > > On Thu, 2016-02-25 at 17:16 -0800, Ali Nematollahi wrote:
>> > > > Hi guys
>> > > >
>> > > > I'm trying to experiment with NM dispatchers but I can't seem to
>> > > > get
>> > > > anything done. I have a very basic script
>> > > > in /etc/NetworkManager/dispatcher.d/02test:
>> > > >
>> > > > #!/bin/sh -e
>> > > >
>> > > > echo "Starting ModemManager"
>> > > > ModemManager --debug &
>> > > >
>> > > > But it is not running. I have made sure the scripts and
>> > > > directories
>> > > > are executable (a+x). But I cannot seem to get the scripts to
>> > > > run.
>> > > >
>> > > > Can someone help me with this please?
>> > > > NetworkManager --version
>> > > > 0.9.4.0
>> > >
>> > > You probably also need to enable a service called NetworkManager-
>> > > dispatcher or nm-dispatcher.
>> > >
>> > >
>> > > > Question 2: I wanted to use the dispatcher script to start
>> > > > ModemManager on startup and to enable the 3G modem I have. Can it
>> > > > be
>> > > > done? I have seen examples of how to start a connection when an
>> > > > interface comes up but nothing that could help me with this.
>> > >
>> > > It looks very wrong to start ModemManager from a dispatcher script.
>> > > Those scripts are invoked often and at various times, you don't
>> > > want to
>> > > start ModemManager every time something happens with a networking
>> > > interface.
>> > >
>> > > Instead, start ModemManager as a regular system service, just like
>> > > NetworkManager.
>> > >
>> > >
>> > > Thomas
>> > >
>> > ___
>> > networkmanager-list mailing list
>> > networkmanager-list@gnome.org
>> > https://mail.gnome.org/mailman/listinfo/networkmanager-list
>>
>
>
___
networkmanager-list mailing list
networkmanager-list@gnome.org
https://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: NetworkManager dispatchers

2016-03-07 Thread Ali Nematollahi
any thoughts on this guys? is there a bug in this version of nm? should I
try another version?

On Fri, Feb 26, 2016 at 2:22 PM, Dan Williams  wrote:

> On Fri, 2016-02-26 at 10:50 -0800, Ali Nematollahi wrote:
> > Thanks!
> >
> > How to I enable "service called NetworkManager-dispatcher or
> > nm-dispatcher"? When I search for "dispatcher" in my filesystem only
> > these
> > come up:
> > /etc/NetworkManager/dispatcher.d
> > /etc/dbus-1/system.d/nm-dispatcher.conf
> > /usr/share/dbus-1/system-
> > services/org.freedesktop.nm_dispatcher.service
> > /usr/lib/NetworkManager/nm-dispatcher.action
> > /usr/sbin/usb_modeswitch_dispatcher
> >
> >
> > Starting MM as a service makes perfect sense.
> > The question is however, how do I find out when to say "enable" the
> > modem,
> > or to do a simple-connect? I was planning on using the dispatchers
> > for all
> > of that, to automate all of those. So basically:
>
> NetworkManager will take care of that, if 'wwan' radios are enabled.
>  See 'nmcli radio'.  As long as 'nmcli radio' reports WWAN enabled, and
> as long as your machine has no airplane switch for WWAN (or if it does
> the switch enables the WWAN), NetworkManager will enable the modem when
> it is discovered by ModemManager and it will be available to connect
> with from NetworkManager.
>
> Recent versions of NetworkManager (1.0.8+) also have support for WWAN
> autoconnect, so I don't think you need a dispatcher script here at all.
>
> > - MM starts
> > - modem comes up, status -> Disabled
> >- dispatcher kicks in: status -> Enabled
> > - dispatcher kicks in: simple-connect
>
> Dispatcher scripts only trigger on connection up/down, so you don't get
> any events on modem status changes.  But that shouldn't matter, since
> NetworkManager can take care of all of the WWAN connection stuff as
> long as ModemManager is up and running (like if its run as a system
> service).
>
> Dan
>
> > Thanks!
> >
> >
> > On Fri, Feb 26, 2016 at 12:36 AM, Thomas Haller 
> > wrote:
> >
> > > On Thu, 2016-02-25 at 17:16 -0800, Ali Nematollahi wrote:
> > > > Hi guys
> > > >
> > > > I'm trying to experiment with NM dispatchers but I can't seem to
> > > > get
> > > > anything done. I have a very basic script
> > > > in /etc/NetworkManager/dispatcher.d/02test:
> > > >
> > > > #!/bin/sh -e
> > > >
> > > > echo "Starting ModemManager"
> > > > ModemManager --debug &
> > > >
> > > > But it is not running. I have made sure the scripts and
> > > > directories
> > > > are executable (a+x). But I cannot seem to get the scripts to
> > > > run.
> > > >
> > > > Can someone help me with this please?
> > > > NetworkManager --version
> > > > 0.9.4.0
> > >
> > > You probably also need to enable a service called NetworkManager-
> > > dispatcher or nm-dispatcher.
> > >
> > >
> > > > Question 2: I wanted to use the dispatcher script to start
> > > > ModemManager on startup and to enable the 3G modem I have. Can it
> > > > be
> > > > done? I have seen examples of how to start a connection when an
> > > > interface comes up but nothing that could help me with this.
> > >
> > > It looks very wrong to start ModemManager from a dispatcher script.
> > > Those scripts are invoked often and at various times, you don't
> > > want to
> > > start ModemManager every time something happens with a networking
> > > interface.
> > >
> > > Instead, start ModemManager as a regular system service, just like
> > > NetworkManager.
> > >
> > >
> > > Thomas
> > >
> > ___
> > networkmanager-list mailing list
> > networkmanager-list@gnome.org
> > https://mail.gnome.org/mailman/listinfo/networkmanager-list
>
___
networkmanager-list mailing list
networkmanager-list@gnome.org
https://mail.gnome.org/mailman/listinfo/networkmanager-list