Comment 7 for bug 278992

Revision history for this message
Jerone Young (jerone) wrote :

I think your issue with the same one I was having with the sierra 881. I think my fix to network manager will help you also. Trying to get Alexander to look at it and hopefully it can go into intrepid.

Also what does /var/log/daemon.log show after it fails. It should say failed setting APN. The problem is someone threw in spaces into the APN setting line. Notice the wvdial line for this has no spaces!

Here is the fix for network manager:

Signed-off-by: Jerone Young <email address hidden>

=== modified file 'src/nm-gsm-device.c'
--- src/nm-gsm-device.c 2008-10-22 03:24:00 +0000
+++ src/nm-gsm-device.c 2008-10-22 03:24:39 +0000
@@ -213,7 +213,7 @@
   return;
  }

- command = g_strdup_printf ("AT+CGDCONT=%d, \"IP\", \"%s\"", cid, setting->apn);
+ command = g_strdup_printf ("AT+CGDCONT=%d,\"IP\",\"%s\"", cid, setting->apn);
  modem_wait_for_reply (device, command, 7, responses, responses, set_apn_done, GUINT_TO_POINTER (cid));
  g_free (command);
 }