Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.