NetworkManager doesn't detect my device

2010-02-21 Thread Jochen Wiedmann

Hi,

I am trying to use my UTMS stick on a different machine running Fedora 11. I
was doing this on another machine with Fedora 10 and Fedora 11 before.
Details are described in my Blog on

  
http://grumpyapache.blogspot.com/2009/05/mobile-internet-with-fedora-10-and.html
http://grumpyapache.blogspot.com/2009/05/mobile-internet-with-fedora-10-and.html
 

I am now following basically the same procedure. I get so far, that the
stick is recognized as a modem and the right kernel module is loaded:

  [a...@tethys ~]$ hal-find-by-capability --capability=modem
 
/org/freedesktop/Hal/devices/usb_device_af0_6971_Serial_Number_if0_serial_unknown_1
 
/org/freedesktop/Hal/devices/usb_device_af0_6971_Serial_Number_if0_serial_unknown_0
  [a...@tethys ~]$ lsmod | grep option
  option 20188  0
  usbserial  27572  1 option

However, when I start nm-connection-editor and try to enter a new mobile
broadband device, then the device list is greyed out. So it looks like
NetworkManager doesn't recognize my device anyways.

Any ideas, what might be wrong?

Thanks,

Jochen

-- 
View this message in context: 
http://old.nabble.com/NetworkManager-doesn%27t-detect-my-device-tp27676275p27676275.html
Sent from the Gnome - NetworkManager mailing list archive at Nabble.com.

___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: daier...@gmail.com

2010-02-21 Thread Jirka Klimes
On Saturday 20 of February 2010 16:07:54 kiran wrote:
 Thanks jklimes
  But what i found is that AddConnection Api is present in
 Network Manager 0.8 dbus interface  and not on Network Manager 0.7 Dbus
 interface, is that true or i am missing something.
  Even the dbus interface Documentation of NetworkManager says
 that.
 
 regards
 kiran
 

Actually, AddConnection method wad added 23.07.2009 (git commit 
0d69dfe39ef61b42b2024c7fbd8bbad9e9c6d164) in NM version 0.7.995.

Some discussion on AddConnection can be also found here:
http://mail.gnome.org/archives/networkmanager-list/2009-November/msg00172.html

Jirka
___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: daier...@gmail.com

2010-02-21 Thread kiran
Thanks


On Sat, Feb 20, 2010 at 8:37 PM, kiran kiranbhat2...@gmail.com wrote:

 Thanks jklimes
  But what i found is that AddConnection Api is present in
 Network Manager 0.8 dbus interface  and not on Network Manager 0.7 Dbus
 interface, is that true or i am missing something.
  Even the dbus interface Documentation of NetworkManager says
 that.

 regards
 kiran






 On Thu, Feb 11, 2010 at 7:28 PM, Jirka Klimes jkli...@redhat.com wrote:

 On Thursday 11 of February 2010 12:45:33 kiran wrote:
  Hi
 
  How can i add new network Connection (cdma,gsm)  to
 the
  system-settings connection list through Dbus Api Interface exported by
 the
  System settings  Service.
 
 
  regards
  kiran
 

 Hi kiran,

 yes, it's possible. You would use AddConnection(connection) method of
 org.freedesktop.NetworkManagerSettings interface.
 You can use attached python example.

 However, be sure that you use 'keyfile' plugin, otherwise you won't be
 able to
 store the connection (just keyfile plugin supports it).

 (/etc/NetworkManager/nm-system-settings.conf
 should contain keyfile keyword:
 [main]
 plugins=ifcfg-rh, keyfile
 )

 Jirka


  cut here 
 #!/usr/bin/python

 import dbus

 uuid = f375c550-564a-4235-be1d-74a2c0c0bdd1

 s_con = { 'id':  'My GSM connection',
  'uuid':uuid,
  'type':'gsm',
  'autoconnect': False }

 s_gsm = { 'username': 'user_name',
  'apn':  'epc.tmobile.com',
  'number':   '*99#' }

 s_ip4 = { 'method': 'auto' }

 s_ppp = { 'noauth': True }

 s_serial = { 'baud': 115200 }


 con = { 'connection': s_con,
'gsm': s_gsm,
'ppp': s_ppp,
'serial': s_serial,
'ipv4': s_ip4 }


 sys_bus = dbus.SystemBus()
 proxy = sys_bus.get_object(org.freedesktop.NetworkManagerSystemSettings,
 /org/freedesktop/NetworkManagerSettings)
 iface = dbus.Interface(proxy, org.freedesktop.NetworkManagerSettings)

 try:
iface.AddConnection(con)
 except Exception, e:
print e
  cut here 



___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list