QNX RTOS v4 Knowledge Base
QNX RTOS v4 Knowledge Base
Title |
Problem pinging computer using hostname, pinging with IP works |
Ref. No. |
QNX.000009657 |
Category(ies) |
Installation, Configuration |
Issue |
While trying to build a QNX4.23 Development System, we have come across a problem with TCP/IP. We can ping the machine we're trying to connect to using the assigned IP address, but if we try to ping using the hostname, we get an error saying it cannot find the IP address. We have confirmed that the appropriate entry is made in the /etc/hosts file. As well, when trying to telnet it takes a long time to connect, if it does at all. What could be wrong?
|
Solution |
In TCP/IP versions prior to 4.25 if there are entries in /etc/hosts and /etc/resolv.conf, only the resolv.conf file will be read. Make sure to remove any entries in the resolv.conf file if the hosts file is to be read.
|
|