LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-25-2004, 03:03 PM   #1
Rocker
Member
 
Registered: Oct 2003
Location: Atlanta, GA
Distribution: gentoo
Posts: 68

Rep: Reputation: 15
telnetd problems, SSH not an option


hey everyone

I have an SBC that I have built a linux system on with kernel 2.6.8, gcc, Xvesa server and other cool stuff. I really need to be able to remotely access this board, and so do other people. I am using busybox's telnetd. Obviously, SSH is not really an option.

The daemon appears to run just fine, but when i try to telnet in I get the following:

# telnet 192.168.50.128
Trying 192.168.50.128...
Connected to 192.168.50.128.
Escape character is '^]'.
Connection closed by foreign host.


To me, this means that telnet itself is running fine because it looks like I am connecting to it, but I am being kicked off immediately. However, I have never used telnetd before so I don't really know.

I have searched the web and these forums, and asked a bit on IRC, but havent really figured anything out.

Even if you think that your solution is not applicable to Busybox, please let me know anyway.

I appreciate any suggestions

Thanks
 
Old 08-25-2004, 03:24 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
I'm interested as to why sshd isn't an option.

For a solution to your problem:
1) Try disabling your firewall iptables/ipchains
2) How are you running telnet - xinetd or standalone?
 
Old 08-25-2004, 03:28 PM   #3
Rocker
Member
 
Registered: Oct 2003
Location: Atlanta, GA
Distribution: gentoo
Posts: 68

Original Poster
Rep: Reputation: 15
sshd is not an option because the system is slow, but more importantly I need to keep the size of the CF card down to the absolute minimum, but include remote access.

I am running telnetd standalone, by simply typing "telnetd"

i have no firewall, iptables, or ipchains.

a few questions:

do I need to have a /etc/inetd.conf??
do i need xinetd?
do I have to specifically allow telnet in through /etc/hosts.allow, even if hosts.deny does not exist?
do I need to creaty any ptys or ttys for telnet to work?


I found a sample /etc/inetd.conf file online:
telnet stream tcp nowait root /usr/sbin/in.telnetd

now I havent had time to find out what all this means yet, but I do know that /usr/sbin/in.telnetd does not exist. Maybe it would with a full telnetd, but all there is with busybox is /usr/sbin/telnetd
 
Old 08-26-2004, 07:23 AM   #4
Rocker
Member
 
Registered: Oct 2003
Location: Atlanta, GA
Distribution: gentoo
Posts: 68

Original Poster
Rep: Reputation: 15
does anyone know what the differences between the busybox version of telnetd and the "normal" version? meaning what works differently, and what had to be taken out to cut it down to its tiny size
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
kerberos telnetd csfalcon Linux - Software 1 12-10-2004 03:25 PM
in.telnetd Options pako Linux - Software 0 09-06-2003 10:55 AM
Telnetd not available, Redhat8.0 ??? UddUnderline Linux - General 1 08-07-2003 11:43 PM
no telnetd on my machine? doublefailure Linux - Software 4 02-17-2003 11:49 AM
in.telnetd: invalid option -- L implant23 Linux - Networking 1 12-01-2002 11:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:07 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration