diff options
| -rw-r--r-- | share/doc/handbook/authors.sgml | 6 | ||||
| -rw-r--r-- | 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 4a40c4d73d2f..5bd75995cd71 100644 --- a/share/doc/handbook/authors.sgml +++ b/share/doc/handbook/authors.sgml @@ -1,4 +1,4 @@ -<!-- $Id: authors.sgml,v 1.28 1996/07/01 22:04:09 jkh Exp $ --> +<!-- $Id: authors.sgml,v 1.29 1996/07/02 23:16:14 wosch Exp $ --> <!-- The FreeBSD Documentation Project --> <!-- @@ -322,3 +322,7 @@ and double quotes. <!ENTITY a.hm "Hellmuth Michaelis <tt><htmlurl url='mailto:hm@kts.org' name='<hm@kts.org>'></tt>"> + +<!ENTITY a.rhuff "Robert Huff + <tt><htmlurl url='mailto:rhuff@cybercom.net' + name='<rhuff@cybercom.net>'></tt>"> diff --git a/share/doc/handbook/ppp.sgml b/share/doc/handbook/ppp.sgml index 0383cc739958..54c3aaf49553 100644 --- a/share/doc/handbook/ppp.sgml +++ b/share/doc/handbook/ppp.sgml @@ -1,4 +1,4 @@ -<!-- $Id: ppp.sgml,v 1.6 1995/12/04 17:58:46 jfieber Exp $ --> +<!-- $Id: ppp.sgml,v 1.7 1996/05/16 23:18:11 mpp Exp $ --> <!-- The FreeBSD Documentation Project --> <sect><heading>Setting up kernel PPP<label id="ppp"></heading> @@ -150,6 +150,60 @@ echo \13 exit </verb> + +<p>Here is an alternate method using <tt>chat</tt> instead of +<tt>kermit</tt>. + +<em>Contributed by &a.rhuff;.</em> + +<p>The following two files are sufficient to accomplish a pppd +connection. + +<p><tt>/etc/ppp/options</tt>: +<verb> + /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 <your.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 <local_ip>:<remote_ip> + +defaultroute # put this if you want that PPP server will be + # your default router +</verb> + + +<p><tt>/etc/ppp/login.chat.script</tt>: + +(This should actually go into a single line.) + +<verb> +ABORT BUSY ABORT 'NO CARRIER' "" AT OK ATDT<phone.number> + CONNECT "" TIMEOUT 10 ogin:-\\r-ogin: <login-id> + TIMEOUT 5 sword: <password> +</verb> + + +Once these are installed and modified correctly, all you need to +do is + +<p><tt>pppd</tt>. + + +<em> This sample based primarily on information provided by: Trev Roydhouse +<Trev.Roydhouse@f401.n711.z3.fidonet.org> and used by +permission.</em> + + <sect1><heading>Working as a PPP server</heading> <p><tt>/etc/ppp/options</tt>: |
