# # # PPP source # -------------- ftp://cs.anu.edu.au/pub/software/ppp/ # # Test PPP with various clients # ----------------------------- # minicom - seyon -- should allow you to login as "user" or PPP_user ( says modem answering and baudrate and login is working ) ppp-on - kppp - xisp - ezppp # # Misc Docs # http://metalab.unc.edu/pub/Linux/system/network/serial/ppp/ # http://www.linuxdoc.org/HOWTO/Serial-HOWTO.html http://www.linuxdoc.org/HOWTO/Modem-HOWTO.html # # # http://www.redhat.com/support/mailing-lists/archives/search.cgi http://www.redhat.com/corp/support/docs/PPP-Client-Tips/PPP-Client-Tips.html http://www.redhat.com/corp/support/docs/Network-Config-Tips/Network-Config-Tips.html http://garfield.msl.net/pppsetup # http://www.swcp.com/~jgentry/pers.html # # # Mgetty # http://users.leo.org/~doering/mgetty/ http://alpha.greenie.net/mgetty/ ftp://hpsystem2.informatik.tu-muenchen.de/pub/comp/networking/communication/modem/mgetty. # http://members.bellatlantic.net/~mrdennis/mgetty.html # # vi /etc/inittab S2:2345:respawn:/sbin/mgetty ttyS2 -D /dev/ttyS2 # chmod u+s /usr/sbin/pppd # /etc/bashrc ( for allowing users to type ppp after connecting ) alias ppp="exec /usr/sbin/pppd -detach" # # /etc/passwd ppp:x:351:230:pppclient:/home/ppp:/usr/sbin/pppd # # chmod 600 /usr/local/etc/mgetty+sendfax/login.config chown root.root /usr/local/etc/mgetty+sendfax/login.config # # # PPP devices # mknod /dev/ppp c 108 0 # /etc/mgetty+sendfax/login.config # /AutoPPP/ - - /usr/sbin/pppd file /etc/ppp/options.server /AutoPPP/ - ppp /usr/sbin/pppd file /etc/ppp/options.server # The "file" option tells pppd to read the file /etc/ppp/options.server instead of the default /etc/ppp/options. # # /etc/ppp/options.server auth -chap +pap login asyncmap 0 :aa.bb.cc.dd ( assign to dialup client ) debug modem crtscts dns-addr ee.ff.gg.hh ( secondary dns ) dns-addr ii.jj.kk.ll proxyarp # # another verison # /etc/ppp/options lock defaultroute noipdefault silent noauth modem /dev/ttyS2 57600 crtscts debug passive asyncmap 0 # /etc/mgetty+sendfax/mgetty.config to your preference port ttyS0 data-only y direct n term vt100 - - other options - debug 5 speed 38400 login-prompt @ \P login: port-owner uucp port-group uucp port-mode 0664 # # # Compiling PPP # ------------- # To use the MS-DNS options for Windows compatibility, and shadow, use: make USE_MS_DNS=1 HAS_SHADOW=1 # ---------------------------------------------- # # if using Modules - add these # /etc/conf.modules alias tty-ldisc-3 ppp_async alias char-major-108 ppp_generic # # Sequence Module Description 1 slhc.o VJ header compression 2 ppp.o PPP driver 3 bsd_comp.o BSD compression for PPP's compression protocol. # # # # Checking the PPP starts up ok # ----------------------------- # server# su - PPP_acct }#!}!}!} }4}"}&} } } } }%}&ױL}'}"}(}"Dd~ .... wait for it to time out.... - if you get this jibberish pppd is running okay... if not... su - PPP_acct /usr/sbin/pppd: must be root to run /usr/sbin/pppd, since it is not setuid-root mkdir /home/ppp chmod 4755 /usr/sbin/pppd # # # sometimes might need this ??? # # /etc/shells # /etc/ppp/ppplogin # # end of file