Problem connecting with Huawei E620 card

skywatcher

Member
Joined
Feb 14, 2007
Messages
29
Reaction score
0
Location
Wellington, South Africa
Hi

For some reason I cannot get my data card to connect. Here is a copy of the session input/output:

wvdial pin huawei_e620 internet 2gonly 384k
--> WvDial: Internet dialer version 1.55
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: AT+CPIN=1968
AT+CPIN=1968
OK
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Sending: AT+COPS=0,0,"Vodacom-SA",0
AT+COPS=0,0,"Vodacom-SA",0
TOO MANY PARAMETERS
--> Sending: ATQ0
ATQ0
OK
--> Re-Sending: AT+COPS=0,0,"Vodacom-SA",0
AT+COPS=0,0,"Vodacom-SA",0
TOO MANY PARAMETERS
--> Modem not responding.

Please note that I used '2gonly' because I happened to be in a GPRS-only area.

It would be much appreciated if someone could help with this.
 
Hey skywatcher,

You need to send the pin first then wait a couple of seconds. Do it like this:
Code:
wvdial pin && sleep 5 && wvdial huawei_e620 internet 2gonly

Drop the 384k thing since gprs will not get there :D

Laterz !

Hi

For some reason I cannot get my data card to connect. Here is a copy of the session input/output:

wvdial pin huawei_e620 internet 2gonly 384k
--> WvDial: Internet dialer version 1.55
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: AT+CPIN=1968
AT+CPIN=1968
OK
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Sending: AT+COPS=0,0,"Vodacom-SA",0
AT+COPS=0,0,"Vodacom-SA",0
TOO MANY PARAMETERS
--> Sending: ATQ0
ATQ0
OK
--> Re-Sending: AT+COPS=0,0,"Vodacom-SA",0
AT+COPS=0,0,"Vodacom-SA",0
TOO MANY PARAMETERS
--> Modem not responding.

Please note that I used '2gonly' because I happened to be in a GPRS-only area.

It would be much appreciated if someone could help with this.
 
Hi Tazz_Tux

Thanks for the advice, which I tried, but now I have another problem. For some obscure reason the system now does not detect the modem. When I type in 'wvdial pin', I get this response:

--> WvDial: Inernet dialer version 1.55
--> Cannot open /dev/modem: No such file or directory
--> Cannot open /dev/modem: No such file or directory
--> Cannot open /dev/modem: No such file or directory

Why should 'modem' have disappeared from /dev? I certainly changed nothing.

Sorry to be a nuisance!
 
Make that wvdial pin huawei_e620 :D

Hi Tazz_Tux

Thanks for the advice, which I tried, but now I have another problem. For some obscure reason the system now does not detect the modem. When I type in 'wvdial pin', I get this response:

--> WvDial: Inernet dialer version 1.55
--> Cannot open /dev/modem: No such file or directory
--> Cannot open /dev/modem: No such file or directory
--> Cannot open /dev/modem: No such file or directory

Why should 'modem' have disappeared from /dev? I certainly changed nothing.

Sorry to be a nuisance!
 
Thanks, Tazz_Tux

Stupid mistake on my part. I have it working now.

I have a few more questions:

1. Why does the blue LED not show on the data card when connected via Linux, as it does on Windows? It shows green only.

2. What commands do I use to disconnect the modem?

3. Is there a way to monitor data usage while connected?

4. Can I use a higher speed than 384k? My card (in theory) supports 1.8Gb/s
 
Last edited:
Hey skywatcher,

Sorry - I missed these questions...here goes :)

1) Because you are on GPRS and not 3G
2) killall -9 wvdial - brutal, but it works :)
3) iptraf,iftop,gkrellm are all good :)
4) Sure - HSDPA will push it higher - If I remember correctly, Linux current holds the speed record on the Vodacom network at 1.45Mb/s - closest match was 1.42Mb/s

Hope those help - as for the 3G/GPRS thing - I have updated my config (I think I uploaded it) to include the e620's 3G settings - I will check it and update as needed :)

Laterz !

Thanks, Tazz_Tux

Stupid mistake on my part. I have it working now.

I have a few more questions:

1. Why does the blue LED not show on the data card when connected via Linux, as it does on Windows? It shows green only.

2. What commands do I use to disconnect the modem?

3. Is there a way to monitor data usage while connected?

4. Can I use a higher speed than 384k? My card (in theory) supports 1.8Gb/s
 
Hi Tazz_Tux

Thanks for all the info - you've been a great help! I'll try out your suggestions.

Yes, I also found the speed quite impressive when I hooked up to 3G for the first time yesterday.

Cheers!
 
Hi Tazz_Tux

I tried this, but it doesn't work:

2) killall -9 wvdial - brutal, but it works :)

I get this message:

wvdial: no process killed

When I do this, the card appears to disconnect ("Server not found" message in FireFox), but the blue LED stays on, and I cannot reconnect without switching off the machine:

sudo ifconfig ppp0 down

Any ideas?
 
Howzit - what do you use to dial then ?

Hi Tazz_Tux

I tried this, but it doesn't work:



I get this message:

wvdial: no process killed

When I do this, the card appears to disconnect ("Server not found" message in FireFox), but the blue LED stays on, and I cannot reconnect without switching off the machine:

sudo ifconfig ppp0 down

Any ideas?
 
Howzit - what do you use to dial then ?

Hi Tazz_Tux

Here is a record of a complete session:

Code:
chris@chris-laptop:~$ /etc/init.d/pcmciautils start
 * Starting PCMCIA services...                                           [ ok ]
chris@chris-laptop:~$ wvdial huawei_e620 && sleep 5 && internet 3gonly 384k
--> WvDial: Internet dialer version 1.55
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Modem initialized.
--> Sending: ATDT*99***1#
--> Waiting for carrier.
ATDT*99***1#
CONNECT
--> Carrier detected.  Starting PPP immediately.
--> Starting pppd at Thu Feb 22 09:20:30 2007
--> Warning: Could not modify /etc/ppp/pap-secrets: Permission denied
--> --> PAP (Password Authentication Protocol) may be flaky.
--> Warning: Could not modify /etc/ppp/chap-secrets: Permission denied
--> --> CHAP (Challenge Handshake) may be flaky.
--> Pid of pppd: 5229
--> Using interface ppp0
--> local  IP address 10.62.100.132
--> remote IP address 10.64.64.64
--> primary   DNS address 196.207.40.165
--> secondary DNS address 196.43.46.190

Great! Now I have fast internet and email access! :D :D

OK, now I want to disconnect, so I do this:

Code:
chris@chris-laptop:~$ sudo killall -9 wvdial
Password:
wvdial: no process killed
chris@chris-laptop:~$
chris@chris-laptop:~$

Nothing happens -- the connection is still active. :confused:

Cheers!
 
Top
Sign up to the MyBroadband newsletter
X