lotus



previous page: 029.  I am able to establish a dial up connection but when I use telnet to connect to remote hosts telnet understands IP address but not host names. What can I do to have telnet and other programs understand host names?
  
page up: Brief Linux FAQ
  
next page: 031.  I am logged into a host. I would like to find out its IP address and a few other ones. How can I do this?

030. I don't like having to type the full host name when using telnet. How can I resolve this problem?




Description

This article is from the the Brief Linux FAQ (BLFAQ) Maintained by Neil Zanella nzanella@ganymede.cs.mun.ca

030. I don't like having to type the full host name when using telnet. How can I resolve this problem?

Edit the file /etc/hosts and add entries like the following:

127.0.0.1       localhost       localhost.localdomain
134.153.1.200   riemann         riemann.math.mun.ca
134.153.39.1    ganymede        ganymede.cs.mun.ca
134.153.1.1     garfield        garfield.cs.mun.ca
134.153.2.151   plato           plato.ucs.mun.ca
129.128.88.12   vega            vega.math.ualberta.ca

 

Continue to:















TOP
previous page: 029.  I am able to establish a dial up connection but when I use telnet to connect to remote hosts telnet understands IP address but not host names. What can I do to have telnet and other programs understand host names?
  
page up: Brief Linux FAQ
  
next page: 031.  I am logged into a host. I would like to find out its IP address and a few other ones. How can I do this?