Re: NetworkManager 1.1.90 : nm-exported-object.c:293:nm_exported_object_class_add_interface: assertion failed: (object_property != NULL)

2016-03-14 Thread Dan Williams
On Mon, 2016-03-14 at 10:51 -0700, Ali Nematollahi wrote: > Hello Dan > Ok, some progress > One of my colleagues suggested sending an "AT" at the same time as > "AT^SCFG": AT^SCFG\r\AT"...So I changed the plugin that sends SCFG > and it > actually worked. The modem responds to SCFG immediately

Re: NetworkManager 1.1.90 : nm-exported-object.c:293:nm_exported_object_class_add_interface: assertion failed: (object_property != NULL)

2016-03-11 Thread Dan Williams
On Fri, 2016-03-11 at 10:53 -0800, Ali Nematollahi wrote: > Hi Dan > > I did the changes, and it still fails. I made the wait a little > longer, > still fails. I sent an mmcli AT command to the modem, it fails to > respond: > > Isn't that a response to ^SCFG? Yes, it is.  But notice how it

Re: NetworkManager 1.1.90 : nm-exported-object.c:293:nm_exported_object_class_add_interface: assertion failed: (object_property != NULL)

2016-03-11 Thread Ali Nematollahi
Hi Thomas Thanks! Here is the results (full logs from start to finish attached): (ModemManager:2691): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed ModemManager[2691]: [1457692760.677812] [mm-port-serial.c:1294] _close_internal(): (ttyUSB2) device open count

Re: NetworkManager 1.1.90 : nm-exported-object.c:293:nm_exported_object_class_add_interface: assertion failed: (object_property != NULL)

2016-03-11 Thread Thomas Haller
On Thu, 2016-03-10 at 10:24 -0800, Ali Nematollahi wrote: >  > NetworkManager[2717]:  startup complete > [New Thread 0xb4e0d3c0 (LWP 2724)] > NetworkManager[2717]:  ModemManager available in the bus > NetworkManager[2717]:  (ttyUSB2): new Broadband device >

Re: NetworkManager 1.1.90 : nm-exported-object.c:293:nm_exported_object_class_add_interface: assertion failed: (object_property != NULL)

2016-03-11 Thread Dan Williams
On Thu, 2016-03-10 at 17:34 -0800, Ali Nematollahi wrote: > So I've started looking at the code and I looked for the error > message that > says Missing +CGDCONT prefix. I added debugging code to print out the > "response" and the result of g_str_has_prefix () function call in >

Re: NetworkManager 1.1.90 : nm-exported-object.c:293:nm_exported_object_class_add_interface: assertion failed: (object_property != NULL)

2016-03-10 Thread Ali Nematollahi
So I've started looking at the code and I looked for the error message that says Missing +CGDCONT prefix. I added debugging code to print out the "response" and the result of g_str_has_prefix () function call in src/mm-modem-helpers.c: mm_3gpp_parse_cgdcont_test_response() Here is my debugging

Re: NetworkManager 1.1.90 : nm-exported-object.c:293:nm_exported_object_class_add_interface: assertion failed: (object_property != NULL)

2016-03-10 Thread Dan Williams
On Thu, 2016-03-10 at 13:49 -0800, Ali Nematollahi wrote: > ^SCFG query comes after CGDCONT query: Do you see any "AT^SCFG=?" sent by ModemManager anywhere in the logs? Dan > ModemManager[2738]: [946691988.680690] [mm-port-serial- > at.c:440] > debug_log(): (ttyUSB2): --> 'AT+CGDCONT=?' >

Re: NetworkManager 1.1.90 : nm-exported-object.c:293:nm_exported_object_class_add_interface: assertion failed: (object_property != NULL)

2016-03-10 Thread Ali Nematollahi
^SCFG query comes after CGDCONT query: ModemManager[2738]: [946691988.680690] [mm-port-serial-at.c:440] debug_log(): (ttyUSB2): --> 'AT+CGDCONT=?' ModemManager[2738]: [946691988.699302] [mm-port-serial-at.c:440] debug_log(): (ttyUSB2): <-- '^SCFG: "Audio/Loop",("0","1")^SCFG:

Re: NetworkManager 1.1.90 : nm-exported-object.c:293:nm_exported_object_class_add_interface: assertion failed: (object_property != NULL)

2016-03-10 Thread Dan Williams
On Thu, 2016-03-10 at 11:00 -0800, Ali Nematollahi wrote: > Hi Dan > > Perfect. I did that and I see this: > > > ModemManager[2757]: (ttyUSB2) device open count is 2 (close) > ModemManager[2757]: (ttyUSB2): --> 'AT+CGDCONT=?' > What are the previous 10 lines here?  Does the modem really

Re: NetworkManager 1.1.90 : nm-exported-object.c:293:nm_exported_object_class_add_interface: assertion failed: (object_property != NULL)

2016-03-10 Thread Ali Nematollahi
Hi Dan Perfect. I did that and I see this: ModemManager[2757]: (ttyUSB2) device open count is 2 (close) ModemManager[2757]: (ttyUSB2): --> 'AT+CGDCONT=?' ModemManager[2757]: (ttyUSB2): <-- '^SCFG: "Audio/Loop",("0","1")^SCFG: "Call/ECC",("0"-"255")^SCFG: "Call/Speech/Codec",("0","1")^SCFG:

Re: NetworkManager 1.1.90 : nm-exported-object.c:293:nm_exported_object_class_add_interface: assertion failed: (object_property != NULL)

2016-03-10 Thread Dan Williams
On Thu, 2016-03-10 at 10:24 -0800, Ali Nematollahi wrote: > Hi Thomas > > Thanks! This is much better...here is the output from start to > finish: > mmcli -m 0 > > /org/freedesktop/ModemManager1/Modem/0 (device id > '2ea06a44171a29335a8b7f781e0f9559bc24976d') >   - >  

Re: NetworkManager 1.1.90 : nm-exported-object.c:293:nm_exported_object_class_add_interface: assertion failed: (object_property != NULL)

2016-03-10 Thread Ali Nematollahi
Hi Thomas Thanks! This is much better...here is the output from start to finish: mmcli -m 0 /org/freedesktop/ModemManager1/Modem/0 (device id '2ea06a44171a29335a8b7f781e0f9559bc24976d') - Hardware | manufacturer: 'Cinterion' | model: 'PHS8-USA'

Re: NetworkManager 1.1.90 : nm-exported-object.c:293:nm_exported_object_class_add_interface: assertion failed: (object_property != NULL)

2016-03-10 Thread Thomas Haller
On Wed, 2016-03-09 at 14:35 -0800, Ali Nematollahi wrote: > I'm not concerned about IPv6 at all.  > I'm running Kernel 3.12 > > Here is the backtrace: > root@beaglebone:~# gdb /usr/sbin/NetworkManager > GNU gdb (GDB) 7.4.1-debian > Copyright (C) 2012 Free Software Foundation, Inc. > License

Re: NetworkManager 1.1.90 : nm-exported-object.c:293:nm_exported_object_class_add_interface: assertion failed: (object_property != NULL)

2016-03-09 Thread Ali Nematollahi
I'm not concerned about IPv6 at all. I'm running Kernel 3.12 Here is the backtrace: root@beaglebone:~# gdb /usr/sbin/NetworkManager GNU gdb (GDB) 7.4.1-debian Copyright (C) 2012 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is

Re: NetworkManager 1.1.90 : nm-exported-object.c:293:nm_exported_object_class_add_interface: assertion failed: (object_property != NULL)

2016-03-09 Thread Thomas Haller
On Tue, 2016-03-08 at 15:20 -0800, Ali Nematollahi wrote: > Hi guys Hi, > > I installed the development version of NM 1.1.90 and I was trying to > add a connection but NM crapped out with the error: > NetworkManager:ERROR:nm-exported- > object.c:293:nm_exported_object_class_add_interface:

NetworkManager 1.1.90 : nm-exported-object.c:293:nm_exported_object_class_add_interface: assertion failed: (object_property != NULL)

2016-03-08 Thread Ali Nematollahi
Hi guys I installed the development version of NM 1.1.90 and I was trying to add a connection but NM crapped out with the error: NetworkManager:ERROR:nm-exported-object.c:293:nm_exported_object_class_add_interface: assertion failed: (object_property != NULL) Any ideas why?