From owner-freebsd-questions Fri Feb 26 17:11:28 1999 Delivered-To: freebsd-questions@freebsd.org Received: from gina.neland.dk (pm32-13.image.dk [194.234.173.77]) by hub.freebsd.org (Postfix) with ESMTP id 6A09814FE1 for ; Fri, 26 Feb 1999 17:11:25 -0800 (PST) (envelope-from root@neland.dk) Received: from gina (gina [192.168.0.14]) by gina.neland.dk (8.9.3/8.9.3) with ESMTP id CAA04326; Sat, 27 Feb 1999 02:04:59 +0100 (CET) (envelope-from root@neland.dk) Date: Sat, 27 Feb 1999 02:04:59 +0100 (CET) From: Leif Neland To: Brian Somers Cc: questions@FreeBSD.ORG Subject: Re: user-ppp, dialin and dialout, fixed ip. In-Reply-To: <199902161843.SAA00418@keep.lan.Awfulhak.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 16 Feb 1999, Brian Somers wrote: > > Also, the Livingston 2e seems to be able to do dialback. Can I use this > > wuth userland-ppp? > > Yes. Look at the man pages and sample files (search for callback). > The livingston won't do dialback when asked by the caller (as far as I understand), so I have set it up to callback by itself, when I call in. However, I can't use # If you wish to connect to a server that will dial back *without* using # the ppp callback facility (rfc1570), take advantage of the fact that # ppp doesn't look for carrier 'till `set login' is complete: # # Here, we expect the server to say DIALBACK then disconnect after # we've authenticated ourselves. When this has happened, we wait # 60 seconds for a RING. # dialback: set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATZ OK-ATZ-OK \ ATDT\\T TIMEOUT 60 CONNECT" set login "TIMEOUT 5 ogin:--ogin: ppp word: ppp TIMEOUT 15 DIALBACK \ \"\" NO\\sCARRIER \"\" TIMEOUT 60 RING ATA CONNECT" because I use pap auth, i.e. I never see the login: prompt. So after dialing in, and the livingston hangs up, I have to kill ppp, so mgetty can start a ppp -direct. How do I tell ppp to hang around waiting for dialback when I can't use the above method? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message