old-www/LDP/nag/node105.html

41 lines
1.4 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<!--Converted with LaTeX2HTML 96.1-c (Feb 29, 1996) by Nikos Drakos (nikos@cbl.leeds.ac.uk), CBLU, University of Leeds -->
<HTML>
<HEAD>
<TITLE>mode and default</TITLE>
</HEAD>
<BODY LANG="EN">
<A HREF="node1.html"><IMG WIDTH=65 HEIGHT=24 ALIGN=BOTTOM ALT="contents" SRC="contents_motif.gif"></A> <BR>
<B> Next:</B> <A HREF="node106.html">Running in Server Mode</A>
<B>Up:</B> <A HREF="node97.html">A dip Reference</A>
<B> Previous:</B> <A HREF="node104.html">sendwait and sleep</A>
<BR> <P>
<H3><A NAME="SECTION009328000">mode and default</A></H3>
These commands are used to flip the serial line to SLIP mode
and configure the interface.
<P>
The mode command is the last command executed by dip
before gong into daemon mode. Unless an error occurs, the command
does not return.
<P>
mode takes a protocol name as argument. dip
currently recognizes SLIP and CSLIP as
valid names. The current version of dip does not understand
adaptive SLIP, however.
<P>
After enabling SLIP mode on the serial line, dip executes
ifconfig to configure the interface as a point-to-point link, and
invokes route to set the route to the remote host.
<P>
If, in addition, the script executes the default command
before mode, dip will also make the default
route point to the SLIP link.
<P>
<BR> <HR>
<P><ADDRESS>
<I>Andrew Anderson <BR>
Thu Mar 7 23:22:06 EST 1996</I>
</ADDRESS>
</BODY>
</HTML>