Click to See Complete Forum and Search --> : wvdial, what is going wrong?


kidaz
08-13-2002, 01:58 PM
Everytime i try to conenct to the internet using wvdial it fails.

Ive tried with 3 ISPs none work!

this is my wvdial.conf file:

[root@wiggum ppp]# cat /etc/wvdial.conf
[Modem0]
Modem = /dev/modem
Baud = 115200
SetVolume = 1
Dial Command = ATDT
Init1 = ATZ
FlowControl = Hardware (CRTSCTS)

[Dialer Dabsol]
Phone = 1405000
Password = opensesame
Username = logmein
Area Code = 0845
Stupid Mode = 0
Inherits = Modem0

Output with stupid mode:

[root@wiggum ppp]# wvdial Dabsol
--> WvDial: Internet dialer version 1.42
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Modem initialized.
--> Sending: ATDT 08451405000
--> Waiting for carrier.
ATDT 08451405000
CONNECT 33600/ARQ
--> Carrier detected. Starting PPP immediately.
--> Starting pppd at Tue Aug 13 16:48:47 2002
--> PPP daemon has died! (exit code = 10)
--> Disconnecting at Tue Aug 13 16:49:17 2002


and its relevant section in /var/log/messages:

Aug 13 16:48:47 wiggum pppd[1421]: pppd 2.4.1 started by root, uid 0
Aug 13 16:48:47 wiggum pppd[1421]: Using interface ppp0
Aug 13 16:48:47 wiggum pppd[1421]: Connect: ppp0 <--> /dev/ttyS0
Aug 13 16:48:47 wiggum /etc/hotplug/net.agent: assuming ppp0 is already up
Aug 13 16:49:17 wiggum pppd[1421]: LCP: timeout sending Config-Requests
Aug 13 16:49:17 wiggum pppd[1421]: Connection terminated.
Aug 13 16:49:17 wiggum pppd[1421]: Exit.


Output with clever mode:

--> WvDial: Internet dialer version 1.42
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Modem initialized.
--> Sending: ATDT 08451405000
--> Waiting for carrier.
ATDT 08451405000
CONNECT 26400/ARQ
--> Carrier detected. Waiting for prompt.
[1c] `@[1c] `@|[1c][1c][1c][07]~ [1c]||G[1c][07]`|[1c]| ` [1c]```[1c] `[1c] |[1c][1c]`[1c]`[1c][07][1c]|`@[1c] `@[1c] `@[1c] `@[1c][1c][1c]`[1c][1c][07]`[1c]` [1c] [1c] [1c][1c]G`[1c]`[1c]`[1c][1c][1c][07]`[1c]`[07]`[1c]`G [1c] [1c][7f][1c]`G|[7f]||`@[1c] `@[1c][1c]`[1c][1c]`x`[1c] `| `||`[1c]`[07]|G``
--> Don't know what to do! Starting pppd and hoping for the best.
--> Starting pppd at Tue Aug 13 16:54:27 2002
--> PPP daemon has died! (exit code = 10)
--> Disconnecting at Tue Aug 13 16:54:57 2002

and its relevant /var/log/messages:

Aug 13 16:54:27 wiggum pppd[1597]: pppd 2.4.1 started by root, uid 0
Aug 13 16:54:27 wiggum pppd[1597]: Using interface ppp0
Aug 13 16:54:27 wiggum pppd[1597]: Connect: ppp0 <--> /dev/ttyS0
Aug 13 16:54:27 wiggum /etc/hotplug/net.agent: assuming ppp0 is already up
Aug 13 16:54:57 wiggum pppd[1597]: LCP: timeout sending Config-Requests
Aug 13 16:54:57 wiggum pppd[1597]: Connection terminated.
Aug 13 16:54:57 wiggum pppd[1597]: Exit.
Aug 13 16:54:57 wiggum /etc/hotplug/net.agent: NET unregister event not supporte


Can anyone see whats going wrong here?

fancypiper
08-13-2002, 02:40 PM
Most ISPs ask for the username before the password.

Try reversing those two items, putting username first, then the password.

Voided
08-13-2002, 04:52 PM
I typed 'man wvdial' it has a default config in it, I used the default config and edited it to my needs, it worked fine.


Hope it helps!
-Voided