use telnet to connect to a network board by name
Hi All,
is there a way to connect to a local pc ( actually a data capture board ) via telnet using the "network name". I can connect using "telnet 192.168.0.23 1974" the board is called IODataCapture on network. I've tried "telnet IODataCapture 1974" but this just reports an error "telnet: could not resolve IODataCapture/1967: No address associated with hostname" Is there some way I can use the name rather than the ip? Thanks |
Only if it is defined by a name server on the network or via an entry in /etc/hosts perhaps.
|
Quote:
|
Quick little fix is to add this line to /etc/hosts
Code:
192.168.0.23 IODataCapture Bigger fix is to deal with figuring out what DNS server is being used (look at /etc/resolv.conf) and then configuring that DNS server to serve up this DNS lookup. |
Thanks All
|
All times are GMT -5. The time now is 11:18 PM. |