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


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