nas.scm is a Guile program that allows to convert a GNU/Linux
box into a NAS. It requires Guile version 1.4 or better and ppp
version 2.3.7 or better.
To use it, you will basically need to do the following:
    ln -s libexec/nas.scm /etc/ppp/ip-up
    ln -s libexec/nas.scm /etc/ppp/ip-down
Here, libexec denotes the location of your libexec directory,
where nas.scm is installed. If not overridden at configure
time, it defaults to `prefix/libexec'. These links assure
the ppp will invoke nas.scm when the user's session
starts and ends, thus giving it a possibility to send accounting
requests.
nas-log-facility, specifying the syslog
facility to be used for logging and pppd-args, keeping the
arguments to be given to ppp. 
getty.
For example, if you use mgetty, then the `inittab'
entries for dial-up lines will look like:
    d0:345:respawn:/sbin/mgetty ttyS0 vt100
    d1:345:respawn:/sbin/mgetty ttyS1 vt100
    ...
The mgetty's `login.config' will then contain the following line:
    *       -       -       /usr/local/libexec/nas.scm 
If you use agetty, then the `inittab' will contain
(with the long lines split for readability):
    d0:345:respawn:/sbin/agetty -mt60 \
       -l /usr/local/libexec/nas.scm 38400,19200,9600 \
       ttyS0 vt100
    d1:345:respawn:/sbin/agetty -mt60 \
       -l /usr/local/libexec/nas.scm 38400,19200,9600 \
       ttyS1 vt100
    ...
Go to the first, previous, next, last section, table of contents.