Re: cant able to telnet the freebsd system

2006-12-06 Thread Bill Moran
In response to [EMAIL PROTECTED]:

 Hi Team
 
 I put entry in  /etc/rc.conf  as
 
 inetd_enable=YES
 
 and after that  /etc/inetd.conf  I  uncomment the telnet line to activate 
 the telnet server
 
 then restarted the telnet service
 
 /etc/rc.d/inetd restart
 
 and it get restarted
 
 but I couldnt able to telnet  the server both locally or remote

sockstat -4 will show you whether it's listening or not.

The actual error messages would be more helpful than a generic it
doesn't work

-- 
Bill Moran
Collaborative Fusion Inc.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


cant able to telnet the freebsd system

2006-12-05 Thread ratheesh

Hi Team

I put entry in  /etc/rc.conf  as

inetd_enable=YES

and after that  /etc/inetd.conf  I  uncomment the telnet line to activate 
the telnet server


then restarted the telnet service

/etc/rc.d/inetd restart

and it get restarted

but I couldnt able to telnet  the server both locally or remote

Regards

Ratheesh



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cant able to telnet the freebsd system

2006-12-05 Thread Olivier Nicole
 I put entry in  /etc/rc.conf  as
 inetd_enable=YES
 and after that  /etc/inetd.conf  I  uncomment the telnet line to activate 
 the telnet server
 then restarted the telnet service
 /etc/rc.d/inetd restart
 and it get restarted

If you had to enable inetd, it means it was the first time it was
executed, maybe /etc/rc.d/inetd start would be better as it was not
started before.

Are you sure that inetd is running?

ps auwx|grep inetd

Are you sure that your machine is listening on telnet port?

netstat -a |grep telnet

Olivier
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cant able to telnet the freebsd system

2006-12-05 Thread Lane
On Tuesday 05 December 2006 23:01, [EMAIL PROTECTED] wrote:
 Hi Team

 I put entry in  /etc/rc.conf  as

 inetd_enable=YES

 and after that  /etc/inetd.conf  I  uncomment the telnet line to activate
 the telnet server

 then restarted the telnet service

 /etc/rc.d/inetd restart

 and it get restarted

 but I couldnt able to telnet  the server both locally or remote

 Regards

 Ratheesh



 ___
The way to do this live (i.e. without rebooting) is 

ls -al | grep inetd

take note othe number, such as:

  697  ??  Is 0:00.01 /usr/sbin/inetd -wW -C 60

Then

kill -HUP 697

This will restart inetd and anything that it manages for you, such as telnet, 
ftp, or whatever.

lane
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cant able to telnet the freebsd system

2006-12-05 Thread Olivier Nicole
 ls -al | grep inetd
 
 take note othe number, such as:
 
   697  ??  Is 0:00.01 /usr/sbin/inetd -wW -C 60
 
 Then
 
 kill -HUP 697

humm I doubt the ls -al will show any inetd process :)

A faster way would be killall -HUP inetd but that is true if an only
if inetd has been previsouly running (which may not be the case as
Ratheesh mentionned he just enabled it in /etc/rc.conf

Olivier
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]