InJoy - The Modern Way to the Internet, Part 3

By: Walter Metcalf
Date: 06/30/99

This is the third and final installment in our series of features on InJoy--The Modern Way to the Internet. In the first article, we saw how InJoy's fundamental design--interacting with OS/2 at the TCP/IP level instead being a PPP extension--gives it a unique power and stability.

  1. Disconnect Actions

    1. Exit InJoy at

      These checkboxes provide you with the ability to override some of the normal re-dial and Dial on Demand behaviour. For example, checking either of the Timer boxes will cause InJoy to EXIT as well as disconnect when the appropriate timer expires.

    2. Dial on Demand

      One of InJoy's most useful features, DOD fully automating the dialling procedure, making it dependent on application activity, instead of user requests.

      1. How it works.

        • When InJoy first starts, it waits for an application to access the Internet, i.e. for a TCP/IP packet; when a packet is detected, InJoy then dials the ISP.

        • After the connection is established, InJoy transmits the application request. All other requests (i.e. packets) are processed normally).

        • If, however, no packets are received either from applications or from the Internet for the length of time specified in Idle TIMEOUT on the Communication Setup window, InJoy disconnects from the host. InJoy begins waiting for application packets, and the cycle repeats.

        • Various overrides are provided for DOD, in case the Timer is not appropriate in a specific situation: F5 - Starts DOD; F6 - Stops DOD; and Shift F5 - Triggers DOD: i.e. fakes a TCP/IP and starts the Dialling process.

        • Display DOD Monitor - causes a graphical display of DOD activity to be shown on the main screen.

    3. Host Triggered Actions - Allows you to reboot your computer by transmitting a specified string to the computer remotely, e.g. from your notebook computer.

    4. Click on OK.

    5. Click on "Save as Default" to save all your work on disk.

    6. Click on "Cancel"

Your Default Host is now complete!

Constructing Main Host

If you have done everything right in the Default Host, then it will be very simple to make the host you use the most often.

  1. If you're not already there, go to the Main screen, and click on "New" under the Host List. This should take you to the Host Setup window.

    1. In the "Configuration name" box, erase "Default" and enter the name of your ISP. It should be brief, but may contain spaces.

    2. Make sure the user id and password are valid for this ISP.

    3. Autostart Per Host

      If you wish to automatically start any programs such as an email client or a browser when you connect with this host, then click on this item.

      1. Fill in the Path, Filename, Parameters, and Working Directory, such as you would for a Program Properties object;

      2. Check a box or boxes representing when you want the program launched, and optionally when you wish to have InJoy terminate the program. Then Click on "ADD". Repeat for any other programs you wish to have launched. When you are finished, click on "OK".

      3. Note: any program you specified here will be launched ONLY when THIS host is selected. If you wish to have a program launched regardless of the host specified, then you must click on "Misc Options" on the Main Windows, and then click on "Autostarting modules".

      4. Click on OK.

  2. PPP Setup Window

    1. Auto Connect

      Selecting this item will cause InJoy to automatically start this host when it is loaded. When you have only one host, it is a good timesaver.

    2. Timeout

      This item is the number of seconds of inactivity before InJoy closes the connection. Especially powerful when used in connection with Dial on Demand (see above). Choose a number that makes the most of your account with this ISP.

    3. Click on Save

      This action creates a new host with the parameters you assigned to Default plus the few changes you made just now.

Testing Your Host Configuration

A good plan is to return to the main screen, and exit InJoy to make certain every option is saved and reset. Then start InJoy. If you selected the "Auto connect" feature, the product should load and begin dialling a few seconds later. Hopefully all should be well. (Note: if you have specified Dial on Demand, you may have to activate an Internet program before InJoy will dial. You can suppress this need either by automatically launching an Internet program or by deselecting the Instant DOD feature on the Disconnect actions screen.)

If you have trouble, first check that you have followed the steps in this article and that your modem is connected to your computer and to a phone line and, if external, that it is turned on. If InJoy successfully dials the ISP, but has trouble connecting, you may need to fine-tune your init string. (Generally, however, if the init string worked successfully with the Advantis or DOIP diallers it should work fine with InJoy.)

Next read the Users Guide and the FAQ that came with the InJoy software. Finally, you can post a message on the Focus on OS/2 Forum as described below.

Special Configurations

  1. Link Two Computers Using a Null Modem.

    This setup has only been tested on registered Extended and SoHo versions of InJoy. It may or may not work on Basic and Non-registered versions of InJoy. It has been tested on Warp 3 with IAK and Warp 4 and works on both. You will require two PC's; each with a free serial port, and a standard null modem cable. You also need a program called NullServ.cmd. (To download using Netscape, hold the Shift key and right-click on the link. Then click on "Save link as".)

    1. Connect the null modem cable to a free serial port of each PC. Make certain these serial ports do not share IRQ's with any other devices on the PC's.

    2. Download and install NullServ.cmd on to one PC.

      1. Open the Properties Notebook of NullServ.cmd, and enter the number of the COM port to which the null modem cable is connected into the Parameters window. Close Properties.

      2. Start NullServ.cmd.

    3. Make sure a registered copy of at least an Extended copy of InJoy is installed on the second PC.

      1. Using the Default Host, create a New Host called "Direct Connect" using the steps shown above.

      2. Make the following changes to the Default Host settings:

        1. On the "Host Setup" screen, clear the User ID and Password windows.

        2. On the "PPP Setup" screen:

          • Change the Nameserver Address to ""

          • Change the Backup Nameserver to ""

            • IP numbers beginning with 192. are not part of regular Internet cyberspace, and are reserved for internal IP's of computers connected to LANs.

            • Those addresses in particular are used by NullServ.

          • Select Firewall/NAT and click on Firewall Setup

          • FireWall Options

            • Select Network Address Translation

            • Make sure Disable NAT for InJoy PC is DEselected.

        3. On the "Disconnect Actions" screen, deselect "Instant DOD".

        4. On the "Communication Setup" screen:

          • Change "Call Control" to "Use Terminal Mode", and select "Instant pkt mode".

          • Change "Port Setup" to the "COM" port connected to the Null Modem cable.

          • Click on "OK" and then click on "Save".

        5. Select "Direct Connect" and click on "Dial".

          If you have connected the computers correctly and set up both programs correctly, you should see the usual displays in InJoy's output window and then the green window should come up very quickly since there are no modems or telephone circuits to slow things down. You now have a two station peer-to-peer LAN. It is possible to install Warp's networking modules on this LAN and be able to have full file sharing across the two systems. For more information on how to do this, see Ask Timmy - April 1999.

          It is simpler to set up a mini-network using the HyperAccess or similar software. The first PC (running NullServ.cmd) behaves as the host, so start HyperHost specifying IBM TCP/IP and IP address Start HyperAccess Pro (i.e., the client) on the second PC, and specify the remote address as and the local IP address as

          When you set up any security options you wish, start the host first and when it has finish initializing, start the client on the second PC (i.e. the one running InJoy). They should "see" each other and successfully connect. When they do, you can transfer files between the two systems just as if they were connect across the Internet, but at far higher speeds.

  2. Two Computers Accessing One ISP Simultaneously. (Warp 4 only)

    This is but an extension of the previous example, and uses the same computer setup.

    1. Set up the computers as in Configuration A, but do not start NullServ.cmd or InJoy.

      1. Open the System Setup folder and locate the purple "TCP/IP Configuration (LAN)" Notebook.

        If it is not present, you will have install the LAN TCP/IP services using Selective Install for Networking object located in the Install/Remove folder, or by running the Install.cmd program on the root directory of the Warp CD.

      2. Open the Notebook and click on the "Routing" tab.

      3. Click on "IP Forwarding", and then click on the X in the top right corner to close the notebook.

      4. Click on Save, and then click on Yes or No depending on your hardware configuration.

      5. Shutdown and restart the computer.

      6. Start NullServ.CMD.

    2. On the second PC, start InJoy, specify Host Direct Connect and click on Dial.

      Make sure both computers connect properly as before.

    3. On the first PC, which will hereafter be called the gateway PC, start InJoy but don't specify a host yet.

      1. Select the Main Host, and make the following changes:

        1. On the "PPP Setup" window, select "Firewall/NAT"

        2. On the "Firewall Options" window, select BOTH "Network Address Translation" AND "Disable NAT for InJoy PC"

        3. On the "Disconnection Actions" window, deselect "Instant DOD".

        4. Click on "OK".

      2. Click on "Save" to save the changes.

      3. Click on "Cancel".

    4. Select the Main Host, and click on "Dial". Wait for the connection to your ISP to be made.

    5. If you have followed these instructions correctly, you should now be able to start the browser (or email client) on the second PC, and access the ISP through the gateway PC. You should simultaneously be able to start a browser and access a different document on the gateway PC.

      • If you have problems getting this to work, carefully check all the settings specified in this article.

Next time: A review of Lenten's Hacker Card, a new technology for protecting your computer and hard drive.

¹The advantage of setting the port speed as high as possible is that doing so allows the port to take full advantage of the buffering built into the hardware, which often allows the transmission speed to exceed the modem speed, at least in short bursts.

Unless otherwise noted, all content on this site is Copyright © 2004, VOICE