1752579 Members
4389 Online
108788 Solutions
New Discussion юеВ

Problems with telnet

 
Jairo Campana
Trusted Contributor

Problems with telnet

I have the following problem: I have a server A44-400 model and I cannot enter from telnet, sometimes I can connect and work, but sometimes not
C:\>telnet 172,31,198,212 Connecting itself to 172.31.198.212... The connection with host is had lost.
locally, telnet does not work(telnet 127.0.0.1 no reponse, telnet 172.31.198.251 no reponse), exists ping, / sbin/init.d/net start is ok,the configuration the netconf is ok. FTP works OK, service telnet is ok:
telnet 172.31.251 80 (is ok, response)
the card network is ok is up and running


nota:sorry, by my writing
legionx
10 REPLIES 10
someone_4
Honored Contributor

Re: Problems with telnet

what about /etc/inetd.conf it must contain an entry as follows uncommented:

telnet stream tcp nowait root /usr/lbin/telnetd telnetd

If it is commented out or not there
after editing the file
#/usr/sbin/inetd -c
to reread the file

Richard
Sridhar Bhaskarla
Honored Contributor

Re: Problems with telnet

Jairo,

I didn't quite understand your question. Looks like you have DNS problems (believe me though you are specifying the IPaddresses).DO you use DNS?. If not, take out /etc/resolv.conf. If you use DNS, make sure that the entries are fine.

Next, you should be able to ping 127.0.0.1 anytime. Not means, your network is down, you need to check the status by ifconfig.

-Sri

You may be disappointed if you fail, but you are doomed if you don't try
Sachin Patel
Honored Contributor

Re: Problems with telnet

Hi Jairo,
Is you lan card down.
ifconfig lan0

Sachin
Is photography a hobby or another way to spend $
Jeffrey S. Sims
Trusted Contributor

Re: Problems with telnet

I aggree with Richard,

Check your /etc/services for the telnet entry
Check /etc/inetd.conf for the corrent entry

Also check /var/adm/inetd.sec for a line similar to:

telnet deny all

This would deny all telnet access to your box.

Hope it helps
Printaporn_1
Esteemed Contributor

Re: Problems with telnet

use
#netfmt -t 50 -f /var/adm/nettl.LOG00 > /tmp/nettl

check /tmp/nettl for any duplicate IP message.
enjoy any little thing in my life
Jairo Campana
Trusted Contributor

Re: Problems with telnet

these are my configurations

the card net is up and runnig
the inetd.conf this well
inet.sec no deny a telnet

/etc/resolv.conf this well ,ok
the services the net is running
/etc/rc.config/netconf:
HOSTNAME="mocosoft"
OPERATING_SYSTEM=HP-UX
LOOPBACK_ADDRESS=127.0.0.1

##card net
INTERFACE_NAME[1]=lan0
IP_ADDRESS[1]=172.31.198.251
SUBNET_MASK[1]=255.255.255.0
BROADCAST_ADDRESS[1]=172.31.197.255
INTERFACE_STATE[1]=up
DHCP_ENABLE[1]=0

## the route
ROUTE_DESTINATION[2]="net 172.31.195.128"
ROUTE_MASK[2]="255.255.255.128"
ROUTE_GATEWAY[2]=172.31.198.1
ROUTE_COUNT[2]=1
ROUTE_ARGS[2]=""

#inetd.conf
telnet stream tcp nowait root /usr/lbin/telnetd telnetd

#ifconfig lan0
lan0: flags=843
inet 172.31.198.251 netmask ffffff00 broadcast 172

# cat inetd.sec
srs allow

am going to prove to use nettl


legionx
Darrell Allen
Honored Contributor

Re: Problems with telnet

Hello Jairo,

Your broadcast address (172.31.197.255) does not match the network address (172.31.198.251). If the net address is correct the broadcast should be 172.31.198.255 for mask 255.255.255.0

Darrell
"What, Me Worry?" - Alfred E. Neuman (Mad Magazine)
Jairo Campana
Trusted Contributor

Re: Problems with telnet

I had a write error
172.31.197.255 x 172.31.198.255
sorry , is
but I follow such with problems
##card net
INTERFACE_NAME[1]=lan0
IP_ADDRESS[1]=172.31.198.251
SUBNET_MASK[1]=255.255.255.0
BROADCAST_ADDRESS[1]=172.31.198.255
INTERFACE_STATE[1]=up
DHCP_ENABLE[1]=0

now I am uninstalled bundless and patches



legionx
Jairo Campana
Trusted Contributor

Re: Problems with telnet

#netfmt -t 50 -f /var/adm/nettl.LOG00 > /tmp/nettl

!! vi nettl!!

it does not report errors
legionx