112 lines
2.6 KiB
HTML
112 lines
2.6 KiB
HTML
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML><HEAD><TITLE>Man page of LIBNETCFG</TITLE>
|
|
</HEAD><BODY>
|
|
<H1>LIBNETCFG</H1>
|
|
Section: Perl Programmers Reference Guide (1)<BR>Updated: 2020-10-19<BR><A HREF="#index">Index</A>
|
|
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<A NAME="lbAB"> </A>
|
|
<H2>NAME</H2>
|
|
|
|
libnetcfg - configure libnet
|
|
<A NAME="lbAC"> </A>
|
|
<H2>DESCRIPTION</H2>
|
|
|
|
|
|
|
|
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.
|
|
<A NAME="lbAD"> </A>
|
|
<H2>USAGE</H2>
|
|
|
|
|
|
|
|
Without arguments libnetcfg displays the current configuration.
|
|
<P>
|
|
|
|
|
|
|
|
<PRE>
|
|
$ libnetcfg
|
|
# old config ./libnet.cfg
|
|
daytime_hosts ntp1.none.such
|
|
ftp_int_passive 0
|
|
ftp_testhost <A HREF="ftp://ftp.funet.fi">ftp.funet.fi</A>
|
|
inet_domain none.such
|
|
nntp_hosts nntp.none.such
|
|
ph_hosts
|
|
pop3_hosts pop.none.such
|
|
smtp_hosts smtp.none.such
|
|
snpp_hosts
|
|
test_exist 1
|
|
test_hosts 1
|
|
time_hosts ntp.none.such
|
|
# libnetcfg -h for help
|
|
$
|
|
|
|
</PRE>
|
|
|
|
|
|
<P>
|
|
|
|
It tells where the old configuration file was found (if found).
|
|
<P>
|
|
|
|
The <TT>"-h"</TT> option will show a usage message.
|
|
<P>
|
|
|
|
To change the configuration you will need to use either the <TT>"-c"</TT> or
|
|
the <TT>"-d"</TT> options.
|
|
<P>
|
|
|
|
The default name of the old configuration file is by default
|
|
``libnet.cfg'', unless otherwise specified using the -i option,
|
|
<TT>"-i oldfile"</TT>, and it is searched first from the current directory,
|
|
and then from your module path.
|
|
<P>
|
|
|
|
The default name of the new configuration file is ``libnet.cfg'', and by
|
|
default it is written to the current directory, unless otherwise
|
|
specified using the -o option, <TT>"-o newfile"</TT>.
|
|
<A NAME="lbAE"> </A>
|
|
<H2>SEE ALSO</H2>
|
|
|
|
|
|
|
|
Net::Config, libnetFAQ
|
|
<A NAME="lbAF"> </A>
|
|
<H2>AUTHORS</H2>
|
|
|
|
|
|
|
|
Graham Barr, the original Configure script of libnet.
|
|
<P>
|
|
|
|
Jarkko Hietaniemi, conversion into libnetcfg for inclusion into Perl 5.8.
|
|
<P>
|
|
|
|
<HR>
|
|
<A NAME="index"> </A><H2>Index</H2>
|
|
<DL>
|
|
<DT id="1"><A HREF="#lbAB">NAME</A><DD>
|
|
<DT id="2"><A HREF="#lbAC">DESCRIPTION</A><DD>
|
|
<DT id="3"><A HREF="#lbAD">USAGE</A><DD>
|
|
<DT id="4"><A HREF="#lbAE">SEE ALSO</A><DD>
|
|
<DT id="5"><A HREF="#lbAF">AUTHORS</A><DD>
|
|
</DL>
|
|
<HR>
|
|
This document was created by
|
|
<A HREF="/cgi-bin/man/man2html">man2html</A>,
|
|
using the manual pages.<BR>
|
|
Time: 00:05:18 GMT, March 31, 2021
|
|
</BODY>
|
|
</HTML>
|