Previous Next Table of Contents

5. Command line

Once configured, one configuration may be activated using the command line.

        netconf --connect config [--fore]
        

Normally, Linuxconf establish the connexion and manage to go in background. The --fore option prevent this. In fact Linuxconf do not stay alive but simply gives control to pppd and use the -detach option.

The --fore option is normally used for a permanent link controlled by the init daemon. A line such as

        i1:5:respawn:/bin/netconf --connect site --fore
        

in the /etc/inittab file is all is needed to keep alive a permanent link. Linuxconf should manage this transparently one day using a single checkbox (permanent link ?) in the configuration dialog.

        netconf --disconnect config
        

will terminate the connection.


Previous Next Table of Contents