Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

ntm needs Networkmanager to work

2011-01-30
2013-05-30
  • When installing ntm the installer says all dependencies satisfied but
    it seems that 'NetWorkManager' has to be installed for ntm to work. That's a pity since on some machines (laptops) wicd works but  'NetWorkManager' does not. On my 32 bit Ubuntu 10.04 installation_ ntm_ only pops up for two seconds and then disappears / crashes.

    My ~/.ntm/ntm.log reads

    {<<NEW RUN>>
    1.2.2
    2011-01-30 00:11:56
    Linux comp 2.6.32-27-generic #49-Ubuntu SMP Wed Dec 1 23:52:12 UTC 2010 i686 GNU/Linux
    Description: Ubuntu 10.04.1 LTS
    params:

    Traceback (most recent call last):
      File "ntm.py", line 718, in <module>
        ntm = NTM()
      File "ntm.py", line 225, in __init__
        self.online_detector = onlinedetector.OnlineDetector(self.general_pref_online_check)
      File "/usr/share/ntm/onlinedetector.py", line 52, in __init__
        proxy = bus.get_object('org.freedesktop.NetworkManager', '/org/freedesktop/NetworkManager')
      File "/usr/lib/pymodules/python2.6/dbus/bus.py", line 244, in get_object
        follow_name_owner_changes=follow_name_owner_changes)
      File "/usr/lib/pymodules/python2.6/dbus/proxies.py", line 241, in __init__
        self._named_service = conn.activate_name_owner(bus_name)
      File "/usr/lib/pymodules/python2.6/dbus/bus.py", line 183, in activate_name_owner
        self.start_service_by_name(bus_name)
      File "/usr/lib/pymodules/python2.6/dbus/bus.py", line 281, in start_service_by_name
        'su', (bus_name, flags)))
      File "/usr/lib/pymodules/python2.6/dbus/connection.py", line 620, in call_blocking
        message, timeout)
    dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.NetworkManager was not provided by any .service files
    }

     
  • Luigi Tullio
    Luigi Tullio
    2011-05-04

    Hello,

    you can try to configurate NTM with "PING" mode.
    This mode don't need networkmanager, but is not able to disconnect the connection.

    NK