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

help with Better Terminal Emulator Pro

axel_2078

Android Enthusiast
Feb 26, 2010
567
103
Fairview Heights, IL
I'm having a problem with Better Terminal Emulator Pro. I finally figured out how to save pre-configured ssh sessions. The problem is that the app can't seem to do reverse DNS lookups. I have my ssh session set to connect to my dynamic dns name. The problem is that when it tries to connect, it gives me an error because it can't find the host record. If I choose the local option instead and do an nslookup on my dynamic dns name, it gives me the same error and I noticed that the dns server it lists is 0.0.0.0. I also noticed that if I just ping my dynamic dns host name, it replies and lists the IP for it. I don't understand this. Why can't this app do DNS lookups? Is it just a problem with this app? Is there another terminal application that will allow me to do this? When I had my iPhone 4s, I had a terminal app installed that could do exactly what I wanted and dns lookups were not an issue.
 
I'm having a problem with Better Terminal Emulator Pro. I finally figured out how to save pre-configured ssh sessions. The problem is that the app can't seem to do reverse DNS lookups. I have my ssh session set to connect to my dynamic dns name. The problem is that when it tries to connect, it gives me an error because it can't find the host record. If I choose the local option instead and do an nslookup on my dynamic dns name, it gives me the same error and I noticed that the dns server it lists is 0.0.0.0. I also noticed that if I just ping my dynamic dns host name, it replies and lists the IP for it. I don't understand this. Why can't this app do DNS lookups? Is it just a problem with this app? Is there another terminal application that will allow me to do this? When I had my iPhone 4s, I had a terminal app installed that could do exactly what I wanted and dns lookups were not an issue.

This doesn't sound like a terminal issue, the terminal doesn't care.
It sounds like a busybox issue. BTEP comes with it's own busybox and it's quite dated.
Install busybox by Stericson.
 
Upvote 0
More specifically,

BusyBox combines tiny versions of many common UNIX utilities into a single small executable. It provides replacements for most of the utilities you usually find in GNU fileutils, shellutils, etc. The utilities in BusyBox generally have fewer options than their full-featured GNU cousins; however, the options that are included provide the expected functionality and behave very much like their GNU counterparts. BusyBox provides a fairly complete environment for any small or embedded system.

As suggested, Stericson's Busybox installer is generally the preferred way to make sure you've got a fully-functional version of busybox available on your device: https://play.google.com/store/apps/details?id=stericson.busybox
 
Upvote 0
More specifically,



As suggested, Stericson's Busybox installer is generally the preferred way to make sure you've got a fully-functional version of busybox available on your device: https://play.google.com/store/apps/details?id=stericson.busybox

Most custom ROMs also come with some version of busybox.
I find myself replacing certain applets with Stericson's.
Like hostname, vi, top, which, etc.
I even had to remove bash that came with BTEP and replace that.
 
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