Gentoo Archives: gentoo-user

From: Grant <emailgrant@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: {OT} wvdial fails with "Zain" Tanzanian network
Date: Sat, 04 Jul 2009 09:57:51
Message-Id: 49bf44f10907040257w207e058bi310205f775ca4819@mail.gmail.com
In Reply to: Re: [gentoo-user] Re: {OT} wvdial fails with "Zain" Tanzanian network by Mick
1 Thank you but same results. Any other ideas via any method?
2
3 On 7/4/09, Mick <michaelkintzios@×××××.com> wrote:
4 > On Friday 03 July 2009, Grant wrote:
5 >> > I've used wvdial to connect my laptop to the "3" network in Australia
6 >> > with no problem. I'm now trying to connect to the "Zain" network in
7 >> > Tanzania and I can't get it to work. I can browse the internet from
8 >> > the phone (Nokia N82), but I can't seem to connect with wvdial.
9 >> > Here's what I get with the debug option enabled in /etc/ppp/options:
10 >> >
11 >> > # wvdial
12 >> > --> WvDial: Internet dialer version 1.60
13 >> > --> Initializing modem.
14 >> > --> Sending: ATZ
15 >> > ATZ
16 >> > OK
17 >> > --> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
18 >> > ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
19 >> > OK
20 >> > --> Modem initialized.
21 >> > --> Sending: ATDT*99#
22 >> > --> Waiting for carrier.
23 >> > ATDT*99#
24 >> > CONNECT
25 >> > ~[7f]}#@!}!} } }2}#}$@#}!}$}%\}"}&} }*} } g}%~
26 >> > --> Carrier detected. Starting PPP immediately.
27 >> > --> Starting pppd at Fri Jul 3 12:10:31 2009
28 >> > --> Pid of pppd: 6512
29 >> > --> pppd: �o
30 >> > --> Using interface ppp0
31 >> > --> pppd: �o
32 >> > --> pppd: �o
33 >> > --> pppd: �o
34 >> > --> pppd: �o
35 >> > --> pppd: �o
36 >> > --> pppd: �o
37 >> > --> pppd: �o
38 >> > --> pppd: �o
39 >> > --> Authentication (PAP) started
40 >> > --> pppd: �o
41 >> > --> Authentication (PAP) successful
42 >> > --> pppd: �o
43 >> > --> pppd: �o
44 >> > --> pppd: �o
45 >> > --> pppd: �o
46 >> > --> pppd: �o
47 >> > --> pppd: �o
48 >> > --> pppd: �o
49 >> > --> pppd: �o
50 >> > --> Terminate Request
51 >> > --> ***** no quoted text found in `rcvd [LCP TermReq id=0x1]' *****
52 >> > --> pppd: �o
53 >> > --> pppd: �o
54 >> > --> pppd: �o
55 >> > --> pppd: �o
56 >> > --> pppd: �o
57 >> > --> Disconnecting at Fri Jul 3 12:10:35 2009
58 >> > --> The PPP daemon has died: A modem hung up the phone (exit code = 16)
59 >> > --> man pppd explains pppd error codes in more detail.
60 >> > --> Try again and look into /var/log/messages and the wvdial and pppd
61 >> > man pages for more information.
62 >> > --> Auto Reconnect will be attempted in 5 seconds
63 >> >
64 >> > I have this in the logs:
65 >> >
66 >> > Jul 3 10:43:42 [pppd] pppd 2.4.4 started by root, uid 0
67 >> > Jul 3 10:43:42 [pppd] Using interface ppp0
68 >> > Jul 3 10:43:42 [pppd] Connect: ppp0 <--> /dev/ttyACM0
69 >> > Jul 3 10:43:44 [pppd] PAP authentication succeeded
70 >> > Jul 3 10:43:45 [pppd] LCP terminated by peer
71 >> > Jul 3 10:43:48 [pppd] Connection terminated.
72 >> > Jul 3 10:43:48 [pppd] Modem hangup
73 >> > Jul 3 10:43:48 [pppd] Exit.
74 >> >
75 >> > This page outlines the config to make it work:
76 >> >
77 >> > http://eightzerofour.wordpress.com/tag/wvdialconf/
78 >> >
79 >> > Here it is:
80 >> >
81 >> > [Dialer Defaults]
82 >> > Modem = /dev/ttyACM0
83 >> > Init1 = ATZ
84 >> > Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
85 >> > Stupid Mode = 1
86 >> > Modem Type = USB Modem
87 >> > Phone = *99#
88 >> > New PPPD = yes
89 >> > ISDN = 0
90 >> > Username = blank
91 >> > Password = blank
92 >> > Baud = 460800
93 >> >
94 >> > But it isn't working for me.
95 >> >
96 >> > I'm new to wvdial and cell phone data connections in general. What
97 >> > could be the problem?
98 >> >
99 >> > - Grant
100 >>
101 >> Here is the output in /var/log/ppp/current:
102 >>
103 >> Jul 3 12:10:31 [pppd] pppd 2.4.4 started by root, uid 0
104 >> Jul 3 12:10:31 [pppd] using channel 45
105 >> Jul 3 12:10:31 [pppd] Using interface ppp0
106 >> Jul 3 12:10:31 [pppd] Connect: ppp0 <--> /dev/ttyACM0
107 >> Jul 3 12:10:31 [pppd] sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic
108 >> 0xa6484d43> <pcomp> <accomp>]
109 >> Jul 3 12:10:31 [pppd] rcvd [LCP ConfRej id=0x1 <magic 0xa6484d43>
110 >> <pcomp> <accomp>]
111 >> Jul 3 12:10:31 [pppd] sent [LCP ConfReq id=0x2 <asyncmap 0x0>]
112 >> Jul 3 12:10:31 [pppd] rcvd [LCP ConfAck id=0x2 <asyncmap 0x0>]
113 >> Jul 3 12:10:31 [pppd] rcvd [LCP ConfReq id=0x0 <auth pap> <mru 1500>
114 >> <asyncmap 0xa0000>]
115 >> Jul 3 12:10:31 [pppd] sent [LCP ConfAck id=0x0 <auth pap> <mru 1500>
116 >> <asyncmap 0xa0000>]
117 >> Jul 3 12:10:31 [pppd] sent [PAP AuthReq id=0x1 user="blank"
118 >> password=<hidden>] Jul 3 12:10:31 [pppd] rcvd [PAP AuthAck id=0x1 ""]
119 >> Jul 3 12:10:31 [pppd] PAP authentication succeeded
120 >> Jul 3 12:10:31 [pppd] sent [CCP ConfReq id=0x1 <mppe -H -M -S -L -D
121 >> -C> <deflate 15> <deflate(old#) 15> <bsd v1 15>]
122 >> Jul 3 12:10:31 [pppd] sent [IPCP ConfReq id=0x1 <compress VJ 0f 01>
123 >> <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
124 >> Jul 3 12:10:31 [pppd] rcvd [IPCP ConfReq id=0x0 <addr 10.6.6.6>]
125 >> Jul 3 12:10:31 [pppd] sent [IPCP ConfAck id=0x0 <addr 10.6.6.6>]
126 >> Jul 3 12:10:31 [pppd] rcvd [LCP ProtRej id=0x0 80 fd 01 01 00 15 12
127 >> 06 00 00 00 00 1a 04 78 00 18 04 78 00 15 03 2f]
128 >> Jul 3 12:10:31 [pppd] Protocol-Reject for 'Compression Control
129 >> Protocol' (0x80fd) received
130 >> Jul 3 12:10:32 [pppd] rcvd [LCP TermReq id=0x1]
131 >> Jul 3 12:10:32 [pppd] LCP terminated by peer
132 >> Jul 3 12:10:32 [pppd] sent [LCP TermAck id=0x1]
133 >> Jul 3 12:10:35 [pppd] Connection terminated.
134 >> Jul 3 12:10:35 [pppd] Modem hangup
135 >> Jul 3 12:10:35 [pppd] Exit.
136 >
137 > I can't make wvdial emerge on my machine (bug # 274849) and I am only a few
138 > thousand miles away from Tanzania, but I would suggest that you try "user"
139 > for Username rather than blank. May also want to try your ISP username/pin
140 > for Username/Password.
141 >
142 > HTH.
143 > --
144 > Regards,
145 > Mick
146 >
147
148 --
149 Sent from my mobile device

Replies

Subject Author
Re: [gentoo-user] Re: {OT} wvdial fails with "Zain" Tanzanian network Mick <michaelkintzios@×××××.com>