1. Introducing Channels - a new way to chat with other Android users!
    Dismiss Notice

NEWBY question - Telnet from Terminal Emulator


Last Updated:

  1. ausdroid

    ausdroid New Member This Topic's Starter

    Joined:
    May 3, 2010
    Messages:
    2
    Likes Received:
    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?
     

    Advertisement
  2. gorn

    gorn Well-Known Member

    Joined:
    Mar 22, 2010
    Messages:
    48
    Likes Received:
    11
    Unfortunately, in Android's default shell "permission denied" also means "command not found". If you install busybox that includes a telnet client.
     
    ausdroid likes this.
  3. gadzooks

    gadzooks Well-Known Member

    Joined:
    Jan 16, 2010
    Messages:
    179
    Likes Received:
    20
    I see a Market app Telnet, which might work for one of the things you want. (I use ConnectBot to ssh.)
     
  4. dozynsleepy

    dozynsleepy New Member

    Joined:
    Apr 20, 2010
    Messages:
    3
    Likes Received:
    0
    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.


     
  5. ausdroid

    ausdroid New Member This Topic's Starter

    Joined:
    May 3, 2010
    Messages:
    2
    Likes Received:
    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.).
     

Share This Page

Loading...