Configuring Phindows for TCP/IP use

If you're using TCP/IP, there are several configuration issues that you need to check before you can use Phindows. The configuration should already be set correctly; if not, make the changes described below.

The remote QNX host must have TCP/IP installed and running. In addition, etc/inetd must be running with the following additional items added.
To configure Phindows for use with TCP/IP:
  1. In etc/inetd.conf,add the following line:
    1. On QNX 4:phrelay stream tcp nowait root /usr/photon/bin/phrelay phrelay
    2. On QNX Neutrino:phrelay stream tcp nowait root /usr/bin/phrelay phrelay -x
  2. In /etc/services, add the line:phrelay 4868/tcp
Note: These lines are already present in the configuration files, but they're commented out. Just remove the number sign (#) to add these entries.

These two entries cause inetd to listen for incoming requests to establish a new Photon session. When a request is detected (from a remote Phindows client in our case), inetd automatically establishes a full TCP/IP connection and launches phrelay on that connection. Phindows is then fully connected to the local machine.

For more information about inetd, inetd.conf, and phrelay see the QNX Neutrino Utilities Reference.

All that remains now is to configure the Windows client to support TCP/IP. The exact way to do this depends on the type of Windows platform you're using, what services have already been installed on that client, and whether you're using Ethernet or dialup networking over SLIP/PPP (see the Microsoft documentation for help with this).