Solved

enabling Hosts file on OS/2 Warp 4

Posted on 1998-09-17
2
550 Views
Last Modified: 2013-12-23
How do you enable hosts file on OS/2 Warp 4.  What directory you put it in.  is c:\tcpip\etc?  How can you save the file in ASCII.  I know that it prompt you to save the file either in text, OS/2 command prompt, or DOS command prompt.  Any suggestions??? help...
0
Comment
Question by:JNGIN
2 Comments
 

Accepted Solution

by:
jpmcdon earned 20 total points
ID: 1558386
The hosts file is always "enabled" in OS/2, unlike in Windows where you need to rename the "hosts.sam" file to "hosts" in order to "enable" it.

However, the hosts file is empty by default.

The way to add a host to your hosts list:
1) Open an OS/2 command prompt
2) Type TCPCFG and press Enter
3) In a few seconds the TCP/IP Configuration window will open
4) Click on the HOSTNAMES tab on the right of the window
5) Go to "page 2" of the HOSTNAMES tab by clicking the right-arrow in the lower right corner of the window
6) The list of hostnames that are defined on your system will be displayed in a box, with a series of buttons below it.  By default, the box only contains <NO ENTRIES>
7) Click the ADD button
8) Fill in the IP Address field with the IP number (i.e. 9.91.4.10), the Hostname field with the full host hame (i.e. www.ibm.com).  You can optionally add a short "alias" for the hostname (like "IBM"), as well as a comment that will be displayed in the listing.  These two parameters are not required, however.
9) Click the ADD button.  You should see your new hostname in the list.
10) Exit TCP/IP configuration by double-clicking the icon in the upper-left corner of the window (close the program).  You will be asked if you want to SAVE or DISCARD your changes - click SAVE.11) The program may tell you it needs to make changes to the CONFIG.SYS file - click YES if asked
12) The program may also ask you if you want to configure SENDMAIL.  Click NO when asked.

You will likely not need to reboot the system for this change - test it by using your still-open command window to "ping" your new hostname.
0
 

Author Comment

by:JNGIN
ID: 1558387
Good answer.
0

Featured Post

Free camera licenses with purchase of My Cloud NAS

Milestone Arcus software is compatible with thousands of industry-leading cameras for added flexibility. Upon installation on your My Cloud NAS, you will receive two (2) camera licenses already enabled in the software. And for a limited time, get additional camera licenses FREE.

Join & Write a Comment

Suggested Solutions

#Citrix #Citrix Netscaler #HTTP Compression #Load Balance
Let’s list some of the technologies that enable smooth teleworking. 
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now