Re: gsm roaming enabling



On Fri, 2010-05-28 at 12:26 +0200, Maxime Boure wrote:
> Hello I have a french SIM card and I would like to connect it in
> Canada. It seems that the roaming is not enabled.

What kind of 3G stick do you have again?  This isn't by chance a Huwei
E1552?

> ** Message: Loaded plugin Generic
> ** Message: Loaded plugin Option High-Speed
> ** Message: Loaded plugin Ericsson MBM
> ** Message: Loaded plugin Huawei
> ** Message: Loaded plugin ZTE
> ** (modem-manager:1472): DEBUG: (Huawei): (ttyUSB1) deferring support
> check
> ** Message: (ttyUSB0) opening serial device...
> ** (modem-manager:1472): DEBUG: (ttyUSB0): probe requested by plugin
> 'Huawei'
> ** (modem-manager:1472): DEBUG: (ttyUSB0): --> 'AT+GCAP<CR>'
> ** (modem-manager:1472): DEBUG: (ttyUSB0): <-- '<CR><LF>+GCAP: +CGSM,
> +FCLASS,+DS<CR><LF><CR><LF>OK<CR><LF>'
> ** Message: (ttyUSB0) closing serial device...
> ** Message: (Huawei): GSM
> modem /sys/devices/platform/ehci-omap.0/usb1/1-1 claimed port ttyUSB0
> ** (modem-manager:1472): DEBUG: Added
> modem /sys/devices/platform/ehci-omap.0/usb1/1-1
> ** (modem-manager:1472): DEBUG: Exported
> modem /sys/devices/platform/ehci-omap.0/usb1/1-1
> as /org/freedesktop/ModemManager/Modems/0
> NetworkManager: <info>  (ttyUSB0): new GSM device (driver: 'option1')
> NetworkManager: <info>  (ttyUSB0): exported
> as /org/freedesktop/NetworkManager/Devices/1
> NetworkManager: <info>  (ttyUSB0): now managed
> NetworkManager: <info>  (ttyUSB0): device state change: 1 -> 2 (reason
> 2)
> NetworkManager: <info>  (ttyUSB0): deactivating device (reason: 2).
> NetworkManager: <info>  (ttyUSB0): device state change: 2 -> 3 (reason
> 0)
> NetworkManager: <info>  Activation (ttyUSB0) starting connection
> 'bouyguestel'
> NetworkManager: <info>  (ttyUSB0): device state change: 3 -> 4 (reason
> 0)
> NetworkManager: <info>  Activation (ttyUSB0) Stage 1 of 5 (Device
> Prepare) scheduled...
> NetworkManager: <info>  Activation (ttyUSB0) Stage 1 of 5 (Device
> Prepare) started...
> ** Message: (ttyUSB0) opening serial device...
> NetworkManager: <info>  Activation (ttyUSB0) Stage 1 of 5 (Device
> Prepare) complete.
> ** Message: Modem /org/freedesktop/ModemManager/Modems/0: state
> changed (disabled -> enabling)
> ** (modem-manager:1472): DEBUG: (ttyUSB0): --> 'ATZ E0 V1 +CMEE=1<CR>'
> ** (modem-manager:1472): DEBUG: (ttyUSB0): <-- '<CR><LF>OK<CR><LF>'
> ** (modem-manager:1472): DEBUG: (ttyUSB0): --> 'ATE0 +CMEE=1<CR>'
> ** (modem-manager:1472): DEBUG: (ttyUSB0): <-- '<CR><LF>OK<CR><LF>'
> ** (modem-manager:1472): DEBUG: (ttyUSB0): --> 'ATX4 &C1<CR>'
> ** (modem-manager:1472): DEBUG: (ttyUSB0): <-- '<CR><LF>OK<CR><LF>'
> ** (modem-manager:1472): DEBUG: (ttyUSB0): --> 'AT+CREG=0<CR>'
> ** (modem-manager:1472): DEBUG: (ttyUSB0): <-- '<CR><LF>OK<CR><LF>'
> ** (modem-manager:1472): DEBUG: (ttyUSB0): --> 'AT+CFUN=1<CR>'
> ** (modem-manager:1472): DEBUG: (ttyUSB0): <-- '<CR><LF>OK<CR><LF>'
> ** Message: Modem /org/freedesktop/ModemManager/Modems/0: state
> changed (enabling -> enabled)
> ** (modem-manager:1472): DEBUG: (ttyUSB0): --> 'AT+CPIN?<CR>'
> ** (modem-manager:1472): DEBUG: (ttyUSB0): <-- '<CR><LF>+CPIN:
> READY<CR><LF><CR><LF>OK<CR><LF>'
> ** (modem-manager:1472): DEBUG: (ttyUSB0): --> 'AT+COPS=0,,<CR>'
> ** (modem-manager:1472): DEBUG: (ttyUSB0): <-- '<CR><LF>OK<CR><LF>'
> ** (modem-manager:1472): DEBUG: (ttyUSB0): --> 'AT+CREG?<CR>'
> ** (modem-manager:1472): DEBUG: (ttyUSB0): <-- '<CR><LF>+CREG:
> 0,2<CR><LF><CR><LF>OK<CR><LF>'
> ** (modem-manager:1472): DEBUG: Registration state changed: 2
> ** Message: Modem /org/freedesktop/ModemManager/Modems/0: state
> changed (enabled -> searching)
> ** (modem-manager:1472): DEBUG: (ttyUSB1): re-checking support...
> ** Message: (ttyUSB1) opening serial device...
> ** (modem-manager:1472): DEBUG: (ttyUSB1): <--
> '<CR><LF>^BOOT:35591147,0,0,0,31<CR><LF>'
> ** Message: (ttyUSB1) closing serial device...
> ** Message: (Huawei): GSM
> modem /sys/devices/platform/ehci-omap.0/usb1/1-1 claimed port ttyUSB1
> ** (modem-manager:1472): DEBUG: (ttyUSB0): --> 'AT+CREG?<CR>'
> ** (modem-manager:1472): DEBUG: (ttyUSB0): <-- '<CR><LF>+CREG:
> 0,2<CR><LF><CR><LF>OK<CR><LF>'
> ** (modem-manager:1472): DEBUG: (ttyUSB0): --> 'AT+CREG?<CR>'
> ** (modem-manager:1472): DEBUG: (ttyUSB0): <-- '<CR><LF>+CREG:
> 0,2<CR><LF><CR><LF>OK<CR><LF>'
> ** (modem-manager:1472): DEBUG: (ttyUSB0): --> 'AT+CREG?<CR>'
> ** (modem-manager:1472): DEBUG: (ttyUSB0): <-- '<CR><LF>+CREG:
> 0,2<CR><LF><CR><LF>OK<CR><LF>'
> ** (modem-manager:1472): DEBUG: (ttyUSB0): --> 'AT+CREG?<CR>'
> ** (modem-manager:1472): DEBUG: (ttyUSB0): <-- '<CR><LF>+CREG:
> 0,2<CR><LF><CR><LF>OK<CR><LF>'
> ** (modem-manager:1472): DEBUG: (ttyUSB0): --> 'AT+CREG?<CR>'

Status '2' in the +CREG response means "searching".  Normally this is
simply that the device cannot find a compatible provider to use, either
because your SIM card is not loaded with roaming networks, or because
the frequency bands your device supports are not supported in the
country you're in.

However, on the E1552 specifically we've identified a problem where
ModemManager sending AT+COPS=0,, causes the card to stay in 'searching'
mode indefinitely.  Last month I fixed MM to *not* send AT+COPS=0,, if
the card was already registered on a network, so you may be able to get
connected if you wait 30 seconds or so after plugging the device in for
it to register with a network before trying to connect.

Let me know what model of Huawei device you have and we can debug
further.

Dan





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]