Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Mar 1998 19:26:06 +0000
From:      Brian Somers <brian@Awfulhak.org>
To:        Ulf Zimmermann <ulf@Alameda.net>
Cc:        questions@FreeBSD.ORG
Subject:   Re: I give up, how do I use ppp with -auto, chap and dynamic addresses ? 
Message-ID:  <199803241926.TAA09517@awfulhak.org>
In-Reply-To: Your message of "Tue, 24 Mar 1998 06:06:25 PST." <199803241406.GAA24611@Gatekeeper.Alameda.net> 

next in thread | previous in thread | raw e-mail | index | archive | help
> Trying to dial into AT&T Worldnet, chat itself it login in, then
> currently either the chap or the IP assignment fails.
> 
> /etc/ppp/ppp.conf looks like this:
[.....]
> worldnet:
[.....]
>  set login "TIMEOUT 5 Please Sign-on:-\\r-ign-on:"
[.....]
[.....]
> Mar 24 07:08:21 system3 ppp[277]: tun0: Chat: Expecting Please
> Mar 24 07:08:21 system3 ppp[277]: tun0: Chat: Wait for (5): Please --> Please
> Mar 24 07:08:21 system3 ppp[277]: tun0: Connect:  115200^M
> Mar 24 07:08:23 system3 ppp[277]: tun0: Connect: ^M
> Mar 24 07:08:23 system3 ppp[277]: tun0: Connect: STATION ID - hnlhi02ms09am002,s
> nfca05ev^M
> Mar 24 07:08:23 system3 ppp[277]: tun0: Connect: ^M
> Mar 24 07:08:23 system3 ppp[277]: tun0: Connect: Welcome ^M
> Mar 24 07:08:23 system3 ppp[277]: tun0: Connect: Please
> Mar 24 07:08:23 system3 ppp[277]: tun0: Chat: sending: Sign-on:-^M-ign-on:^M
> Mar 24 07:08:23 system3 ppp[277]: tun0: Phase: *Connected!
[.....]

Well, you're expecting ``Please'', sending ``Sign-on:-\r-ign-on:'' 
and then going live and sending LCP requests.  I'll bet lots that 
this isn't what you want to do.  Remember, the expect-send-expect 
syntax only works in an `expect' position in the chat script....

> ---------------------------------------------------------------------
> Ulf Zimmermann, 1525 Pacific Ave., Alameda, CA-94501, #: 510-769-2936
> Alameda Networks, Inc. | http://www.Alameda.net  | Fax#: 510-521-5073

-- 
Brian <brian@Awfulhak.org>, <brian@FreeBSD.org>, <brian@OpenBSD.org>
      <http://www.Awfulhak.org>;
Don't _EVER_ lose your sense of humour....



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199803241926.TAA09517>