From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Frey Subject: Re: PAPA/CHAP again??? Date: Mon, 19 May 2003 22:45:03 -0400 Sender: linux-diald-owner@vger.kernel.org Message-ID: <3EC996AF.5070609@sympatico.ca> References: <3EC7E4D5.20165.470D3ED@localhost> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <3EC7E4D5.20165.470D3ED@localhost> List-Id: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: Demetre Valaris Cc: linux-diald@vger.kernel.org Hi Demetre, Your new ISP does not require a login before ppp starts. The junk you see in the log (and when dialing with minicom) is the ppp negotiation starting. Edit your connect script so it finishes after receiving CONNECT - remove the lines expecting 'sername:' and 'assword:' and anything else after that. Mark. Demetre Valaris wrote: > Hi guys, > > I seem to be lost a bit here with PAP/CHAP and DIALD. > I use Diald Version 1.0 and I had to change ISPs to one that needs PAP or CHAP > authentication. > > Up to now all worked OK for me but since I changed ISP it does not. I can > connect to this new ISP with WVDIAL which means that my /etc/ppp/pap-secrets > and /etc/ppp/chap-secrets files work OK. > > But when I try to connect with my DIALD it fails. > My /etc/diald/internet/connect file contains the line: > > pppd-options noipdefault > pppd-options name sv1uy > > where sv1uy is my login name to this ISP. > > Here is an extract of my /var/log/messages file whenever I try to connect > using DIALD. > > Could anyone possibly help??? I have read the instructions (RTFM hi hi hi) but > I cannot find any answers!!! > > > ------------------------------------------------------- > May 18 19:31:40 nest-0 diald[1253]: connector: send (ATM1^M) > May 18 19:31:40 nest-0 diald[1253]: connector: expect (OK) > May 18 19:31:40 nest-0 diald[1253]: connector: ^M > May 18 19:31:40 nest-0 diald[1253]: connector: ATM1^M^M > May 18 19:31:40 nest-0 diald[1253]: connector: OK > May 18 19:31:40 nest-0 diald[1253]: connector: -- got it > May 18 19:31:40 nest-0 diald[1253]: connector: send (ATDT8962500000^M) > May 18 19:31:41 nest-0 diald[1253]: connector: timeout set to 60 seconds > May 18 19:31:41 nest-0 diald[1253]: connector: expect (CONNECT) > May 18 19:31:41 nest-0 diald[1253]: connector: ^M > May 18 19:32:06 nest-0 diald[1253]: connector: ATDT8962500000^M^M > May 18 19:32:06 nest-0 diald[1253]: connector: CONNECT > May 18 19:32:06 nest-0 diald[1253]: connector: -- got it > May 18 19:32:06 nest-0 diald[1253]: connector: abort on (NO CARRIER) > May 18 19:32:06 nest-0 diald[1253]: connector: abort on (NO DIALTONE) > May 18 19:32:06 nest-0 diald[1253]: connector: abort on (NO DIAL TONE) > May 18 19:32:06 nest-0 diald[1253]: connector: abort on (Busy) > May 18 19:32:06 nest-0 diald[1253]: connector: abort on (VOICE) > May 18 19:32:06 nest-0 diald[1253]: connector: abort on (RING\r) > May 18 19:32:06 nest-0 diald[1253]: connector: expect (sername:) > May 18 19:32:06 nest-0 diald[1253]: connector: 49333/ARQ/V90/LAPM/V42BIS^M > May 18 19:32:10 nest-0 diald[1253]: connector: ~^?}#@!}! } }8}"}&} }*} } > }#}$@#}%}&}>^UOG}'}"}(}"}2F~~^?}#@!}! > May 18 19:32:12 nest-0 diald[1253]: connector: } }8}"}&} }*} } > }#}$@#}%}&}>^UOG}'}"}(}"XT~~^?}#@!}!^K} }8}"}&} }*} } }#}$@#}%}&}>^U > May 18 19:32:16 nest-0 diald[1253]: connector: OG}'}"}(}"^Q]~~^?}#@!}!^L} > }8}"}&} }*} } }#}$@#}%}&}>^UOG}'}"}(}"]x~~^?}#@!}!^M} }8}"} > May 18 19:32:18 nest-0 diald[1253]: connector: &} }*} } > }#}$@#}%}&}>^UOG}'}"}(}"}4q~~^?}#@!}!^N} }8}"}&} }*} } }#}$@#}%}&}>^UOG}'}" > May 18 19:32:22 nest-0 diald[1253]: connector: }(}"^c~~^?}#@!}!^O} }8}"}&} }*} > } }#}$@#}%}&}>^UOG}'}"}(}"^Wj~~^?}#@!}!^P} }8}"}&} }*} > May 18 19:32:24 nest-0 diald[1253]: connector: } > }#}$@#}%}&}>^UOG}'}"}(}"O}]~~^?}#@!}!^Q} }8}"}&} }*} } > }#}$@#}%}&}>^UOG}'}"}(}"}& > May 18 19:32:28 nest-0 diald[1253]: connector: t~~^?}#@!}!^R} }8}"}&} }*} } > }#}$@#}%}&}>^UOG}'}"}(}"Lf~^M > May 18 19:32:28 nest-0 diald[1253]: connector: NO CARRIER > May 18 19:32:28 nest-0 diald[1253]: connector: -- failed > May 18 19:32:28 nest-0 diald[1253]: connector: Failed (NO CARRIER) > May 18 19:32:28 nest-0 diald[1253]: Connect script failed. > May 18 19:32:29 nest-0 diald[1253]: Delaying 10 seconds before clear to dial. > May 18 19:32:36 nest-0 diald[1253]: FIFO: link down request > ------------------------------------------------------------------------------- > > I tried to use minicom to connect and see if I get any sort of prompt but I > get the same garbage instead of a ligin prompt. > > I suspect it has something to do with my configuration since the ISP probably > expects something else from me and I am not giving it to him, since my WVDIAL > script connects OK every time. I even copied the AT init commands that my > WVDIAL script uses and used them to my /usr/share/diald/modem/generic file so > that it is not a matter of COMPRESSION ERRORS but no joy. > > I would appreciate any help on this one guys!!! > > Thanks in advance. > > === > 73 de Demetre SV1UY > e-mail: sv1uy at sv1uy.ampr.org > PACKET MAIL: SV1UY@SV1UY.ATH.GRC.EURO > http://www.athnet.ampr.org/~sv1uy > > > - > To unsubscribe from this list: send the line "unsubscribe linux-diald" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html >