File comgt-0.32-use-cgreg-for-registration.diff of Package comgt
--- comgt.h
+++ comgt.h
@@ -83,8 +83,8 @@
print \"Waiting for Registration..(120 sec max)\"\n\
let c = 0\n\
:waitreg\n\
- send \"AT+CREG?^m\"\n\
- waitfor 2 \"+CREG: 0,1\",\"+CREG: 0,5\"\n\
+ send \"AT+CGREG?^m\"\n\
+ waitfor 2 \"+CGREG: 0,1\",\"+CGREG: 0,5\"\n\
if % = -1 goto regagain\n\
if % = 0 goto homereg\n\
if % = 1 goto roamreg\n\