<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>Remarks on the Network Configuration</TITLE>
</HEAD>
<BODY BGCOLOR="#efefef" TEXT="black" LINK="blue" VLINK="#551A8B" ALINK="red">

<A HREF="OS2.html"><EM>README for XFree86 on OS/2</EM></A>
 <b>:</b> <EM>Remarks on the Network Configuration</EM><BR>
<b>Previous:</b> <A HREF="OS29.html"><EM>Adding Variables to CONFIG.SYS </EM></A><BR>
<b>Next:</b> <A HREF="OS211.html"><EM>Configuring X for Your Hardware</EM></A>


<HR NOSHADE>
  <H2><A NAME="12"></A>10. Remarks on the Network Configuration</H2>
<p>It is beyond the scope of this document to even give an introduction about
the correct installation of the TCP/IP networking system. You must do this
yourself or seek assistance elsewhere. It is only possible to say here that
a PC working well in a TCP/IP based LAN network will also work with 
XFree86/OS2 (when all other prerequisites are matched as well). </p>
<p>
<A NAME="loopback"></A>With IAK, there is a special configuration necessary,
unless you want to use XFree86/OS2 only during a hot link to your Internet
provider, the so called ``localhost'' or ``loopback'' configuration. This is
a local network interface which ``loops'' back to the same host. The following
settings are necessary for this:</p>
<p>
<ol>
<li>Create a file <code>\tcpip\etc\hosts</code> with the
following content:
<blockquote><code>
<pre>
127.0.0.1  localhost
</pre>
</code></blockquote>
</li>
<li>Add the following line to your
<code>\tcpip\bin\tcpstart.cmd</code>:
<blockquote><code>
<pre>
ifconfig lo 127.0.0.1 up
</pre>
</code></blockquote>

If you don't have such a tcpstart.cmd file (Warp 4 calls this file
<code>\MPTN\BIN\MPTSTART.CMD</code>), create one, and add a line
like the following to your config.sys file:
<code>CALL=C:\OS2\CMD.EXE /Q /C C:\tcpip\bin\tcpstart.cmd &gt;NUL</code>:
(implying that your bootdrive is C:).</li>
<li>Set the HOSTNAME environment variable to <code>localhost</code> as described
in the last section.</li>
<li>Add the following line to CONFIG.SYS:
<blockquote><code>
<pre>
SET USE_HOSTS_FIRST=1
</pre>
</code></blockquote>
</li>
<li>After rebooting, verify that the following command works:
<blockquote><code>
<pre>
[C:\] ping localhost
</pre>
</code></blockquote>
</li>
</ol>
</p>
<p>You don't need this ``loopback'' interface if your PC is connected to a LAN
(either directly or through SLIP/PPP).</p>
<p>In case of a SLIP/PPP line, you have to establish this connection BEFORE
you start XFree86.</p>
<p>The <code>checkinstall.cmd</code> script coming with XFree86/OS2 gives some advice
on the configuration as well.</p>
<p>If you have problems to get this or other basic networking things running,
seek assistance elsewhere.</p>

 <HR NOSHADE>
<A HREF="OS2.html"><EM>README for XFree86 on OS/2</EM></A>
 <b>:</b> <EM>Remarks on the Network Configuration</EM><BR>
<b>Previous:</b> <A HREF="OS29.html"><EM>Adding Variables to CONFIG.SYS </EM></A><BR>
<b>Next:</b> <A HREF="OS211.html"><EM>Configuring X for Your Hardware</EM></A>



</BODY>
</HTML>
