I've used wvdial to connect my laptop to the "3" network in Australia
with no problem.  I'm now trying to connect to the "Zain" network in
Tanzania and I can't get it to work.  I can browse the internet from
the phone (Nokia N82), but I can't seem to connect with wvdial.
Here's what I get with the debug option enabled in /etc/ppp/options:

# wvdial
--> WvDial: Internet dialer version 1.60
--> Initializing modem.
--> 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#
--> Waiting for carrier.
ATDT*99#
CONNECT
~[7f...@!}!} } }2}...@#}!}$}%\}"}&} }*} } g}%~
--> Carrier detected.  Starting PPP immediately.
--> Starting pppd at Fri Jul  3 12:10:31 2009
--> Pid of pppd: 6512
--> pppd: �o
--> Using interface ppp0
--> pppd: �o
--> pppd: �o
--> pppd: �o
--> pppd: �o
--> pppd: �o
--> pppd: �o
--> pppd: �o
--> pppd: �o
--> Authentication (PAP) started
--> pppd: �o
--> Authentication (PAP) successful
--> pppd: �o
--> pppd: �o
--> pppd: �o
--> pppd: �o
--> pppd: �o
--> pppd: �o
--> pppd: �o
--> pppd: �o
--> Terminate Request
--> ***** no quoted text found in `rcvd [LCP TermReq id=0x1]' *****
--> pppd: �o
--> pppd: �o
--> pppd: �o
--> pppd: �o
--> pppd: �o
--> Disconnecting at Fri Jul  3 12:10:35 2009
--> 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

I have this in the logs:

Jul  3 10:43:42 [pppd] pppd 2.4.4 started by root, uid 0
Jul  3 10:43:42 [pppd] Using interface ppp0
Jul  3 10:43:42 [pppd] Connect: ppp0 <--> /dev/ttyACM0
Jul  3 10:43:44 [pppd] PAP authentication succeeded
Jul  3 10:43:45 [pppd] LCP terminated by peer
Jul  3 10:43:48 [pppd] Connection terminated.
Jul  3 10:43:48 [pppd] Modem hangup
Jul  3 10:43:48 [pppd] Exit.

This page outlines the config to make it work:

http://eightzerofour.wordpress.com/tag/wvdialconf/

Here it is:

[Dialer Defaults]
Modem = /dev/ttyACM0
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Stupid Mode = 1
Modem Type = USB Modem
Phone = *99#
New PPPD = yes
ISDN = 0
Username = blank
Password = blank
Baud = 460800

But it isn't working for me.

I'm new to wvdial and cell phone data connections in general.  What
could be the problem?

- Grant

Reply via email to