rev |
line source |
pankso@6
|
1 README.scripts - PPP scripts documentation for SliTaz GNU/Linux 2007
|
pankso@6
|
2 ===============================================================================
|
pankso@6
|
3
|
pankso@6
|
4
|
pankso@6
|
5 This README.scripts file is based on the documentation found in the ppp source
|
pankso@6
|
6 package (version 2.4.4). The files in the scripts/ directory were contributed
|
pankso@6
|
7 by Al Longyear (longyear@netcom.com) and Adi Masputra (adi.masputra@sun.com).
|
pankso@6
|
8 This file was modified for SliTaz by Christophe Lincoln (pankso@slitaz.org).
|
pankso@6
|
9
|
pankso@6
|
10
|
pankso@6
|
11 ppp-on
|
pankso@6
|
12 ------
|
pankso@6
|
13 This script will initiate a connection to the PPP system. It will run
|
pankso@6
|
14 the chat program with the connection script as a parameter. This is a
|
pankso@6
|
15 possible security hole. However, it is simple. It is meant to replace
|
pankso@6
|
16 the previous version of ppp-on which was not very functional.
|
pankso@6
|
17
|
pankso@6
|
18 The ppp-on script has entries for the account name, password, IP
|
pankso@6
|
19 addresses, and telephone numbers. The parameters are passed to the
|
pankso@6
|
20 pppd process and, then in turn, to the second part of the connect
|
pankso@6
|
21 script, as a set of environment variables.
|
pankso@6
|
22
|
pankso@6
|
23 Please make sure that you put the full path name to the ppp-on-dialer
|
pankso@6
|
24 script in the reference to it in ppp-on.
|
pankso@6
|
25
|
pankso@6
|
26
|
pankso@6
|
27 ppp-on-dialer
|
pankso@6
|
28 -------------
|
pankso@6
|
29 This is the second part to the simple calling script, ppp-on. It
|
pankso@6
|
30 executes the chat program to connect the user with a standard UNIX
|
pankso@6
|
31 style getty/login connection sequence.
|
pankso@6
|
32
|
pankso@6
|
33
|
pankso@6
|
34 callback
|
pankso@6
|
35 --------
|
pankso@6
|
36 This script may be used in lieu of the ppp-on-dialer to permit the
|
pankso@6
|
37 common modem callback sequence. You may need to make changes to the
|
pankso@6
|
38 expected prompt string for the modem.
|
pankso@6
|
39
|
pankso@6
|
40 The script works by disabling the system's detection of the DCD
|
pankso@6
|
41 condition and working on the modem status message "NO CARRIER" which
|
pankso@6
|
42 is generated when the modem disconnects.
|
pankso@6
|
43
|
pankso@6
|
44 It is crude. It does work for my modem connection. Use as you see fit.
|
pankso@6
|
45
|
pankso@6
|
46
|
pankso@6
|
47 redialer
|
pankso@6
|
48 --------
|
pankso@6
|
49 The redialer script is a replacement for the ppp-on-dialer script. It
|
pankso@6
|
50 will do 'attack dialing' or 'demon dialing' of one or more telephone
|
pankso@6
|
51 numbers. The first number which responds will be used for a
|
pankso@6
|
52 connection.
|
pankso@6
|
53
|
pankso@6
|
54 There is a limit of ten attempts and a 15 second delay between dialing
|
pankso@6
|
55 attempts. Both values are set in the script.
|
pankso@6
|
56
|
pankso@6
|
57
|
pankso@6
|
58 ppp-off
|
pankso@6
|
59 -------
|
pankso@6
|
60 This is a script which will terminate the active ppp connection. Use
|
pankso@6
|
61 as either "ppp-off" to terminate ppp0, or "ppp-off <device>" to
|
pankso@6
|
62 terminate the connection on <device>. For example, "ppp-off ppp2" will
|
pankso@6
|
63 terminate the ppp2 connection.
|
pankso@6
|
64
|
pankso@6
|
65
|
pankso@6
|
66 ===============================================================================
|
pankso@6
|
67 http://ppp.samba.org/ http://www.slitaz.org/
|