wvdial dials twice
Hi: 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) <snip> This is a stock install; no compiled kernel. Just 7.1 and KDE 2.1. Other times it will work fine but that is not often. Could it be my ISP? TIA -- Cheers, Jonathan
On Sun, 25 Mar 2001, Jonathan Drews wrote:
Hi:
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)
<snip>
This is a stock install; no compiled kernel. Just 7.1 and KDE 2.1. Other times it will work fine but that is not often. Could it be my ISP? TIA
Indirectly, yes. It looks like your ISP uses a Greeting and login sequence that is unknown to even wvdial. I would suggest bringing up minicom and dialing your ISP manually. Record the session, answering the prompts as necessary until you get dropped into PPP. You'll know when that happens - it'll burst unprintable characters at you. Then take the information in that log, and write your own chat script which better fits your ISP's prompts. Mebbe someone else can tell you how to integrate the script into wvdial or kppp. I'm still using the homegrown script I cobbled together from an example on the RedHat 4.2 CD. -- Rick Green "I have the heart of a little child, and the brain of a genius. ... and I keep them in a jar under my bed"
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
On Sun, 25 Mar 2001, Jonathan Drews wrote:
This is a stock install; no compiled kernel. Just 7.1 and KDE 2.1. Other times it will work fine but that is not often. Could it be my ISP? TIA
On first impressions, it would appear that you may be better served using pppd and a chatscript. Use a terminal program like minicom to dial up to your ISP and note where user input is required... Then post it to the list [not telling people your username and password of course ;o)] and maybe someone could help you with a chat script configuration. Maybe it can even be integrated to WVDial. I use a modified version of an alternative ISP connection chat script <grins>. HTH -- -=[Tigersden Internet Services]=- ************COMING SOON************* -=[For All Your Internet Needs]=- * HTTP://www.tigersden.demon.co.uk * -=[P.G.P. Public Key Available]=- ************COMING SOON************* -=[ !!Powered by SuSE Linux!! ]=- My eyes are 20-20, but my brain isn't too good at interpreting what they see =o)
participants (4)
-
Jonathan Drews
-
Rick Green
-
Sjoerd Hiemstra
-
The Purple Tiger