i don't think its a registration timing issue. there is something
missing for you.

check this patch, which will make the CREG phase really long (40*2
seconds)

diff --git a/src/nm-gsm-device.c b/src/nm-gsm-device.c
index cc83d1a..a0c3798 100644
--- a/src/nm-gsm-device.c
+++ b/src/nm-gsm-device.c
@@ -373,7 +373,7 @@ schedule_automatic_registration_again (NMGsmDevice *self)
        if (priv->pending_id)
                g_source_remove (priv->pending_id);
 
-       priv->pending_id = g_timeout_add_seconds (1, 
automatic_registration_again, self);
+       priv->pending_id = g_timeout_add_seconds (2, 
automatic_registration_again, self);
 }
 
 static void
@@ -392,7 +392,7 @@ automatic_registration_response (NMSerialDevice *device,
                 * each CREG request.  Some cards (ex. Option iCON 225) return 
OK
                 * immediately from CFUN, but take a bit to start searching for 
a network.
                 */
-               if (priv->reg_tries++ < 15) {
+               if (priv->reg_tries++ < 40) {
                        /* Can happen a few times while the modem is powering 
up */
                        schedule_automatic_registration_again (NM_GSM_DEVICE 
(device));
                } else {

-- 
Network Manager not giving 3G Ericsson F3507g Mobile Broadband enough time to 
initialize in Jaunty
https://bugs.launchpad.net/bugs/360343
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to