Solved

enabling Hosts file on OS/2 Warp 4

Posted on 1998-09-17
2
610 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article is in regards to the Cisco QSFP-4SFP10G-CU1M cables, which are designed to uplink/downlink 40GB ports to 10GB SFP ports. I recently experienced this and found very little configuration documentation on how these are supposed to be confi…
This article explains the fundamentals of industrial networking which ultimately is the backbone network which is providing communications for process devices like robots and other not so interesting stuff.
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
Suggested Courses
Course of the Month5 days, 9 hours left to enroll

626 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