Jonathan Drews wrote:
My wvdial (and kppp for that matter) will dial twice to make a connection. I get messages like these:
--> Modem Initialized. --> Dialing AT&T --> Sending ATDT655 1900 --> Waiting for carrier ATDT655 1900 CONNECT 38666/ARQ/V90/LAPM/V42BIS -->Carrier detected. Waiting for prompt. STATION ID stlmo110rs06pr003,stlmo25ev
Welcome Please Sign-on Please Sign-on Please Sign-on Please Sign-on Login failed, reason= (-179,stlmo25ev,985580215-002,stlmo110rs06pr003) Connection closed by foreign host. --> Don't know what to do! Starting pppd and hoping for the best. -->Starting pppd at Sun Mar 25 22:14:17 2001 --> pid of pppd 3143 -->Disconnecting at Sun Mar 25 22:14:31 2001 --> The PPP Daemon has died. A modem hung up the phone (exit code = 16)
WVdial obviously expects something like 'Login' and 'Password' instead of 'Please sign on'. Before writing your own chat script, as the handbook suggests, you could try this: in /etc/wvdial.conf there is a line 'Stupid mode = 0'. Set this to 1, and ppp will start immediately, and authentification will (hopefully) take place through the PAP authentification process instead of prompts like 'Please sign on'. SH