Linuxconf is an interactive utility. It may be used as a command line utility. It is useful to do script. Furthermore, Linuxconf has several alias allowing you to enter directly into one of its functionality. Here they are.
dnsconf --set host ip ...Install a host definition in the DNS configuration. It will update the domain and the reverse mappings.
dnsconf --setfromip host ipInstall a host definition in the DNS configuration. It will update the domain and the reverse mappings. Unlike the --set option, this will delete all other host entry which point to this IP number. This functionnality is provided as a hook for automatic DNS update from a DHCP server.
dnsconf --unset hostRemove all reference to a host (A record and PTR record) from the DNS configuration.
fsconf --checkDo some sanity check (and correction) in /etc/fstab.
linuxconf --shutdownJump straight in the shutdown dialog. Useful to setup a button in your X desktop.
netconf --connect pppsetup [--fore]Establish a
PPP
connection using
the pppsetup specification. Optionnally
stays in foreground (--fore option).
netconf will terminate (when not using --fore)
only when the link is up or the connection has failed.
A useful code is return. This allows easy script like this
#!/bin/sh
if netconf --connect config
then
you can use the network right away
else
the connection has failed
fi
netconf --disconnect pppsetupTerminate a
PPP
connection.
netconf --resetfwTurn off packet filtering (Firewall) completely. This is normally used as an emergency trick to bring back a network to life after applying a "too" drastic fire-walling rule. netconf --update will reactivate theses rules.
netconf --runlevel local | client | serverSwitch the workstation to a different operation mode.
netconf --statusCheck what has to be done to bring the workstation in sync with its configuration.
netconf --updateMake the configuration file effective (make what
netconf --status
tells you that have to
be done.