From d4fb10ff8b210d4173a31a7f73ec8dc3f5bf343f Mon Sep 17 00:00:00 2001 From: Joerg Wunsch Date: Thu, 18 Jul 1996 20:42:01 +0000 Subject: [PATCH] Addendum on how to dial with kernel-PPP using chat(1) instead of kermit. Submitted by: rhuff@cybercom.net (Robert Huff) --- share/doc/handbook/authors.sgml | 6 +++- share/doc/handbook/ppp.sgml | 56 ++++++++++++++++++++++++++++++++- 2 files changed, 60 insertions(+), 2 deletions(-) diff --git a/share/doc/handbook/authors.sgml b/share/doc/handbook/authors.sgml index 4a40c4d73d2..5bd75995cd7 100644 --- a/share/doc/handbook/authors.sgml +++ b/share/doc/handbook/authors.sgml @@ -1,4 +1,4 @@ - + + Setting up kernel PPP @@ -150,6 +150,60 @@ echo \13 exit + +

Here is an alternate method using chat instead of +kermit. + +Contributed by &a.rhuff;. + +

The following two files are sufficient to accomplish a pppd +connection. + +

/etc/ppp/options: + + /dev/cuaa1 115200 + +crtscts # enable hardware flow control +modem # modem control line +connect "/usr/bin/chat -f /etc/ppp/login.chat.script" +noipdefault # remote PPP server must supply your IP address. + # if the remote host doesn't send your IP during + # IPCP negotiation, remove this option +passive # wait for LCP packets +domain # put your domain name here + +: # put the IP of remote PPP host here + # it will be used to route packets via PPP link + # if you didn't specified the noipdefault option + # change this line to : + +defaultroute # put this if you want that PPP server will be + # your default router + + + +

/etc/ppp/login.chat.script: + +(This should actually go into a single line.) + + +ABORT BUSY ABORT 'NO CARRIER' "" AT OK ATDT + CONNECT "" TIMEOUT 10 ogin:-\\r-ogin: + TIMEOUT 5 sword: + + + +Once these are installed and modified correctly, all you need to +do is + +

pppd. + + + This sample based primarily on information provided by: Trev Roydhouse +<Trev.Roydhouse@f401.n711.z3.fidonet.org> and used by +permission. + + Working as a PPP server

/etc/ppp/options: