You are not logged in.

#1 2014-08-15 16:36:31

affenkaraffe
Member
Registered: 2009-05-19
Posts: 5

[SOLVED] Huawei E173u-1 USB modem: 'NO CARRIER' in wvdial, no network

I'm trying to establish an internet connection by using an Huawei USB modem and wvdial.

However, the modem keeps telling me 'NO CARRIER'.
The LED blinks green, twive every 3s, meaning the stick is powered on but not connected to any network [1].

I get:

#wvdial dtag

--> WvDial: Internet dialer version 1.61
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: AT+CGDCONT=1,"IP","internet.t-d1.de"
AT+CGDCONT=1,"IP","internet.t-d1.de"
OK
--> Modem initialized.
--> Sending: ATDT*99#
--> Waiting for carrier.
ATDT*99#
NO CARRIER
--> No Carrier!  Trying again.
--> Sending: ATDT*99#
--> Waiting for carrier.
ATDT*99#
... (Repeat until CTRL+C is pressed)

I send some commands to the modem, which i found in several places [2],[3],[4] in order to make the modem register with some network, using the following command line. But to no avail.

 chat -t 1 -e "" 'COMMAND HERE'  OK '\pAT' OK >> /dev/ttyUSB0 < /dev/ttyUSB0 

I tried AT+CREG? ("information about the registration status and access technology of the serving cell.")[5]
     In German: [6] which returns '+CREG:0, 0'  Not connected, not searching for a provider, GSM technology.
This changes to 2,2 (searching provider, UTRAN (UMTS technology) ) if I send AT+CREG=2 first (meaning: "Print detailed message if connected") This behaviour makes no sense to me.

I tried AT+COPS=0 which means (I think) 'automatic provider search'
A following AT+CREG yielded +CREG: 0,0 again, so the device is still not searching.

I tried AT+CGATT=1 (attach to GPRS packet service) but the modem doesn't give any answer. But it answers on further commands so it doesn't need more time.
AT+CGATT? gives +CGATT: 0 so the command isn't effective

How do I make the modem connect to a carrier? When I put the SIM in a cell phone, a connection can be established? Thanks in advance!

------------------------------------------
Below is my wvdial.conf

[Dialer Defaults]
;Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 (it makes no difference if this line is executed or not)
Modem Type = Analog Modem
ISDN = 0
Init1 = ATZ
Modem = /dev/ttyUSB0
Baud = 9600
New PPPD = yes

[Dialer km-pin]
Init4 = AT+CPIN=(my PIN)

[Dialer dtag]
Username = internet
Password = t-d1
Phone = *99#
Auto DNS = off
Init3 = AT+CGDCONT=1,"IP","internet.t-d1.de"

Last edited by affenkaraffe (2014-08-22 13:47:51)

Offline

#2 2014-08-15 17:02:06

affenkaraffe
Member
Registered: 2009-05-19
Posts: 5

Re: [SOLVED] Huawei E173u-1 USB modem: 'NO CARRIER' in wvdial, no network

In Addition I can send the command AT+COPS=? which yields the available providers.
It yields:

 +COPS: (1,"vodafone DE","vodafone","26202",2),(1,"E-Plus","E-Plus","26203",2),(1,"Telekom.de","Telekom.","26201",2),(1,"vodafone DE","vodafone","26202",0),(1,"o2 - de","o2 - de","26207",0),(1,"E-Plus","E-Plus","26203",0),(1,"Telekom.de","Telekom.","26201",0),(1,"o2 - de","o2 - de","26207",2),,(0,1,2,3,4),(0,1,2)

I can try a manual connect by sending AT+COPS=1,0,26207 for example, on which I get +CME ERROR: No network service. This is probably because 26207 is not my home net.

When I try my home net AT+COPS=1,0,26201 I get the same response if I wait long enough (120sec, I increased the -t parameter, see last post)

Offline

#3 2014-08-22 13:47:35

affenkaraffe
Member
Registered: 2009-05-19
Posts: 5

Re: [SOLVED] Huawei E173u-1 USB modem: 'NO CARRIER' in wvdial, no network

I identified the Problem: My Modem still had a SIM Lock so it couldn't connect with another SIM card.

I could remove the SIM lock by using the command AT^CARDLOCK="<Unlock Code>". See Internet for information about what the Unlock Code is.  The command must be sent to the control port of the modem. It is recognizable by yielding ^BOOT:.... or other messages without a command being sent. For me it was /dev/ttyUSB2
so the do-nothing-command to the modem

cat /dev/ttyUSB2

yielded several lines starting starting with ^BOOT, ^SRVST, ^STIN, ^RSSI or others. Find your modem ports by the command "ls /dev/ttyUSB*" and probe each one for these messages like described above. Finish the command with Ctrl+C

To send the CARDUNLOCK-Command I used

chat -t 1 -e "" 'AT\^CARDUNLOCK="<Unlock Code>"'  OK  >> /dev/ttyUSB2 </dev/ttyUSB2 

Note that the ^ sign needs to be escaped by using \^ instead! Note also that quotation marks have to be used around the Unlock Code.

Offline

Board footer

Powered by FluxBB