Remarks on the Network Configuration

README for XFree86 3.3.1 on OS/2 : Remarks on the Network Configuration
Previous: Adding Variables to CONFIG.SYS
Next: Configuring X for Your Hardware

## 10. Remarks on the Network Configuration

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).

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:

1. Create a file `\tcpip\etc\hosts` with the following content:

   > `

   >     127.0.0.1  localhost

   > `

2. Add the following line to your `\tcpip\bin\tcpstart.cmd`:

   > `

   >     ifconfig lo 127.0.0.1 up

   > `

3. Uncomment the `inetd` process in the same file.
4. Set the HOSTNAME environment variable to `localhost` as described in the last section.
5. Add the following line to CONFIG.SYS:

   > `

   >     SET USE_HOSTS_FIRST=1

   > `

6. After rebooting, verify that the following command works:

   > `

   >     [C:\] ping localhost

   > `

The `checkinstall.cmd` script coming with XFree86/OS2 gives some advice here as well.

If you have problems to get this or other basic networking things running, seek assistance elsewhere.

README for XFree86 3.3.1 on OS/2 : Remarks on the Network Configuration
Previous: Adding Variables to CONFIG.SYS
Next: Configuring X for Your Hardware