LIBNETCFG(1) Perl Programmers Reference Guide LIBNETCFG(1)
NAME
libnetcfg - configure libnet
DESCRIPTION
The libnetcfg utility can be used to configure the libnet. Starting
from perl 5.8 libnet is part of the standard Perl distribution, but the
libnetcfg can be used for any libnet installation.
USAGE
Without arguments libnetcfg displays the current configuration.
$ libnetcfg
# old config ./libnet.cfg
daytimehosts ntp1.none.such
ftpintpassive 0
ftptesthost ftp.funet.fi
inetdomain none.such
nntphosts nntp.none.such
phhosts
pop3hosts pop.none.such
smtphosts smtp.none.such
snpphosts
testexist 1
testhosts 1
timehosts ntp.none.such
# libnetcfg -h for help
$
It tells where the old configuration file was found (if found).
The "-h" option will show a usage message.
To change the configuration you will need to use either the "-c" or the
"-d" options.
The default name of the old configuration file is by default "lib-
net.cfg", unless otherwise specified using the -i option, "-i oldfile",
and it is searched first from the current directory, and then from your
module path.
The default name of the new configuration file is "libnet.cfg", and by
default it is written to the current directory, unless otherwise speci-
fied using the -o option, "-o newfile".
SEE ALSO
Net::Config, Net::libnetFAQ
AUTHORS
Graham Barr, the original Configure script of libnet.
Jarkko Hietaniemi, conversion into libnetcfg for inclusion into Perl
5.8.
perl v5.8.6 2009-01-12 LIBNETCFG(1)
|