Re: NetworkManager dispatchers

2016-03-11 Thread Thomas Haller
Hi Ali, On Mon, 2016-02-29 at 17:40 -0800, Ali Nematollahi wrote: > Thanks! I've looked at nmcli radio but there is no good documentation > I could find for the version I am using. All of the documentation is > for newer version and don't apply. > > First of all, when I do: > > nmcli nm wwan >

Re: NetworkManager dispatchers

2016-03-10 Thread Ali Nematollahi
Hi Dan Thanks very much for the follow-up. Here is the output: root@beaglebone:~# mmcli -m 0 | grep IP IP | supported: 'none' root@beaglebone:~# mmcli -m 0 /org/freedesktop/ModemManager1/Modem/0 (device id '2ea06a44171a29335a8b7f781e0f9559bc24976d') -

Re: NetworkManager dispatchers

2016-03-10 Thread Dan Williams
On Fri, 2016-03-04 at 10:15 -0800, Ali Nematollahi wrote: > Hi Dan > > MM 1.4.12 and NM 1.0.10. > Sorry for the late follow-up; the issue appears to be that either NM or MM is unable to detect the supported IP types of the modem.  That's why you get this message: "Connection requested IPv4 but

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

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

Re: NetworkManager dispatchers

2016-03-04 Thread Ali Nematollahi
Hi Dan MM 1.4.12 and NM 1.0.10. I understand that the connection to bearer takes a bit of time, but when I get this: root~# mmcli -b /org/freedesktop/ModemManager1/Bearer/1 Bearer '/org/freedesktop/ModemManager1/Bearer/1' - Status | connected: 'yes'

Re: NetworkManager dispatchers

2016-03-04 Thread Dan Williams
On Thu, 2016-03-03 at 17:06 -0800, Ali Nematollahi wrote: > So I did some more work and Here is what I found, which still doesn't > make > any sense. > > When I checked the "bearer" info with mmcli: > Bearer '/org/freedesktop/ModemManager1/Bearer/0' >   - >   Status

Re: NetworkManager dispatchers

2016-03-03 Thread Ali Nematollahi
So I did some more work and Here is what I found, which still doesn't make any sense. When I checked the "bearer" info with mmcli: Bearer '/org/freedesktop/ModemManager1/Bearer/0' - Status | connected: 'no' | suspended: 'no'

Re: NetworkManager dispatchers

2016-03-03 Thread Ali Nematollahi
I made a progress. I enabled debugging and I saw the NM was complaining about dual-stack: NetworkManager[4883]: Loaded device plugin: NMWwanFactory (/usr/local/lib/NetworkManager/libnm-device-plugin-wwan.so) NetworkManager[4883]: Loaded device plugin: NMAtmManager

Re: NetworkManager dispatchers

2016-03-03 Thread Ali Nematollahi
Thanks Dan! I removed the connections and restarted NM and did what you suggested and here is what I get now: nmcli con add type gsm con-name ppp ifname ttyUSB2 apn internet.com Connection 'ppp' (94e24340-490b-4f96-91bb-c5511a2a5f50) successfully added.

Re: NetworkManager dispatchers

2016-03-03 Thread Dan Williams
On Thu, 2016-03-03 at 13:58 -0800, Ali Nematollahi wrote: > Okay so I was able to get MM 1.4.12 and NM 1.0.10 compiled and > deployed on > my unit, which I must admit wasn't easy. 0.9.4 was a lot easier, I > had to > do a whole lot of re-linking and stuff to get 1.0.10 set up and > running. > Good

Re: NetworkManager dispatchers

2016-03-03 Thread Ali Nematollahi
Okay so I was able to get MM 1.4.12 and NM 1.0.10 compiled and deployed on my unit, which I must admit wasn't easy. 0.9.4 was a lot easier, I had to do a whole lot of re-linking and stuff to get 1.0.10 set up and running. Good news is it is up and running! I got my 3g up and running and it's all

Re: NetworkManager dispatchers

2016-03-01 Thread Dan Williams
On Mon, 2016-02-29 at 17:40 -0800, Ali Nematollahi wrote: > Thanks! I've looked at nmcli radio but there is no good documentation > I > could find for the version I am using. All of the documentation is > for > newer version and don't apply. Yeah, you say later you're using NM 0.9.4, which is

Re: NetworkManager dispatchers

2016-02-29 Thread Ali Nematollahi
Thanks! I've looked at nmcli radio but there is no good documentation I could find for the version I am using. All of the documentation is for newer version and don't apply. First of all, when I do: nmcli nm wwan WWAN disabled Then I do: nmcli nm wwan on nmcli nm wwan WWAN disabled nmcli nm

Re: NetworkManager dispatchers

2016-02-26 Thread Dan Williams
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 >

Re: NetworkManager dispatchers

2016-02-26 Thread Ali Nematollahi
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

Re: NetworkManager dispatchers

2016-02-26 Thread Thomas Haller
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

NetworkManager dispatchers

2016-02-25 Thread Ali Nematollahi
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