Hi, I need to make a script about 2G/3G switchig.
Here AT commands to set 2G/3G mode (for HUAWEI USB modem):
Auto : AT^SYSCFG=2,0,3FFFFFFF,2,4
2G only : AT^SYSCFG=13,1,3FFFFFFF,2,4
3G only : AT^SYSCFG=14,2,3FFFFFFF,2,4
2G preferred : AT^SYSCFG=2,1,3FFFFFFF,2,4
3G preferred : AT^SYSCFG=2,2,3FFFFFFF,2,4
First I set modem-init string to:
AT^SYSCFG=2,1,3FFFFFFF,2,4
and modem not working.
Then I started to enable modem (with init string) and reboot after few seconds.
Nothing to do.
Only working sequence is:
- disable ppp client
- set manually init string through serial-terminal
- shutdown RB750U
- unplug power
- restart system
- enable ppp-client
So, what’s the trouble?
15:17:53 async,ppp,info 3G: initializing...
15:17:53 async,ppp,info 3G: reseting link...
15:17:54 async,debug usb1:0: sent ATH
15:17:54 async,debug usb1:0: rcvd OK
15:17:54 async,ppp,info 3G: initializing modem...
15:17:55 async,ppp,info 3G: dialing out...
15:17:55 async,debug usb1:0: sent AT+CGDCONT=1,"IP","ibox.tim.it"
15:17:55 async,debug usb1:0: rcvd OK
15:17:55 async,debug usb1:0: sent ATDT*99***1#
15:17:55 async,debug usb1:0: rcvd NO CARRIER
15:17:55 async,debug usb1:0: no carrier, redialing
15:17:55 async,debug usb1:0: sent ATDT*99***1#
15:17:55 async,debug usb1:0: modem hung up
15:17:55 async,ppp,info 3G: terminating... - modem hunged up
15:17:55 async,ppp,debug 3G: LCP lowerdown
15:17:55 async,ppp,debug 3G: LCP down event in initial state
15:17:55 async,ppp,info 3G: disconnected
15:17:55 async,ppp,info 3G: initializing...
15:17:55 async,ppp,info 3G: reseting link...
15:17:56 async,debug usb1:0: sent ATH
15:17:56 async,debug usb1:0: rcvd OK
15:17:56 async,ppp,info 3G: initializing modem...
15:17:57 async,ppp,info 3G: dialing out...
15:17:57 async,debug usb1:0: sent AT+CGDCONT=1,"IP","ibox.tim.it"
15:17:57 async,debug usb1:0: rcvd OK
15:17:57 async,debug usb1:0: sent ATDT*99***1#
15:17:57 async,debug usb1:0: rcvd NO CARRIER
15:17:57 async,debug usb1:0: no carrier, redialing
15:17:57 async,debug usb1:0: sent ATDT*99***1#
15:17:57 async,debug usb1:0: modem hung up
15:17:57 async,ppp,info 3G: terminating... - modem hunged up
15:17:57 async,ppp,debug 3G: LCP lowerdown
15:17:57 async,ppp,debug 3G: LCP down event in initial state
15:17:57 async,ppp,info 3G: disconnected
15:17:58 async,ppp,info 3G: initializing...
15:17:58 async,ppp,info 3G: reseting link...
15:17:59 async,debug usb1:0: sent ATH
15:17:59 async,debug usb1:0: rcvd OK
15:17:59 async,ppp,info 3G: initializing modem...
15:18:00 async,ppp,info 3G: dialing out...
15:18:00 async,debug usb1:0: sent AT+CGDCONT=1,"IP","ibox.tim.it"
15:18:00 async,debug usb1:0: rcvd OK
15:18:00 async,debug usb1:0: sent ATDT*99***1#
15:18:00 async,debug usb1:0: rcvd NO CARRIER
15:18:00 async,debug usb1:0: no carrier, redialing
15:18:00 async,debug usb1:0: sent ATDT*99***1#
15:18:00 async,debug usb1:0: modem hung up
15:18:00 async,ppp,info 3G: terminating... - modem hunged up
15:18:00 async,ppp,debug 3G: LCP lowerdown
15:18:00 async,ppp,debug 3G: LCP down event in initial state
15:18:00 async,ppp,info 3G: disconnected
15:18:01 async,ppp,info 3G: initializing...
15:18:01 async,ppp,info 3G: reseting link...
15:18:02 async,debug usb1:0: sent ATH
15:18:02 async,debug usb1:0: rcvd OK
15:18:02 async,ppp,info 3G: initializing modem...
15:18:03 async,ppp,info 3G: dialing out...
15:18:03 async,debug usb1:0: sent AT+CGDCONT=1,"IP","ibox.tim.it"
15:18:03 async,debug usb1:0: rcvd OK
15:18:03 async,debug usb1:0: sent ATDT*99***1#
15:18:03 async,debug usb1:0: rcvd NO CARRIER
15:18:03 async,debug usb1:0: no carrier, redialing
15:18:03 async,debug usb1:0: sent ATDT*99***1#
15:18:03 async,debug usb1:0: modem hung up
15:18:03 async,ppp,info 3G: terminating... - modem hunged up
15:18:03 async,ppp,debug 3G: LCP lowerdown
15:18:03 async,ppp,debug 3G: LCP down event in initial state
15:18:03 async,ppp,info 3G: disconnected