1837988 Members
5715 Online
110124 Solutions
New Discussion

Problems with telnet

 
Carme Torca
Super Advisor

Problems with telnet

Hi,

I have installed a new computer, I am in console and I have net configured, but when I do a telnet loopback o telnet itself, it doesn't works ok.

Does anyone could help me?


#telnet 10.2.3.3
Trying...
Connected to 10.2.3.3
Escape character is '^]'.

(it hangs here)


# netstat -a |grep -i telnet
tcp 0 0 9z09.49298 9z09.telnet FIN_WAIT_2
tcp 0 0 9z09.telnet 9z09.49298 CLOSE_WAIT
tcp 0 0 9z09.49306 9z09.telnet FIN_WAIT_2
tcp 0 0 localhost.49300 localhost.telnet FIN_WAIT_2
tcp 0 0 *.telnet *.* LISTEN
tcp 0 0 9z09.telnet 9z09.49304 CLOSE_WAIT
tcp 0 0 9z09.telnet 9z09.49306 CLOSE_WAIT
tcp 0 0 localhost.telnet localhost.49296 CLOSE_WAIT
tcp 0 0 9z09.49304 9z09.telnet FIN_WAIT_2
tcp 0 0 localhost.49296 localhost.telnet FIN_WAIT_2
tcp 0 0 localhost.telnet localhost.49300 CLOSE_WAIT
#
Users are not too bad ;-)
6 REPLIES 6
Luk Vandenbussche
Honored Contributor

Re: Problems with telnet

Hi,

check the speed of your network card and the port setting on your switch.

It is best to put these on the same settings
Muthukumar_5
Honored Contributor

Re: Problems with telnet

what is your stty setting? Post this as,

# stty

# stty echo
# telnet localhost

what are you getting now? Post the informations.

--
Muthu
Easy to suggest when don't know about the problem!
Carme Torca
Super Advisor

Re: Problems with telnet

# stty
speed 9600 baud; -parity hupcl clocal
intr = ^C; erase = DEL; kill = ^U;
eol2 = ^@; swtch = ^@;
brkint -inpck icrnl ixoff onlcr
-iexten echo echoe echok
-echoctl -echoke

# stty echo

# telnet localhost
Trying...
Connected to localhost.
Escape character is '^]'.
Users are not too bad ;-)
F Verschuren
Esteemed Contributor

Re: Problems with telnet

is telnet running?
Please give the folowing comands to check:

grep telnet /etc/inetd.conf
/usr/sbin/inetd
inetd -c (to read the inetd.conf)
ore if it is not in the inetd
ps -ef |grep telnet
Bharat Katkar
Honored Contributor

Re: Problems with telnet

Hi,

1. Check your hostname is proper.
# hostname
# cat /etc/hosts
Both should be similar

2. Check /etc/nsswitch.conf file.
See you have set proper resolution order.

3. Check /etc/rc.config.d/netconf
For proper NIC configuration.

4. Use "linkloop" command to see if you are able to ping the switch port (cable may be bad)

5. Check your NIC port and switch port setting are in sync. Both should have similar speed settings, Duplexing etc.

Hope that resolves.

Regards,

You need to know a lot to actually know how little you know
Ivan Ferreira
Honored Contributor

Re: Problems with telnet

I think that this problem is related to name resolution. Check your /etc/hosts file (add your computer there), your DNS configuration in /etc/resolv.conf and /etc/nsswitch.conf.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?