📄 readme
字号:
This directory contains a set of scripts which have been used on Linuxsystems to initiate or maintain a connection with PPP. The files inthis directory were contributed by Al Longyear (longyear@netcom.com).------------------------------------------------------------------------1. READMEThis file. You are reading it. It is just documentation.------------------------------------------------------------------------2. ppp-onThis script will initiate a connection to the PPP system. It will runthe chat program with the connection script as a parameter. This is apossible security hole. However, it is simple. It is meant to replacethe previous version of ppp-on which was not very functional.The ppp-on script has entries for the account name, password, IPaddresses, and telephone numbers. The parameters are passed to thepppd process and, then in turn, to the second part of the connectscript, as a set of environment variables.Please make sure that you put the full path name to the ppp-on-dialerscript in the reference to it in ppp-on.------------------------------------------------------------------------3. ppp-on-dialerThis is the second part to the simple calling script, ppp-on. Itexecutes the chat program to connect the user with a standard UNIXstyle getty/login connection sequence.------------------------------------------------------------------------4. callbackThis script may be used in lieu of the ppp-on-dialer to permit thecommon modem callback sequence. You may need to make changes to theexpected prompt string for the modem.The script works by disabling the system's detection of the DCDcondition and working on the modem status message "NO CARRIER" whichis generated when the modem disconnects.It is crude. It does work for my modem connection. Use as you see fit.------------------------------------------------------------------------5. redialerThe redialer script is a replacement for the ppp-on-dialer script. Itwill do 'attack dialing' or 'demon dialing' of one or more telephonenumbers. The first number which responds will be used for aconnection.There is a limit of ten attempts and a 15 second delay between dialingattempts. Both values are set in the script.------------------------------------------------------------------------6. ppp-offThis is a script which will terminate the active ppp connection. Useas either "ppp-off" to terminate ppp0, or "ppp-off <device>" toterminate the connection on <device>. For example, "ppp-off ppp2" willterminate the ppp2 connection.------------------------------------------------------------------------7. secure-cardThis script was written by Jim Isaacson <jcisaac@crl.com>. It is a scriptfor the 'expect' programming language used with Tcl. You need to haveexpect and Tcl installed before this script may be used.This script will operate with a device marketed under the name "SecureCARD".This little device is mated with its controller. On the credit card sizedevice, there is a sequence number which changes on a random basis. In orderfor you to connect you need to enter a fixed portion of your account nameand the number which is displayed on this card device. The number must matchthe value at the controller in order for the account name to be used.The problem is that chat uses fixed response strings. In addition, thetiming for running the script may prevent the use of a script that reads thevalue before it starts the dial sequence. What was needed was a script whichasked the user at the user's console at the time that it is needed.This led to the use of expect.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -