I have installed and setup 3G which works perfectly fine. I use sakis3g scripts for connecting to 3G network.
My VPN profile created with network manager (client/NetworkManager GUI) works well.
#cnetworkmanager --activate-connection=user,‘XXXXX_vpn_singapore’,wlan0,&
Now when I do the same with using using ppp0 (which is after connecting to VPN) I get the following error messages.
#cnetworkmanager --activate-connection=user,‘XXXXX_vpn_singapore’,ppp0,&
Device ‘ppp0’ not found
ERROR:dbus.connection:Unable to set arguments (‘org.freedesktop.NetworkManagerUserSettings’, dbus.ObjectPath(’/org/freedesktop/NetworkManagerSettings/1’), None, ‘/’) according to signature u’sooo’: <type ‘exceptions.TypeError’>: Expected a string or unicode object
Traceback (most recent call last):
File “/usr/bin/cnetworkmanager”, line 326, in <module>
nm.ActivateConnection(svc, conn, dev, appath)
File “/usr/lib/python2.6/site-packages/dbusclient/func.py”, line 139, in adapted_callable
return self.ret(args_adapted_callable(*args, **kwargs))
File “/usr/lib/python2.6/site-packages/dbusclient/func.py”, line 96, in adapted_callable
return callable(*args, **kwargs)
File “/usr/lib/python2.6/site-packages/dbus/proxies.py”, line 140, in call
**keywords)
File “/usr/lib/python2.6/site-packages/dbus/connection.py”, line 612, in call_blocking
message.append(signature=signature, *args)
TypeError: Expected a string or unicode object
I tried looking up the device name from network name and get the below entries:
cnetworkmanager --device-info=ttyUSB1
Property | Value
-------------±--------------------------------------
Udi | /org/freedesktop/ModemManager/Modems/0
Interface | ttyUSB1
Driver | option1
Capabilities | NM_SUPPORTED
State | DISCONNECTED
Managed | True
DeviceType | GSM
Similarly, I tried the following and still see the same error messages:
#cnetworkmanager --activate-connection=user,‘XXXXX_vpn_singapore’,ttyUSB1,&
Traceback (most recent call last):
File “/usr/bin/cnetworkmanager”, line 326, in <module>
nm.ActivateConnection(svc, conn, dev, appath)
File “/usr/lib/python2.6/site-packages/dbusclient/func.py”, line 139, in adapted_callable
return self.ret(args_adapted_callable(*args, **kwargs))
File “/usr/lib/python2.6/site-packages/dbusclient/func.py”, line 96, in adapted_callable
return callable(*args, **kwargs)
File “/usr/lib/python2.6/site-packages/dbus/proxies.py”, line 140, in call
**keywords)
File “/usr/lib/python2.6/site-packages/dbus/connection.py”, line 622, in call_blocking
message, timeout)
dbus.exceptions.DBusException: org.freedesktop.NetworkManager.UnknownDevice: Could not find source connection, or the source connection had no active device.
Is is possible to use {c}NetworkManager with ppp0 as of now ?
Experts please shed some light on this matter, if i am missing anything or is this a known issue. I am more than willing to provide more details if required.
Thanks in advace,
askb