Re: NetworkManager and ModemManager



Thanks I will update and see if I can get it to build. 

Regards
Marc

On 5 Dec 2013, at 23:12, "Dan Williams" <dcbw redhat com> wrote:

On Thu, 2013-12-05 at 22:59 +0000, Marc Murphy wrote:
It must be as when I query the available Dbus interfaces I get;
# dbus-send --system --print-reply --dest=org.freedesktop.DBus /org/freedesktop/DBus 
org.freedesktop.DBus.ListNames
method return sender=org.freedesktop.DBus -> dest=:1.23 reply_serial=2
  array [
     string "org.freedesktop.DBus"
     string ":1.23"
     string ":1.0"
     string ":1.1"
     string "org.freedesktop.ModemManager1"
     string "org.freedesktop.NetworkManager"
  ]

Which version of NetworkManager do I need to switch to in order to get the ModemManager1 Dbus interface ?

NM 0.9.8 and later have support for ModemManager >= 1.0.

Dan

Regards
Marc


-----Original Message-----
From: networkmanager-list [mailto:networkmanager-list-bounces gnome org] On Behalf Of Marc Murphy
Sent: 05 December 2013 22:41
To: 'networkmanager-list gnome org'
Subject: RE: NetworkManager and ModemManager

I am just having a thought, is it because ModemManager uses a ModemManager1 dbus path and 
network-manager-0.9.2.0 doesn't support it ?

Regards
Marc

-----Original Message-----
From: Marc Murphy 
Sent: 05 December 2013 22:28
To: 'networkmanager-list gnome org'
Subject: NetworkManager and ModemManager

Hello,
I am trying to get NetworkManager and ModemManager to work together on an embedded system.  There is no 
GUI so I have to use the config files to set everything up.

Should network-manager-0.9.2.0 and modem-manager-0.7.990 work together using the dbus interface ?

I just cant seem to make them talk to each other !

NetworkManager can see my eth0 device;
# nmcli d
DEVICE     TYPE              STATE
eth0       802-3-ethernet    unmanaged

I have forced it to be unmamaged at the moment as I am running NFS and it will cause the boot connection 
to be lost and hang the system.

ModemManager can see the modem;
# mmcli -m 0

/org/freedesktop/ModemManager1/Modem/0 (device id '61d98ebe0deeb14a83d951229303f0e8a245cd35')
 -------------------------
 Hardware |   manufacturer: 'huawei'
          |          model: 'EM820W'
          |       revision: '11.809.05.80.00'
          |   capabilities: 'gsm-umts'
          |        current: 'gsm-umts'
          |   equipment id: '354283040XXXXXX'
 -------------------------
 System   |         device: '/sys/devices/platform/usbhs_omap/ehci-omap.0/usb1/1-1/1-1.1'
          |        drivers: 'option1'
          |         plugin: 'Huawei'
          |   primary port: 'ttyUSB3'
 -------------------------
 Numbers  |           own : '+447539XXXXXX'
 -------------------------
 Status   |           lock: 'none'
          | unlock retries: 'sim-pin (3), sim-pin2 (3), sim-puk (10), sim-puk2 (10)'
          |          state: 'registered'
          |    access tech: 'umts'
          | signal quality: '12' (recent)
 -------------------------
 Modes    |      supported: '2g, 3g'
          |        allowed: '2g, 3g'
          |      preferred: '3g'
 -------------------------
 Bands    |      supported: 'unknown'
          |        current: 'unknown'
 -------------------------
 3GPP     |           imei: '35428304XXXXXXX'
          |  enabled locks: 'none'
          |    operator id: '23433'
          |  operator name: 'Orange'
          |   registration: 'home'
 -------------------------
 SIM      |           path: '/org/freedesktop/ModemManager1/SIM/0'


Should the two just talk to each other ? or do I need to set something up ?

I would like to make NetworkManager automatically connect the modem and get an IP address so I can use the 
connection.

Can anyone help me over this stumbling block please ?

Thanks
Marc
_______________________________________________
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




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]