Results 1 to 8 of 8
I m trying to telnet another machine on my network but i get this error.
Code:
vickey@vickey-laptop:~$ telnet 192.168.0.10
Trying 192.168.0.10...
telnet: Unable to connect to remote host: No route ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 06-06-2009 #1
Telnet not working
I m trying to telnet another machine on my network but i get this error.
But normal pinging is working out perfectlyCode:vickey@vickey-laptop:~$ telnet 192.168.0.10 Trying 192.168.0.10... telnet: Unable to connect to remote host: No route to host
What is wrong and y m i not able to telnet the machin 192.168.0.10. Also telnet to 192.168.0.20 (the machine from where I m trying to telnet 192.168.0.10) is not workingCode:vickey@vickey-laptop:~$ ping 192.168.0.10 PING 192.168.0.10 (192.168.0.10) 56(84) bytes of data. 64 bytes from 192.168.0.10: icmp_seq=1 ttl=64 time=0.144 ms 64 bytes from 192.168.0.10: icmp_seq=2 ttl=64 time=0.116 ms 64 bytes from 192.168.0.10: icmp_seq=3 ttl=64 time=0.108 ms 64 bytes from 192.168.0.10: icmp_seq=4 ttl=64 time=0.126 ms ^C --- 192.168.0.10 ping statistics --- 4 packets transmitted, 4 received, 0% packet loss, time 3002ms rtt min/avg/max/mdev = 0.108/0.123/0.144/0.017 ms
I m using ubuntu and have a freshly installed version and haven't messed up any files.Code:vickey@vickey-laptop:~$ telnet 192.168.0.20 Trying 192.168.0.20... telnet: Unable to connect to remote host: Connection refused
Only if I could understand the man pages
Registered Linux user #492640
OS: RHEL4,5 ,RH 9,Ubuntu
- 06-06-2009 #2
Do you have the telnet daemon running?
It's on your system probably part of the inetd daemon, so you have to edit /etc/inetd.conf in order to enable it. You can test whether it's running in a couple of ways, the easiest being:
That said, it's probably better to install ssh, and use that rather than telnet. It's much much more secure, specially over the intertubes.Code:# on the target machine: telnet localhost # or a portscan, look for an open port 23 nmap localhost # or nmap 192.168.0.10
Can't tell an OS by it's GUI
- 06-06-2009 #3
thanks
The port doesn't seem to be open ,however on the target(192.168.0.10) machine its open.
Even I have heard that using telnet isn't secure but I m doing it on my own personal home ntw.Code:vickey@vickey-laptop:~$ nmap localhost Starting Nmap 4.62 ( http://nmap.org ) at 2009-06-06 17:08 IST Interesting ports on localhost (127.0.0.1): Not shown: 1714 closed ports PORT STATE SERVICE 631/tcp open ipp Nmap done: 1 IP address (1 host up) scanned in 0.113 seconds vickey@vickey-laptop:~$
Only if I could understand the man pages
Registered Linux user #492640
OS: RHEL4,5 ,RH 9,Ubuntu
- 06-06-2009 #4On this one, the daemon isn't running, on the other oneStarting Nmap 4.62 ( Nmap - Free Security Scanner For Network Exploration & Security Audits. ) at 2009-06-06 17:08 IST
Interesting ports on localhost (127.0.0.1):
Not shown: 1714 closed ports
PORT STATE SERVICE
631/tcp open ipp
it may be a firewall issue.
- 06-06-2009 #5
thanks but how to make deamon run
Only if I could understand the man pages
Registered Linux user #492640
OS: RHEL4,5 ,RH 9,Ubuntu
- 06-07-2009 #6
Can you post the output of these two commands:
Code:cat /etc/inetd.conf|grep telnet # on the remote machine /sbin/route # on the local machine
Can't tell an OS by it's GUI
- 06-07-2009 #7
thanks
The /sbin/route command is working properly ( I haven't connected to the target system but still form the o/p it seems that its working properly)Code:vickey@vickey-laptop:~$ cat /etc/inetd.conf |grep telnet vickey@vickey-laptop:~$ /sbin/route Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.0.0 * 255.255.255.0 U 2 0 0 wlan0 link-local * 255.255.0.0 U 1000 0 0 wlan0 default 192.168.0.1 0.0.0.0 UG 0 0 0 wlan0
There is no o/p for greping telnet. I think the contents of the file may help :Code:# /etc/inetd.conf: see inetd(8) for further informations. # # Internet superserver configuration database # # # Lines starting with "#:LABEL:" or "#<off>#" should not # be changed unless you know what you are doing! # # If you want to disable an entry so it isn't touched during # package updates just comment it out with a single '#' character. # # Packages should modify this file by using update-inetd(8) # # <service_name> <sock_type> <proto> <flags> <user> <server_path> <args> # #:INTERNAL: Internal services #discard stream tcp nowait root internal #discard dgram udp wait root internal #daytime stream tcp nowait root internal #time stream tcp nowait root internal #:STANDARD: These are standard services. #:BSD: Shell, login, exec and talk are BSD protocols. #:MAIL: Mail, news and uucp services. #:INFO: Info services #:BOOT: TFTP service is provided primarily for booting. Most sites # run this only on machines acting as "boot servers." #:RPC: RPC based services #:HAM-RADIO: amateur-radio services #:OTHER: Other services
Only if I could understand the man pages
Registered Linux user #492640
OS: RHEL4,5 ,RH 9,Ubuntu
- 06-09-2009 #8
telnet is working now but another problem
so finally got some solutions. Now other machine is able to telnet my machine(.20) but when i try to telnet the machin (.10) i get this error
Code:telnet: Unable to connect to remote host: No route to host
Only if I could understand the man pages
Registered Linux user #492640
OS: RHEL4,5 ,RH 9,Ubuntu


Reply With Quote
