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