From owner-freebsd-questions Fri Jan 29 16:45:53 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA13501 for freebsd-questions-outgoing; Fri, 29 Jan 1999 16:45:53 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from awfulhak.org (awfulhak.force9.co.uk [195.166.136.63]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA13269 for ; Fri, 29 Jan 1999 16:45:45 -0800 (PST) (envelope-from brian@Awfulhak.org) Received: from keep.lan.Awfulhak.org (keep.lan.Awfulhak.org [172.16.0.8]) by awfulhak.org (8.8.8/8.8.8) with ESMTP id AAA15468; Sat, 30 Jan 1999 00:35:58 GMT (envelope-from brian@Awfulhak.org) Received: from keep.lan.Awfulhak.org (localhost [127.0.0.1]) by keep.lan.Awfulhak.org (8.9.2/8.9.2) with ESMTP id AAA11686; Sat, 30 Jan 1999 00:37:26 GMT (envelope-from brian@keep.lan.Awfulhak.org) Message-Id: <199901300037.AAA11686@keep.lan.Awfulhak.org> X-Mailer: exmh version 2.0.2 2/24/98 To: tracker@worldy.com cc: questions@FreeBSD.ORG Subject: Re: ppp configuration question In-reply-to: Your message of "Fri, 29 Jan 1999 14:38:46 EST." <36B20E46.4411@worldy.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 30 Jan 1999 00:37:26 +0000 From: Brian Somers Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > RE: FREEBSD 2.2.8 (ppp version 2.0) > I am using the on-line manual to configure ppp for dial-up connection. > > section 15.1.5.1 shows that if your ISP screen looks like; > > login: foo > password: bar > protocol: ppp > > that line 7 of /etc/ppp/ppp.conf should read: > > set login "TIMEOUT 10 \"\" \"\" gin:--gin: foo word:bar col: ppp" ^ You're missing a space ! > When I sign to my ISP (in Windows 95) I get a dos window > which pops up only asking for: > > login: foo > password: bar > > (no protocol is requested), then I have to push F7 to drop > the dos window and continue. > > Given the difference, how would I change the line in /etc/ppp/ppp/conf > to allow for these two differences? Well, first you've got to sit down and think about what's going on in each environment. Your isp is giving two prompts and you're answering each. The ppp ``set login'' command is being told an expect send sequence. Isn't it fairly clear that you need to remove the last two words in the above example ? WRT the F7 thing, clearly, pressing this key has nothing to do with interactions with your ISP. You're telling ppp to start doing its stuff (you're finished logging in). Skipping through the ppp man page on FreeBSD will mention that ~p should be used. You're expected to *try* doing what you consider makes sense. If you don't think the manual page is explaining this stuff clearly, feel free to submit something better. > Thanks. Cheers. -- Brian 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