X-Git-Url: http://git.ozlabs.org/?p=ppp.git;a=blobdiff_plain;f=NeXT%2FExamples%2Fpppup.remote;fp=NeXT%2FExamples%2Fpppup.remote;h=5e1055224455757dcc0ca73adddecc6663564a80;hp=0000000000000000000000000000000000000000;hb=b5c0cf380b11e37f580e6f2affcb78d5ccedade0;hpb=c178bf94c8aa2e30d3934dde8b5371d05ad41f7e diff --git a/NeXT/Examples/pppup.remote b/NeXT/Examples/pppup.remote new file mode 100644 index 0000000..5e10552 --- /dev/null +++ b/NeXT/Examples/pppup.remote @@ -0,0 +1,22 @@ +#!/bin/csh -f +# +# -*- Fundamental -*- +# +# +# kdebug 1 is SC_DEBUG +# 2 is SC_LOG_INPKT +# 4 is SC_LOG_OUTPKT +# 8 is SC_LOG_RAWIN +# 16 is SC_LOG_FLUSH +# +# add together to get debugging you want +# Remember: for HW flow control you must you /dev/cufa or /dev/cufb +# +# This script is used as the shell for a user account entitiled ppp. +# When users log into this account, PPP is automatically started +# (through this script). The 'echo' command is to help the remote +# process synchronize with this end. +echo Starting PPP +/usr/bin/mesg n +/bin/stty -tostop litout +exec /usr/local/bin/pppd passive bsdcomp 10,10 lcp-echo-interval 15 lcp-echo-failure 3 debug kdebug 17 57600