1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
|
This subdirectory contains a set of scripts in order to configure isdnbutton
and the startup of the isdn subsystem.
The main advantage is that everything is controled by a single
configuration file (/etc/isdn/isdn.conf). The main disadvantage is
that I haven't tested it with syncppp as I do not use it.
The script etc/init.d/isdn is designed for use with SYSV-init and
controls the startup and stop of the isdn subsystem. Its syntax is
isdn [start|stop].
Depending on your system the script might be moved to
/sbin/init.d/isdn or whereever your SYSV initfiles are located. Also
do not forget to create an apropiate link into the runlevel
directories (that is e.g. rc2.d or rc3.d) and to remove your old isdn
startup script!. You may want to edit the first lines of
etc/init.d/isdn in order to enable dial out at system startup.
The file etc/isdn/isdn.conf describes your isdn configuration. If you
are familar with isdnctrl, route and ifcontrol commands there is
nothing mysterious about this file, just adapt the examples in the
file to your own needs. (You should only put commands in that file
which *enable* a connection.)
The files in /usr/sbin/isdn control the isdnbutton behaviour. There is
no need to change anything in this directory. The scripts connect and
disconnect are hard links to the init.d/isdn script described above
and the do the actual removing and adding of phone numbers. The script
'make_scripts' creates connect and disconnect scripts for every
interface described in /etc/isdn/isdn.conf.
Please send changes or improvements or comments to
Bjarne Pohlers <bjarne%libelle.uucp%von-neumann@math.uni-muenster.de>
(yes, this address works... but if it shouldn't you can also try
<bjarne@informatik.uni-muenster.de> ).
By the way, use these scripts at your own risk, there is NO WARRANTY.
Some of the scripts contain code which writes to your hard disk
and might erase something important (especially if you put the one and
only copy of your diploma thesis into a file named
/usr/sbin/isdn/05-connect :-)).
|