How to start 'telnetd'

Sachin Rane sachin.rane at lgsoftindia.com
Tue Sep 6 14:56:59 UTC 2005


Hi Mike,

 

I have compiled the BusyBox with CONFIG_TELNETD=y.

But still getting the message 'Connection closed by foreign host'. 

 

Regards,

Sachin 

________________________________

From: Michael Shearer [mailto:mshearer at aastra.com] 
Sent: Tuesday, September 06, 2005 8:17 PM
To: Sachin Rane
Cc: busybox at busybox.net; Edgar E. Iglesias
Subject: RE: How to start 'telnetd'

 

Hi Sachin,

 

You'll only be able to use Busybox in conjunction with inetd if you
compiled it with the CONFIG_TELNETD=y feature.  In theory, if you
execute telnetd from the command line and try to telnet to your
Bladecenter server, it should work.

 

Mike

	-----Original Message-----
	From: Sachin Rane [mailto:sachin.rane at lgsoftindia.com]
	Sent: Tuesday, September 06, 2005 9:41 AM
	To: Michael Shearer
	Cc: busybox at busybox.net; Edgar E. Iglesias
	Subject: RE: How to start 'telnetd'

	Thanks Michael and Edgar for pointing out the problem.

	 

	I have compiled the kernel with 'CONFIG_INET' support.

	The error message "telnetd: socket: address family not supported
by protocol" is not seen now.

	 

	But when I tried to connect the telnet server, it gives me
following message:

	$ telnet 192.168.0.8
	Trying 192.168.0.8...
	Connected to 192.168.0.8.
	Escape character is '^]'.
	Connection closed by foreign host. 
	 
	The entry for telnet in /etc/inetd.conf is:
	telnet  stream  tcp    nowait  root    /usr/sbin/telnetd
	 
	The entry for telnet in /etc/services is:
	telnet         23/tcp
	telnet         23/udp
	 
	The 'netstat -l' command  gives :
	Proto   Recv-Q  Send-Q  Local Address  Foreign Address
State
	tcp     0       0       *:ftp          *:*
Listen
	tcp     0       0       *:telnet       *:*
Listen
	 
	 
	 
	The 'nmap -sS 192.168.0.8' gives:
	Port    State   Service
	21/tcp  Open    ftp
	23/tcp  Open    telnet
	 
	 
	I think the entries are correct.
	 
	 
	Regards,
	Sachin Rane
	 

	 

	 

	
________________________________


	From: Michael Shearer [mailto:mshearer at aastra.com] 
	Sent: Monday, September 05, 2005 10:03 PM
	To: Sachin Rane; busybox at busybox.net
	Subject: RE: How to start 'telnetd'

	 

	This is not a problem with Busybox but rather with your kernel.
Looks like TCP/IP is not supported.  Recompile your kernel with the
CONFIG_INET option enabled.

	 

	Mike

	Michael Shearer 
	New Product Development 
	Aastra Telecom US, CVX Division 
	8 Federal Street 
	Billerica, MA, USA, 01821-3570
	* Phone (978) 436-4248 
	* Fax (978) 436-4233
	* Internet Mail mshearer at aastra.com
	* Web www.aastra.com 

		-----Original Message-----
		From: busybox-bounces at busybox.net
[mailto:busybox-bounces at busybox.net]On Behalf Of Sachin Rane
		Sent: Monday, September 05, 2005 7:46 AM
		To: busybox at busybox.net
		Subject: How to start 'telnetd'

		Hi,

		 

		I am trying to use busybox on IBM BladeCentre
(configured as a diskless client).

		I am getting following error when tried to start the
'telnetd' daemon:

		"telnetd: address family not supported by protocol"

		 

		I have copied the inetd.conf from the 'example'
directory which comes with 'BusyBox' build.

		 

		Could you help me to start the 'telnetd'?

		 

		Regards,

		Sachin Rane

		 

	
#####################################################################
		THIS EMAIL MESSAGE IS FOR THE SOLE USE OF THE INTENDED
RECIPIENT(S) AND MAY CONTAIN CONFIDENTIAL AND PRIVILEGED INFORMATION.
ANY UNAUTHORIZED REVIEW, USE, DISCLOSURE OR DISTRIBUTION IS PROHIBITED.
BEFORE OPENING ANY ATTACHMENTS PLEASE CHECK FOR VIRUSES AND DEFECTS. IF
YOU ARE NOT THE INTENDED RECIPIENT, PLEASE NOTIFY US IMMEDIATELY BY
REPLY EMAIL AND DELETE THE ORIGINAL MESSAGE.
	
#####################################################################

	
#####################################################################
	THIS EMAIL MESSAGE IS FOR THE SOLE USE OF THE INTENDED
RECIPIENT(S) AND MAY CONTAIN CONFIDENTIAL AND PRIVILEGED INFORMATION.
ANY UNAUTHORIZED REVIEW, USE, DISCLOSURE OR DISTRIBUTION IS PROHIBITED.
BEFORE OPENING ANY ATTACHMENTS PLEASE CHECK FOR VIRUSES AND DEFECTS. IF
YOU ARE NOT THE INTENDED RECIPIENT, PLEASE NOTIFY US IMMEDIATELY BY
REPLY EMAIL AND DELETE THE ORIGINAL MESSAGE.
	
#####################################################################

#####################################################################
THIS EMAIL MESSAGE IS FOR THE SOLE USE OF THE INTENDED RECIPIENT(S) AND MAY CONTAIN CONFIDENTIAL AND PRIVILEGED INFORMATION. ANY UNAUTHORIZED REVIEW, USE, DISCLOSURE OR DISTRIBUTION IS PROHIBITED. BEFORE OPENING ANY ATTACHMENTS PLEASE CHECK FOR VIRUSES AND DEFECTS. IF YOU ARE NOT THE INTENDED RECIPIENT, PLEASE NOTIFY US IMMEDIATELY BY REPLY EMAIL AND DELETE THE ORIGINAL MESSAGE.
#####################################################################
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.busybox.net/pipermail/busybox/attachments/20050906/2d891799/attachment.htm 


More information about the busybox mailing list