Operating System - HP-UX
1748038 Members
4975 Online
108757 Solutions
New Discussion юеВ

Re: Can't telnet and rlogin

 
Pedro Sousa
Honored Contributor

Re: Can't telnet and rlogin

Hi Tarek.

Try the following:

inetd -k (this will kill the current inetd daemon)
inetd -l (this will start it again with logging enable)

good luck.
Victor_5
Trusted Contributor

Re: Can't telnet and rlogin

ftp and rlogin are controlled by inetd daemon.

1. check /etc/inetd.conf
you should see something like this
ftp stream tcp nowait root /usr/lbin/ftpd ftpd
login stream tcp nowait root /usr/lbin/rlogind rlogind

2. check /etc/services and make sure the related ports are not commented

3. check /var/adm/inetd.sec
It is a security file which can allow selected clients to access one or more internet services, make sure your ws in this case is not in the list.

At the same time, check /var/adm/syslog/syslog.log to see any hint.

Hope this can helps.
Jack Werner
Frequent Advisor

Re: Can't telnet and rlogin

Could be the remote WS /etc/services file does not recognize/support telnet or rlogin services. Is there any way you can check this?
i'm retired
Scott Painter
Occasional Contributor

Re: Can't telnet and rlogin

guys,
If he puts his ip in the targets hosts file will that prevent a possible reverse dns lookup from causing it to time out. Maybe this isn't the case here.

Re: Can't telnet and rlogin

I don't really know what that error message means.

140 16:30:14 11917212 1 T..5316 11 '00:30:6e:03:ee:e2'
141 16:30:14 11917212 1 T..5316 11 trying to be our address (my ws ip address)!
16:30:14 11917316 1 T..5316 11 IP: Hardware address..

But to me it suggests a duplicate IP on your network ....



Magdi KAMAL
Respected Contributor

Re: Can't telnet and rlogin

Hi Tarek,

Try to shutdown your server and ping the same IP address, I would say there is an ip conflict on your net.

Magdi
Magdi KAMAL
Respected Contributor

Re: Can't telnet and rlogin

Hi again,

Or disconnect your server from the net, and ping the same ip address ( it's more better than shutdowning !!!).

Magdi