Linux Novatel 3G

iibtrih

New Member
Joined
Jun 2, 2005
Messages
6
Reaction score
0
I'm having some problems getting my card (Novatel U630, bios v14) started in Linux (Gentoo Kernel 2.6.10-r3) on my laptop (Toshiba Satellite P10).

After I inserted the card, it starts flashing red, and the kernel logs
Code:
cs:memory probe 0xa0000000-0xa0ffffff: clean
cardmgr[13811]: socket 0: Serial or Modem
cardmgr[13811]: executing 'modprobe serial_cs'
ttyS0 at I/O 0x3f8 (irq = 3) is a 16550A
cardmgr[13811]: executing './serial start ttyS0'

/dev/modem is created and linked to /dev/ttyS0. So far so good, however, if I run minicom I obtain the error
Code:
AT S7=45 S0=0 L1 V1 X4 &c1 E1 Q0
ERROR
Using the wvdial.conf by Tazz_Tux produces the error
Code:
# wvdial novatel internet 3gonly 384k

--> WvDial: Internet dialer version 1.54.0
--> Initializing modem.
--> Sending: AT+CMEE=1
AT+CMEE=1
ERROR
--> Bad init string
--> Initializing modem.
--> Sending: AT+CMEE=1
AT+CMEE=1
ERROR
--> Bad init string
--> Initializing modem.
--> Sending: AT+CMEE=1
AT+CMEE=1
ERROR
--> Bad init string
(The AT+CMEE=1 could be replaced by ATZ for the same results).

Nonetheless the card does get picked up
Code:
# cardctl ident 0

product info: "Novatel Wireless", "Merlin UMTS Modem", "U640", ""
manfid: 0x00a4, 0x0276
function: 2 (serial)

I looked at the other threads as well, but I am none the wiser.

Any help would be appreciated.
 
Hey iibtrih,

Did you disable the PIN on the SIM ?

The Novatel won't even greet you if the PIN isn't entered :)

Laterz

iibtrih said:
I'm having some problems getting my card (Novatel U630, bios v14) started in Linux (Gentoo Kernel 2.6.10-r3) on my laptop (Toshiba Satellite P10).

After I inserted the card, it starts flashing red, and the kernel logs
Code:
cs:memory probe 0xa0000000-0xa0ffffff: clean
cardmgr[13811]: socket 0: Serial or Modem
cardmgr[13811]: executing 'modprobe serial_cs'
ttyS0 at I/O 0x3f8 (irq = 3) is a 16550A
cardmgr[13811]: executing './serial start ttyS0'

/dev/modem is created and linked to /dev/ttyS0. So far so good, however, if I run minicom I obtain the error
Code:
AT S7=45 S0=0 L1 V1 X4 &c1 E1 Q0
ERROR
Using the wvdial.conf by Tazz_Tux produces the error
Code:
# wvdial novatel internet 3gonly 384k

--> WvDial: Internet dialer version 1.54.0
--> Initializing modem.
--> Sending: AT+CMEE=1
AT+CMEE=1
ERROR
--> Bad init string
--> Initializing modem.
--> Sending: AT+CMEE=1
AT+CMEE=1
ERROR
--> Bad init string
--> Initializing modem.
--> Sending: AT+CMEE=1
AT+CMEE=1
ERROR
--> Bad init string
(The AT+CMEE=1 could be replaced by ATZ for the same results).

Nonetheless the card does get picked up
Code:
# cardctl ident 0

product info: "Novatel Wireless", "Merlin UMTS Modem", "U640", ""
manfid: 0x00a4, 0x0276
function: 2 (serial)

I looked at the other threads as well, but I am none the wiser.

Any help would be appreciated.
 
Thanks Tazz Tux,

The problem is the pin.
Is there an elegent way to enter it: If I add to the front of the initialisation list the call borks. Ie if first need to do a call that fails, and only then can I do one that works.
 
Check my Sticky Post on top and let me know - I can't remember the AT command for the PIN so well - that was taken from memory...

iibtrih said:
Thanks Tazz Tux,

The problem is the pin.
Is there an elegent way to enter it: If I add to the front of the initialisation list the call borks. Ie if first need to do a call that fails, and only then can I do one that works.
 
Thanks,

Love the new sticky. That is the way I've been adding the pin. The only prblem is the first time round dialling always fails. I'll post again if things change.

Your prompt replies are a real pleasure though :)
 
Hey iibtrih,

No problems - can you PM me the output of wvdial's first dial, did you download the updated wvdial.conf ?

Laterz !

iibtrih said:
Thanks,

Love the new sticky. That is the way I've been adding the pin. The only prblem is the first time round dialling always fails. I'll post again if things change.

Your prompt replies are a real pleasure though :)
 
Because you asked for it :) I am using the new wvdial (**** has been used to mask my pin): Upon the first dailing attempt with pin, the next ofcourse works fine.

Code:
--> WvDial: Internet dialer version 1.54.0
--> Initializing modem.
--> Sending: AT+CPIN=****
AT+CPIN=****
OK
--> Sending: ATZ
ATZ
OK
--> Sending: ATE0V1&D2&C1S0=0+IFC=2,2
ATE0V1&D2&C1S0=0+IFC=2,2
OK
--> Sending: AT+COPS=0,0,"Vodacom-SA",2
OK
--> Sending: AT+CGDCONT=1,"IP","internet";
OK
--> Sending: AT+CGEQMIN=1,4,64,384,64,384
OK
--> Sending: AT+CGEQREQ=1,4,64,384,64,384
OK
--> Modem initialized.
--> Sending: ATDT*99***1#
--> Waiting for carrier.
CONNECT
--> Carrier detected.  Starting PPP immediately.
--> Starting pppd at Mon Jun  6 20:53:40 2005
--> pid of pppd: 24060
--> Using interface ppp0
--> Disconnecting at Mon Jun  6 20:53:41 2005
--> The PPP daemon has died: A modem hung up the phone (exit code = 16)
--> man pppd explains pppd error codes in more detail.
--> Try again and look into /var/log/messages and the wvdial and pppd man pages for more information.
--> Auto Reconnect will be attempted in 5 seconds
--> Initializing modem.
--> Sending: AT+CPIN=****
ERROR
--> Bad init string.
--> Initializing modem.
--> Sending: AT+CPIN=****
ERROR
--> Bad init string.
--> Initializing modem.
--> Sending: AT+CPIN=****
ERROR
--> Bad init string.
--> Initializing modem.
--> Sending: AT+CPIN=****
ERROR
--> Bad init string.
--> Initializing modem.
--> Sending: AT+CPIN=****
ERROR
--> Bad init string.
--> Initializing modem.
--> Sending: AT+CPIN=****
ERROR
--> Bad init string.
--> Disconnecting at Mon Jun  6 20:53:47 2005

On another note: The
Code:
setserial -a /dev/ttyS0 low_latency spd_warp
gives this message log
Code:
setserial sets custom speed on ttyS0. This is deprecated.
Nonetheless, it has made a great impact upon my connection speed :D

Another log message which I don't get upon inserting my card is
Code:
usbcore: registered new driver hsfusbcd2
This might be part of the problem :confused:

Thanks again for all your help.
 
Hey iibtrih,

Would you mind trying the following:

Code:
wvdial pin && wvdial novatel internet 3g_only 384k

This will first send the PIN and then create a new wvdial that dial, because I remember something along the lines of the Novatel not wanting the PIN send twice...

As for the speed thing in the log, you can remove spd_wrp from that command, all you want is the low_lat. part. The man page says it sucks a bit more CPU cycle but knowing Linux, it is a) about 2 or 3 per 1000 years b) well used :D

I will check on the hsf but if memory serves me well, it is basiclly the "WinModem" driver, not sure where that comes in :D

Laterz !

iibtrih said:
Because you asked for it :) I am using the new wvdial (**** has been used to mask my pin): Upon the first dailing attempt with pin, the next ofcourse works fine.

On another note: The
Code:
setserial -a /dev/ttyS0 low_latency spd_warp
gives this message log
Code:
setserial sets custom speed on ttyS0. This is deprecated.
Nonetheless, it has made a great impact upon my connection speed :D

Thanks again for all your help.
 
Hey Tazz_Tux,

Tazz_Tux said:
Hey iibtrih,

Would you mind trying the following:

Code:
wvdial pin && wvdial novatel internet 3g_only 384k

I tried it, and the error remains. :(

Nonetheless, I owe you a beer next time I'm in Durban. :)
 
Hey iibtrih,

Ok - try this, run the wvdial pin command and wait a couple of seconds - see if the LED changes an then try the Dial up command.

I will activate the PIN on my SIM a bit later and try.

Laterz !

iibtrih said:
Hey Tazz_Tux,



I tried it, and the error remains. :(

Nonetheless, I owe you a beer next time I'm in Durban. :)
 
No luck to date.

You per chance know how couple hotplug to wvdial script?
 
Top
Sign up to the MyBroadband newsletter
X