Originally Posted by Moronig
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
busybox telnetd -l /system/bin/sh
or if you have all the links for busybox installed, you can just run:
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.
Originally Posted by dw9906
Sent from my Mytouch 1.2 using XDA Premium App!
Device prerequisites :
- Busybox installed.
- Androïd shell installed.
- WIFI hotspot activated.
PC prerequisite :
- Telnet client.
- Connected to WIFI hotspot.
My proper roadacts.
1) Connect to your device with androïd shell.
2) # su
3) # ifconfig
Get the IP (inet addr) of the first entry. It looks like 192.X.X.1 for me.
4) # which sh
Get the path of sh. /sbin/sh for me.
5) # busybox telnetd -l /sbin/sh -b 0.0.0.0
Start the telnet daemon, -b 192.X.X.1
( IP from 3/ ) for the purists.
6) # ps | grep telnet
Check telnetd is well launched.
7) Go to your PC.
8) $ telnet 192.X.X.1
( IP from 3/ )