# 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
Here is the output in /var/log/ppp/current:
Jul 3 12:10:31 [pppd] pppd 2.4.4 started by root, uid 0
Jul 3 12:10:31 [pppd] using channel 45
Jul 3 12:10:31 [pppd] Using interface ppp0
Jul 3 12:10:31 [pppd] Connect: ppp0 <--> /dev/ttyACM0
Jul 3 12:10:31 [pppd] sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic
0xa6484d43> <pcomp> <accomp>]
Jul 3 12:10:31 [pppd] rcvd [LCP ConfRej id=0x1 <magic 0xa6484d43>
<pcomp> <accomp>]
Jul 3 12:10:31 [pppd] sent [LCP ConfReq id=0x2 <asyncmap 0x0>]
Jul 3 12:10:31 [pppd] rcvd [LCP ConfAck id=0x2 <asyncmap 0x0>]
Jul 3 12:10:31 [pppd] rcvd [LCP ConfReq id=0x0 <auth pap> <mru 1500>
<asyncmap 0xa0000>]
Jul 3 12:10:31 [pppd] sent [LCP ConfAck id=0x0 <auth pap> <mru 1500>
<asyncmap 0xa0000>]
Jul 3 12:10:31 [pppd] sent [PAP AuthReq id=0x1 user="blank" password=<hidden>]
Jul 3 12:10:31 [pppd] rcvd [PAP AuthAck id=0x1 ""]
Jul 3 12:10:31 [pppd] PAP authentication succeeded
Jul 3 12:10:31 [pppd] sent [CCP ConfReq id=0x1 <mppe -H -M -S -L -D
-C> <deflate 15> <deflate(old#) 15> <bsd v1 15>]
Jul 3 12:10:31 [pppd] sent [IPCP ConfReq id=0x1 <compress VJ 0f 01>
<addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
Jul 3 12:10:31 [pppd] rcvd [IPCP ConfReq id=0x0 <addr 10.6.6.6>]
Jul 3 12:10:31 [pppd] sent [IPCP ConfAck id=0x0 <addr 10.6.6.6>]
Jul 3 12:10:31 [pppd] rcvd [LCP ProtRej id=0x0 80 fd 01 01 00 15 12
06 00 00 00 00 1a 04 78 00 18 04 78 00 15 03 2f]
Jul 3 12:10:31 [pppd] Protocol-Reject for 'Compression Control
Protocol' (0x80fd) received
Jul 3 12:10:32 [pppd] rcvd [LCP TermReq id=0x1]
Jul 3 12:10:32 [pppd] LCP terminated by peer
Jul 3 12:10:32 [pppd] sent [LCP TermAck id=0x1]
Jul 3 12:10:35 [pppd] Connection terminated.
Jul 3 12:10:35 [pppd] Modem hangup
Jul 3 12:10:35 [pppd] Exit.
- Grant
I can't make wvdial emerge on my machine (bug # 274849) and I am only a few
thousand miles away from Tanzania, but I would suggest that you try "user"
for Username rather than blank. May also want to try your ISP username/pin
for Username/Password.
HTH.
--
Regards,
Mick
--
Sent from my mobile device
If you have not changed anything in your laptop then the issue would be with
the Zain network. Have you checked that as part of your roaming agreement
with "3" you get data calls with "Zain"? It may be that you need to request
for data to be activated on your account while roaming - or may need to apply
Zain specific settings (i.e. you login and connect to the Internet directly
via Zain, rather than forwarded to "3" and then back to the Internet).
--
Regards,
Mick
On 7/4/09, Mick <michael...@gmail.com> wrote:
--
Is there another ppp client I can try besides wvdial? One of the
dependecies of kppp won't emerge for me so I'm out of luck there.
- Grant
Is there another ppp client I can try besides wvdial? One of the
dependecies of kppp won't emerge for me so I'm out of luck there.
- Grant
GREAT SUCCESS! I added the following to wvdial.conf and it works! I
think this amounts to defining the APN.
Init3 = AT+CGDCONT=1,"IP","internet"
Thanks a lot for everyone's help. I don't recommend the Serena Lodge
wireless internet connections in Tanzania. Very expensive and most
ports don't work. The Zain SIM works great now.
Incidentally, I got antlr to emerge by temporarily enabling softmode
on my PAX-enabled kernel.
- Grant
GREAT SUCCESS! I added the following to wvdial.conf and it works! I
Yeah, no good? I asked on the gentoo-hardened list if that was a
worthwhile endeavor and they said it was. Maybe a bit overzealous?
- Grant