1833757 Members
2970 Online
110063 Solutions
New Discussion

Re: telnet not working

 
Greg Butler
Occasional Advisor

telnet not working

I have an hp9000 (hux 11.0) and cannot telnet to it or from it. I can ping it from it's console but cannot ping other boxes from it or ping it from others. I have checked that ftp and telnet processes are running and also ensured that /etc/hosts file has the correct entries for the nodes I am trying to hit or hit from. /etc/inetd.conf looks good. Any suggestions on how to proceed would be appreciated at this point.
5 REPLIES 5
Ron Cornwell
Trusted Contributor

Re: telnet not working

Did this problem just show up or is this a new system?
If it is a new system: ensure the cable is plugged in and the IP address and the subnet of the cable that is plugged are the same.

If it is an existing system: Sounds like you have a physical problem. Maybe the cable came unplugged somewhere or has been cut, the network card has failed.
Greg Butler
Occasional Advisor

Re: telnet not working

This is a new system. The connection is good to the port (cable,nic,switch). I can see activity on the nic (transmits) but no receives. The ip is the same as the subnet 136.245....????
A. Clay Stephenson
Acclaimed Contributor

Re: telnet not working

Hi Greg,

You don't have a telnet problem; you have a network problem. Since you cannot ping remote hosts or they cannot ping you we need to fix that.

1) We need to determine if this is a name resolution problem. Does a ping ip_address work? e.g. ping 10.1.1.21 if that works then you need to fix your name resolution. Get DNS or NIS or etc/hosts working and configure /etc/nsswitch.conf.

2) If not a name resolution problem then
first do a lanscan and determine status

3) Examine /etc/netconf for correct IP address,
subnet mask, default route and gateway

4) examine the lan card configuration settings in /etc/rc.config.d/ for all lan devices that you have. I would hard set the speed/duplex on BOTH ends of each connection.

After you have all the settings correct, probably the easist method is to reboot.

Regards, Clay
If it ain't broke, I can fix that.
Mark Fenton
Esteemed Contributor

Re: telnet not working

Agree with Clay's diagnosis -- the problem is network configuration.
From what you mentioned in your previous post, it sounds like you have the wrong host/net info.
Check with

# netstat -rn

Which should give you something like
Routing tables
Dest/Netmask Gateway Flags Refs Use Interface Pmtu
127.0.0.1 127.0.0.1 UH 0 5533013 lo0 4136
192.168.1.33 192.168.1.33 UH 0 469591 lan0 4136
192.168.1.0 192.168.1.33 U 5 0 lan0 1500
127.0.0.0 127.0.0.1 U 0 0 lo0 4136
default 192.168.1.1 UG 0 0 lan0 1500
MANOJ SRIVASTAVA
Honored Contributor

Re: telnet not working

I think your default route is not set in correctly , do a netstat -nr and check whether the default route is set correctly , incase this is not correct delete the incorrect route and add new bu

route add default abc.abc.abc.abc:0

Then try pinging using the IPADRESSES only , if you can go out then you can also login to from outside .

Also then check for the DNS resolutions in case you want to telent using names.


Manoj Srivastava