View Full Version : Problem connecting with Huawei E620 card
skywatcher
18-02-2007, 11:03 AM
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.
Tazz_Tux
18-02-2007, 10:17 PM
Hey skywatcher,
You need to send the pin first then wait a couple of seconds. Do it like this:
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.
skywatcher
19-02-2007, 10:01 AM
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!
Tazz_Tux
19-02-2007, 10:47 AM
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!
skywatcher
19-02-2007, 11:15 AM
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
Tazz_Tux
21-02-2007, 08:07 AM
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
skywatcher
21-02-2007, 10:08 AM
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!
skywatcher
21-02-2007, 12:40 PM
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?
Tazz_Tux
21-02-2007, 04:17 PM
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?
skywatcher
22-02-2007, 09:39 AM
Howzit - what do you use to dial then ?
Hi Tazz_Tux
Here is a record of a complete session:
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:
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!
Tazz_Tux
22-02-2007, 10:27 AM
Ok - try
killall -9 pppd :)
Hi Tazz_Tux
Nothing happens -- the connection is still active. :confused:
Cheers!
skywatcher
22-02-2007, 10:54 AM
All rightee! :D
That did it. Many thanks!
Tazz_Tux
22-02-2007, 11:16 AM
All rightee! :D
That did it. Many thanks!
No problems !!! Happy surfing !