• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

NEWBY question - Telnet from Terminal Emulator

ausdroid

Lurker
May 3, 2010
2
0
I would like to do some simple things from the command line on my HTC desire such as telnet, DNS lookup and looking at ARP Tables, DHCP client functions etc. (for testing network services as part of my job, typical things such as testing SMTP access or testing connections to web server etc. e.g. using telnet {host} {port})

Telnet from the terminal seems to require root access (permission denied) I haven't rooted my HTC Desire and don't intend to root it at present unless I have to.

I'm wondering how droid applications such as telnet clients etc. gain access without root and hence how I can?
 
Not answering your question but I use the ConnectBot application to connect to other computers using telnet or ssh.

I've only briefly tried the "local" connection terminal and experienced the same as you, only allows very limited commands.


I would like to do some simple things from the command line on my HTC desire such as telnet, DNS lookup and looking at ARP Tables, DHCP client functions etc. (for testing network services as part of my job, typical things such as testing SMTP access or testing connections to web server etc. e.g. using telnet {host} {port})

Telnet from the terminal seems to require root access (permission denied) I haven't rooted my HTC Desire and don't intend to root it at present unless I have to.

I'm wondering how droid applications such as telnet clients etc. gain access without root and hence how I can?
 
Upvote 0
Thanks all for the comments.

As mentioned, there are telnet and SSH apps hence one would think there would be enough permissions on the device without rooting it.

I've checked busybox and it certainly has the apps I'm looking for. Obviously busybox isn't available via the market place but I can't find an answer with all my searching whether you can install it without rooting the device. I find hundreds of threads discussing it in relation to rooting the phone but not sure if one can load it without rooting the device.

Any ideas on where one can find a pre-compiled busybox that would work on the Desire? I may try via the adb if I can find the package. Anyone experienced with what directories are locked to root and what directories are open (e.g. wherever PATH is stored etc.).
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones