New: XDA launches forum for app developers. Discuss coding, tools, marketing, and more.
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
McLin
Old
#1  
McLin's Avatar
Senior Member - OP
Thanks Meter 0
Posts: 209
Join Date: Feb 2007
Location: Lohfelden
Default telnetd from busybox

Hi,

I have ADP1.1 and Busybox installedd but when I start busybox telnetd and after that netstat the telnet server is running on 0.0.0.0 but I cant connect to host...

What must I do when I want run this telnetd server?
Regards McLin.

XDA Star <- German HTC WM6.1 Firmware
T-Mobile Germany G1 Black

Model number: Android Dev Phone 1
Firmware version: 1.1
Baseband version: 62.33.20.08H_1.22.14.11
Kernel version: 2.6.25-01845-g85d4f0d android-build@apa27 #27
Build number: holiday_devphone-userdebug 1.1 UNLOCKED 130444 test-keys
My own BootSplash
 
mzet
Old
#2  
Member
Thanks Meter 6
Posts: 48
Join Date: Mar 2008
i had also that problem. When i disabled forking to daemon, it wrote that there was no free pty...

now i am using dropbear for remote controlling...
 
Moronig
Old
#3  
Senior Member
Thanks Meter 139
Posts: 289
Join Date: Dec 2010
Location: Curitiba

 
DONATE TO ME
Quote:
Originally Posted by McLin View Post
Hi,

I have ADP1.1 and Busybox installedd but when I start busybox telnetd and after that netstat the telnet server is running on 0.0.0.0 but I cant connect to host...

What must I do when I want run this telnetd server?
I know this thread is really old (> 2 years) but I just stumbled across it, and I have an answer: you need to use the -l flag.

Here is an example

Code:
busybox telnetd -l /system/bin/sh
or if you have all the links for busybox installed, you can just run:

Code:
telnetd -l /system/bin/sh
ps: this is where the sh is in my rom, if it's not working for you, search for it on /sbin/, /system/sbin or /system/xbin.
 
dw9906
Old
#4  
dw9906's Avatar
Senior Member
Thanks Meter 704
Posts: 2,010
Join Date: Jun 2010
Location: Terre Haute, IN

 
DONATE TO ME
Wrong section!

Sent from my Mytouch 1.2 using XDA Premium App!
Samsung Galaxy Nexus (Maguro)
ROM-Self Compiled AOKP JB
RECOVERY- TWRP's Latest
------------------------------------------------
Amazon Kindle Fire (1'st Gen)
ROM-Self Compiled AOKP JB
RECOVERY-TWRP's Latest
------------------------------------------------
Nexus 4
ROM-Self Compiled AOKP JB
RECOVERY-TWRP's Latest
------------------------------------------------
Samsung Galaxy Note II (T-Mobile)
ROM-Self Compiled AOKP JB
RECOVERY-TWRP's Latest