1836638 Members
1701 Online
110102 Solutions
New Discussion

Re: why?

 
fjatu
Occasional Advisor

why?

hi,all!
I have a problem about hp L2000,sometime I and
my team member can't telnet the L2000,terminal show "refused by host",but the server is fine viewing on console.
why?
my HP-UX is 11.0,thank all for help!
drivers for hp NIC A5506-60102
9 REPLIES 9
Michael Tully
Honored Contributor

Re: why?

Hi,

If you can telnet from another PC, or terminal
or system, Check that the user's IP address does not appear in the /var/adm/inetd.sec file

-Michael
Anyone for a Mutiny ?
fjatu
Occasional Advisor

Re: why?

I try on the another PC,but all can't telnet.
and the PCS is not same the subnet to the server.

so what should i do?
drivers for hp NIC A5506-60102
Alexander M. Ermes
Honored Contributor

Re: why?

Hi there.
May sound a bit stupid, but is the telnet daemon up and running ?
Check /etc/inetd.conf for that.
Did you setup the file /etc/securetty for root ?
Are your parameters for telnet sessions and devices configured properly ?
Rgds
Alexander M. Ermes
.. and all these memories are going to vanish like tears in the rain! final words from Rutger Hauer in "Blade Runner"
Marcin Wicinski
Trusted Contributor

Re: why?

Hi,
how many telnet sessions are open when you cannot telnet - maybe system rejects another telnet connection because the limit is reached.
Later,
Marcin Wicinski
melvyn burnard
Honored Contributor

Re: why?

do a ps -ef and see if inetd is running. If it is not, then new connections will not be allowed but any existing connections will continue to work.
Another test is to try ftp and see if that works.
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
K.Vijayaragavan.
Respected Contributor

Re: why?

Check the file /var/adm/inetd.sec for the lines

1)telnet allow

(This line permits telnet access to mentioned ip address / network address)

2)telnet deny

(This line denies telnet access to mentioned ip address / network address)

Accordingly you can remove / keep the lines.

Hope you are trying access port TCP/23 on the server by telneting to it and telnet service is running on the server on this port.

-vijay
"Let us fine tune our knowledge together"
K.Vijayaragavan.
Respected Contributor

Re: why?

Hi,

I think you are trying to telnet from the PC whcih is in other sub net for which there is no route added in your HP server.

If that is the case ,
check the routing entries with this command netstat -rn,any missing destinations can be added with the below mentioned approach:

By adding following entry to /etc/rc.config.d/netconf file:

ROUTE_DESTINATION[I]="ip of destination host"
ROUTE_MASK[I]=""
ROUTE_GATEWAY[I]={ip of gate way}
ROUTE_COUNT[I]=1
ROUTE_ARGS[I]=""

OR running the command

#route add net
netmask

Example:
route add net 133.3.0.0 netmask 255.255.0.0 133.2.4.8 1

ROUTE_DESTINATION[#]="net 133.3.0.0"
ROUTE_MASK[#]="255.255.0.0"
ROUTE_GATEWAY[#]=133.2.4.8
ROUTE_COUNT[#]=1
ROUTE_ARGS[#]=""

-Vijay
"Let us fine tune our knowledge together"
Mathias Homann
New Member

Re: why?

You're sure that you don't have some other machine on the net which uses same IP address but does not accept telnet?
maybe some windows fool just setting his (illegal) machine to the first IP that came to mind?

bye
MH
MagdalenaS1
Occasional Visitor

Re: why?

I also had problem like this, it is good to try Firmao