Re: NM with CMOTECH CNU-680 / ice.net D-50

2008-06-16 Thread Dan Williams
On Sat, 2008-06-14 at 23:09 +0200, Peter Åstrand wrote:
 On Wed, 11 Jun 2008, Peter Åstrand wrote:
 
  Selecting Auto CDMA in NM fails. I guess this is because no username 
  or
  password is provided. For ice.net, both the username and password is
  public, cdma and cdma, but of course NM doesn't know this? It does
  figure our the phone number (#777) automatically, though.
  Sorry.  What's the output of 'rpm -qv NetworkManager' ?  If you're using
  svn3623 (which shipped with F9) you may need to try a testing update to
  get the user/pass support to work correctly.  Let me know what version
  you've got.
 
  I had NetworkManager-0.7.0-0.9.3.svn3623.fc9.i386, now upgraded to 
  NetworkManager-0.7.0-0.9.4.svn3675.fc9.i386.rpm. The problem remains and 
  the 
  error messages are the same.
 
 I've added a Bugzilla entry for this now.
 
 Wrt to the fdi file, here's a patch. Can you commit it?

Committed upstream to hal-info.

Dan

 --- 10-modem.fdi.git2008-06-14 22:47:44.0 +0200
 +++ 10-modem.fdi2008-06-14 23:08:35.0 +0200
 @@ -293,8 +293,8 @@
 
 !-- CMOTECH --
 match key=@info.parent:usb.vendor_id int=0x16d8
 -!-- C-motech CNU-550 (USB, EV-DO) --
 -match key=@info.parent:usb.product_id int_outof=0x5543
 +!-- C-motech CNU-550, CNU-680 (USB, EV-DO) --
 +match key=@info.parent:usb.product_id int_outof=0x5543;0x680a
 match key=@info.parent:usb.interface.number int=0
   append key=info.capabilities type=strlistmodem/append
   append key=modem.command_sets 
 type=strlistIS-707-A/append
 
 Regards, 
 /Peter Åstrand [EMAIL PROTECTED]
 

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


Re: NM with CMOTECH CNU-680 / ice.net D-50

2008-06-14 Thread Peter Åstrand

On Wed, 11 Jun 2008, Peter Åstrand wrote:

Selecting Auto CDMA in NM fails. I guess this is because no username 
or

password is provided. For ice.net, both the username and password is
public, cdma and cdma, but of course NM doesn't know this? It does
figure our the phone number (#777) automatically, though.

Sorry.  What's the output of 'rpm -qv NetworkManager' ?  If you're using
svn3623 (which shipped with F9) you may need to try a testing update to
get the user/pass support to work correctly.  Let me know what version
you've got.


I had NetworkManager-0.7.0-0.9.3.svn3623.fc9.i386, now upgraded to 
NetworkManager-0.7.0-0.9.4.svn3675.fc9.i386.rpm. The problem remains and the 
error messages are the same.


I've added a Bugzilla entry for this now.

Wrt to the fdi file, here's a patch. Can you commit it?

--- 10-modem.fdi.git2008-06-14 22:47:44.0 +0200
+++ 10-modem.fdi2008-06-14 23:08:35.0 +0200
@@ -293,8 +293,8 @@

   !-- CMOTECH --
   match key=@info.parent:usb.vendor_id int=0x16d8
-!-- C-motech CNU-550 (USB, EV-DO) --
-match key=@info.parent:usb.product_id int_outof=0x5543
+!-- C-motech CNU-550, CNU-680 (USB, EV-DO) --
+match key=@info.parent:usb.product_id int_outof=0x5543;0x680a
   match key=@info.parent:usb.interface.number int=0
 append key=info.capabilities type=strlistmodem/append
 append key=modem.command_sets type=strlistIS-707-A/append

Regards, 
/Peter Åstrand [EMAIL PROTECTED]


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


Re: NM with CMOTECH CNU-680 / ice.net D-50

2008-06-11 Thread Peter Åstrand

On Tue, 10 Jun 2008, Dan Williams wrote:


Selecting Auto CDMA in NM fails. I guess this is because no username or
password is provided. For ice.net, both the username and password is
public, cdma and cdma, but of course NM doesn't know this? It does
figure our the phone number (#777) automatically, though.

Sorry.  What's the output of 'rpm -qv NetworkManager' ?  If you're using
svn3623 (which shipped with F9) you may need to try a testing update to
get the user/pass support to work correctly.  Let me know what version
you've got.


I had NetworkManager-0.7.0-0.9.3.svn3623.fc9.i386, now upgraded to 
NetworkManager-0.7.0-0.9.4.svn3675.fc9.i386.rpm. The problem remains and 
the error messages are the same.


Best regards, 
/Peter Åstrand [EMAIL PROTECTED]
___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: NM with CMOTECH CNU-680 / ice.net D-50

2008-06-10 Thread Dan Williams
On Tue, 2008-06-10 at 08:17 +0200, Peter Åstrand wrote:
 On Mon, 9 Jun 2008, Dan Williams wrote:
 
  Selecting Auto CDMA in NM fails. I guess this is because no username or
  password is provided. For ice.net, both the username and password is
  public, cdma and cdma, but of course NM doesn't know this? It does
  figure our the phone number (#777) automatically, though.
 
  Jump into the connection editor (/usr/bin/nm-connection-editor) and add
  the username and password for the auto cdma connection.  Does it work
  then?
 
 Assuming that this is the same as right-click, select Edit connections 
 and creating a new connection under Mobile Broadband: No, this does not 
 work. I was trying to say that:

Sorry.  What's the output of 'rpm -qv NetworkManager' ?  If you're using
svn3623 (which shipped with F9) you may need to try a testing update to
get the user/pass support to work correctly.  Let me know what version
you've got.

Dan

 
  The problem is, manually creating a Mobile Broadband connection doesn't
  work either. See log below. Any ideas? I'm using Fedora9.
 
 Best regards,
 Peter Åstrand
 
 
  Jun  7 20:22:46 sandy NetworkManager: info  Activation (ttyACM0) 
  starting connection 'ice.net'
  Jun  7 20:22:46 sandy NetworkManager: info  (ttyACM0): device state 
  change: 3 - 4
  Jun  7 20:22:46 sandy NetworkManager: info  Activation (ttyACM0) Stage 1 
  of 5 (Device Prepare) scheduled...
  Jun  7 20:22:46 sandy NetworkManager: info  Activation (ttyACM0) Stage 1 
  of 5 (Device Prepare) started...
  Jun  7 20:22:46 sandy NetworkManager: info  Activation (ttyACM0) Stage 1 
  of 5 (Device Prepare) complete.
  Jun  7 20:22:46 sandy NetworkManager: info  Connected, Woo!
  Jun  7 20:22:46 sandy NetworkManager: info  Activation (ttyACM0) Stage 2 
  of 5 (Device Configure) scheduled...
  Jun  7 20:22:46 sandy NetworkManager: info  Activation (ttyACM0) Stage 2 
  of 5 (Device Configure) starting...
  Jun  7 20:22:46 sandy NetworkManager: info  (ttyACM0): device state 
  change: 4 - 5
  Jun  7 20:22:46 sandy NetworkManager: info  Starting pppd connection
  Jun  7 20:22:46 sandy NetworkManager: info  Activation (ttyACM0) Stage 2 
  of 5 (Device Configure) complete.
  Jun  7 20:22:47 sandy pppd[3620]: Plugin 
  /usr/lib/pppd/2.4.4/nm-pppd-plugin.so loaded.
  Jun  7 20:22:47 sandy kernel: PPP generic driver version 2.4.2
  Jun  7 20:22:47 sandy pppd[3620]: pppd 2.4.4 started by root, uid 0
  Jun  7 20:22:47 sandy pppd[3620]: Using interface ppp0
  Jun  7 20:22:47 sandy pppd[3620]: Connect: ppp0 -- /dev/ttyACM0
  Jun  7 20:22:47 sandy NetworkManager: WARN  
  impl_ppp_manager_need_secrets(): Cleared secrets, but setting didn't need 
  any secrets.
  Jun  7 20:22:47 sandy pppd[3620]: Unable to obtain CHAP password for 
  sandy.lkpg.cendio.se on pdsn from plugin
  Jun  7 20:22:47 sandy pppd[3620]: No CHAP secret found for authenticating 
  us to pdsn
  Jun  7 20:22:47 sandy pppd[3620]: CHAP authentication failed: Illegal user 
  or password.
  Jun  7 20:22:47 sandy pppd[3620]: CHAP authentication failed
  Jun  7 20:22:47 sandy pppd[3620]: Connection terminated.
  Jun  7 20:22:47 sandy NetworkManager: info  (ttyACM0): device state 
  change: 5 - 9
  Jun  7 20:22:47 sandy NetworkManager: info  Marking connection 'ice.net' 
  invalid.
  Jun  7 20:22:47 sandy NetworkManager: info  Activation (ttyACM0) failed.
  Jun  7 20:22:47 sandy NetworkManager: info  (ttyACM0): device state 
  change: 9 - 3
  Jun  7 20:22:47 sandy NetworkManager: info  (ttyACM0): deactivating 
  device.
  Jun  7 20:22:48 sandy pppd[3620]: Exit.
 
  When using wvdial, the log is much shorter:
 
  Jun  7 20:25:12 sandy pppd[3907]: pppd 2.4.4 started by root, uid 0
  Jun  7 20:25:12 sandy pppd[3907]: Using interface ppp0
  Jun  7 20:25:12 sandy pppd[3907]: Connect: ppp0 -- /dev/ttyACM0
  Jun  7 20:25:15 sandy pppd[3907]: CHAP authentication succeeded: Welcome 
  to pdsn.
  Jun  7 20:25:15 sandy pppd[3907]: CHAP authentication succeeded
  Jun  7 20:25:15 sandy kernel: PPP Deflate Compression module registered
  Jun  7 20:25:16 sandy pppd[3907]: local  IP address 91.149.34.104
  Jun  7 20:25:16 sandy pppd[3907]: remote IP address 91.149.32.32
  Jun  7 20:25:16 sandy pppd[3907]: primary   DNS address 213.248.100.54
  Jun  7 20:25:16 sandy pppd[3907]: secondary DNS address 213.248.83.34
 
  Best regards,
  /Peter ??strand [EMAIL PROTECTED]
  ___
  NetworkManager-list mailing list
  NetworkManager-list@gnome.org
  http://mail.gnome.org/mailman/listinfo/networkmanager-list
 
 
 
 /Peter Åstrand [EMAIL PROTECTED]
 
 ___
 NetworkManager-list mailing list
 NetworkManager-list@gnome.org
 http://mail.gnome.org/mailman/listinfo/networkmanager-list

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


Re: NM with CMOTECH CNU-680 / ice.net D-50

2008-06-09 Thread Dan Williams
On Sat, 2008-06-07 at 20:49 +0200, Peter Åstrand wrote:
 I'd like to use the CMOTECH CNU-680 
 (http://www.cmotech.com/english/products/pro_05.html) (alias ice.net D-50) 
 with NM. The modem starts up in CD mode and requires an ioctl to change to 
 modem mode. I've created the cmotech-tools project 
 (http://sourceforge.net/projects/cmotech-tools) which now includes a small 
 program to do this switch. Connecting with wvdial works great.
 
 To be usable with NM, I've also created a .fdi file:
 
 deviceinfo version=0.1
 device
 match key=@info.parent:usb.vendor_id int=0x16d8
 match key=@info.parent:usb.product_id int=0x680a
 match key=@info.parent:usb.interface.number int=0
 match key=serial.port int=0
 append key=info.capabilities type=strlistcdma/append
 append key=info.capabilities type=strlistmodem/append
 /match  /match  /match  /match  /device /deviceinfo
 
 I don't know much about .fdi:s, basically I'm guessing here, but after 
 adding this file as 
 /usr/share/hal/fdi/information/20thirdparty/10-cmotech-modem.fdi, the 
 device shows up in NM. I do wonder which package should include a file 
 like this: Should I include it in my cmotech-utils package, or send a 
 patch to the HAL project?
 
 Selecting Auto CDMA in NM fails. I guess this is because no username or 
 password is provided. For ice.net, both the username and password is 
 public, cdma and cdma, but of course NM doesn't know this? It does 
 figure our the phone number (#777) automatically, though.

Jump into the connection editor (/usr/bin/nm-connection-editor) and add
the username and password for the auto cdma connection.  Does it work
then?

Thanks!
Dan

 The problem is, manually creating a Mobile Broadband connection doesn't 
 work either. See log below. Any ideas? I'm using Fedora9.
 
 Jun  7 20:22:46 sandy NetworkManager: info  Activation (ttyACM0) starting 
 connection 'ice.net'
 Jun  7 20:22:46 sandy NetworkManager: info  (ttyACM0): device state change: 
 3 - 4
 Jun  7 20:22:46 sandy NetworkManager: info  Activation (ttyACM0) Stage 1 of 
 5 (Device Prepare) scheduled...
 Jun  7 20:22:46 sandy NetworkManager: info  Activation (ttyACM0) Stage 1 of 
 5 (Device Prepare) started...
 Jun  7 20:22:46 sandy NetworkManager: info  Activation (ttyACM0) Stage 1 of 
 5 (Device Prepare) complete.
 Jun  7 20:22:46 sandy NetworkManager: info  Connected, Woo!
 Jun  7 20:22:46 sandy NetworkManager: info  Activation (ttyACM0) Stage 2 of 
 5 (Device Configure) scheduled...
 Jun  7 20:22:46 sandy NetworkManager: info  Activation (ttyACM0) Stage 2 of 
 5 (Device Configure) starting...
 Jun  7 20:22:46 sandy NetworkManager: info  (ttyACM0): device state change: 
 4 - 5
 Jun  7 20:22:46 sandy NetworkManager: info  Starting pppd connection
 Jun  7 20:22:46 sandy NetworkManager: info  Activation (ttyACM0) Stage 2 of 
 5 (Device Configure) complete.
 Jun  7 20:22:47 sandy pppd[3620]: Plugin 
 /usr/lib/pppd/2.4.4/nm-pppd-plugin.so loaded.
 Jun  7 20:22:47 sandy kernel: PPP generic driver version 2.4.2
 Jun  7 20:22:47 sandy pppd[3620]: pppd 2.4.4 started by root, uid 0
 Jun  7 20:22:47 sandy pppd[3620]: Using interface ppp0
 Jun  7 20:22:47 sandy pppd[3620]: Connect: ppp0 -- /dev/ttyACM0
 Jun  7 20:22:47 sandy NetworkManager: WARN  
 impl_ppp_manager_need_secrets(): Cleared secrets, but setting didn't need any 
 secrets.
 Jun  7 20:22:47 sandy pppd[3620]: Unable to obtain CHAP password for 
 sandy.lkpg.cendio.se on pdsn from plugin
 Jun  7 20:22:47 sandy pppd[3620]: No CHAP secret found for authenticating us 
 to pdsn
 Jun  7 20:22:47 sandy pppd[3620]: CHAP authentication failed: Illegal user or 
 password.
 Jun  7 20:22:47 sandy pppd[3620]: CHAP authentication failed
 Jun  7 20:22:47 sandy pppd[3620]: Connection terminated.
 Jun  7 20:22:47 sandy NetworkManager: info  (ttyACM0): device state change: 
 5 - 9
 Jun  7 20:22:47 sandy NetworkManager: info  Marking connection 'ice.net' 
 invalid.
 Jun  7 20:22:47 sandy NetworkManager: info  Activation (ttyACM0) failed.
 Jun  7 20:22:47 sandy NetworkManager: info  (ttyACM0): device state change: 
 9 - 3
 Jun  7 20:22:47 sandy NetworkManager: info  (ttyACM0): deactivating device.
 Jun  7 20:22:48 sandy pppd[3620]: Exit.
 
 When using wvdial, the log is much shorter:
 
 Jun  7 20:25:12 sandy pppd[3907]: pppd 2.4.4 started by root, uid 0
 Jun  7 20:25:12 sandy pppd[3907]: Using interface ppp0
 Jun  7 20:25:12 sandy pppd[3907]: Connect: ppp0 -- /dev/ttyACM0
 Jun  7 20:25:15 sandy pppd[3907]: CHAP authentication succeeded: Welcome to 
 pdsn.
 Jun  7 20:25:15 sandy pppd[3907]: CHAP authentication succeeded
 Jun  7 20:25:15 sandy kernel: PPP Deflate Compression module registered
 Jun  7 20:25:16 sandy pppd[3907]: local  IP address 91.149.34.104
 Jun  7 20:25:16 sandy pppd[3907]: remote IP address 91.149.32.32
 Jun  7 20:25:16 sandy pppd[3907]: primary   DNS address 213.248.100.54
 Jun  7 20:25:16 sandy pppd[3907]: secondary DNS address 213.248.83.34
 
 Best regards, 
 /Peter Åstrand [EMAIL PROTECTED]