Android System Administration Utilities

“Change is inevitable in a progressive society. Change is constant” Benjamin Disraeli 1867. Quite a fitting quote if I say so myself. When I started in systems administration back in the mid 90’s everything was done either remoted in from your desktop, a server, or you plugged a terminal into the back of the server. Laptops were still bulky back then and I loathed carrying around my brick of a laptop to connect into things. Thin laptops were too much for a lot of IT budgets, Palm was just getting started, and tablets were luxury items (yes we had tablets). We made do with what we had.

Fast forward 15 years to a time where nearly everyone has a smartphone, fast laptop, or a tablet. Switches, routers, servers are more GUI friendly, wireless is in abundance in many buildings. And yet some people still administer their servers the same way: via their desktop, or a bulky laptop (don’t get me started on why laptops just got heavier). Now don’t get me wrong, I’m not saying daily system administration is necessarily a difficult thing on a laptop hooked up to a 20+” flat screen. But there are plenty of times at work I’ve found myself at the opposite end of the building, up 2 flights of stairs away from my computer when I needed to remote into a Linux server to check the status of something, log into a switch to enable a port, or RDP into a domain controller to unlock an employee’s account. Depending on the level of security, accessing servers from a different VLAN is not allowed (in some cases) which rules out booting an employee off their computer in order to quickly access a server. Yes, I’ll admit I’d rather find a better way to spend my time than going down 2 flights of steps, across the building, down another flight of steps and back into my office to unlock someone’s account. Thus an article on System Administration utilities for Androids was born.

As with most of my posts there’s a disclaimer attached to this: I’m a poor bugger, I don’t own a tablet, nor do I own a fancy top of the line Android cellphone. Which is good news for most of you that own tablets and fancy cell phones as these applications will most likely work better for you (better screen, faster processor, etc). I use a Samsung Galaxy S running Android 2.2.1. So this goes without saying: What applications work for Android 2.2.1 might not work for other android versions, your mileage may vary. Prior to this article I read reviews from all the applications I used and I didn’t see many negative reviews so you should be good.

Now that all of that’s out of the way, let’s get started shall we? I use the applications I will be talking about in this article quite a bit in my system Administration duties on a really small screen.  Odds are if you have a tablet, or a bigger screen you shouldn’t have any problems.  Because of my limited screen size, a very big thank you goes out to Josh and Len from #linuxjournal IRC for using their devices to take screenshots for me.  The old adage "A picture is worth a thousand words" rings true with screenshots, without their help I wouldn't be able to have screenshots with this article.  So the next time you find yourself in #linuxjournal feel free to thank them for their time.

Wifi Analyzer

WifiAnalyzer

The Wifi Analyzer is quite a useful little tool. Granted it doesn’t take the place of my Ubiquiti Spectrum Analyzer, or other tools I utilize when I’m setting up a wireless environment, but it has it’s place in my bag of tricks. With Wifi Analyzer I can see what Access Points are around my area that are not hidden (Kismet is good for hidden APs, so are Spectrum Analyzers for actual frequency usage), and their signal strength to my Android. With this little utility I can pick a non-crowded channel, drop an access point in and check signal strength for devices with smaller antenna’s that need internet access (tablets, phones, etc). Wifi Analyzer allows you to see and pick each access point and report the signal level back in dBm. This is also helpful if you’re old school (read: cheap) like me and still do wireless site surveys with a paper map, colored pencils and a protractor. I’ve yet to have a problem with using Wifi Analyzer and it’s saved me quite a number of times when I’m in an employee’s office trying to figure out why their laptop gets good signal strength but their little device does not. Fire up Wifi Analyzer, set to signal meter and locate the access point then walk around the room to check the signal level.

Ping & DNS

PingDns

The Ping & DNS utility allows you to do the following: ping, DNS, reverse DNS, whois, HTTP header, traceroute, and Check Port. Everything you usually do to check basic network connectivity issues can be done with the Ping & DNS utility. When I’m out at a remote site, or even at work and we are having issues resolving a host, or attempting to ping. I can fire up this utility and ping from my phone to see if it’s really up or not. Resolving the host gives me the IP address we can use to ping if there are issues resolving on the network side. Traceroute is always helpful when you have those ‘is it me or is it it my ISP having routing problems?’ moments.  All from the luxury from your mobile device. Check Port is just a basic TCP connection to a specified port (is it open or is it closed?). However I’ve mainly stuck with the basics: ping, DNS and traceroute.

Fing

Fing

Fing is akin to a slightly crippled version of zenmap (GUI nmap), with some extra utilities tossed in.  According to their google play site they support the following:

  • network discovery
  • ping
  • traceroute
  • dns lookup
  • wake on lan
  • Fingbox
  • TCP connection tester
  • MAC and vendor gathering
  • connectivity detection
  • geolocation and integration of various 3rd party apps

I’ve personally used it only for scanning individual servers for open ports, however the reviews seem to rate this utility pretty high for the other utilities it offers.  If I’m on a wireless network and can’t remember what device has what open port, or if I just put something out on the network and it grabbed a DHCP address I can run Fing.  Fing will scan the range I specify along with the specified TCP ports and tell me the hostname, mac address (and sometimes the vendor), it’s NETBIOS role (if available), open ports, and if I have it saved before I can wake it up with ‘Wake on Lan’.  It’s quite a wonderful tool that I’ve used numerous times in the past to locate machines on the network.

ConnectBot with Hackers Keyboard

Links:
ConnectBot
Hackers Keyboard

Connectbot2This is a ‘twofer’. ConnectBot is great, and Hackers Keyboard is an addon that becomes a necessity if you're working with switches, vim, or other type of sessions. ConnectBot gives you SSH and telnet access to servers, switches, routers and anything else you can think of that requires SSH or telnet. Hackers Keyboard breaks out the Ctrl, Alt, Tab and arrow keys that are necessary for some of the communication between said devices. The two of them combined become a powerful tool. It really goes without saying, but with ConnectBot/Hackers Keyboard I can remote into a switch and make settings on the fly, or SSH into one of my servers, quickly make changes to a file or view status of a running process and log right out.  Here’s the only caveat, if you're using a phone with a small screen such as mine (4”), ConnectBot with Hackers Keyboard set to landscape will turn your font really small, but at least you have a fully functional keyboard with arrow’s.  If your screen orientation in ConnectBot is set to automatic you can always tilt to use the keyboard, then tilt back to get to the regular keys. This could very well replace your current SSH utility that you use if you use tablets on a daily basis, but for phone access it’s great for the quick ‘get in and get out’ sort of work.

ConnectBot1

Android-vnc-viewer

Android VNC

I tried quite a few VNC viewer applications over the years until I finally settled on Android-vnc-viewer. Some are more powerful than others but I’ve always come back to this little gem. Android-vnc-viewer, as with all the applications I’ve been reviewing is free of charge.  It allows you to save your sessions (which is a beautiful thing). Once you have entered your client information and connected, it’s just like the real deal.  You can type, use your touchscreen as a mouse (a rapid double-click is a right-click), set window-scaling and input modes. Tiny phones beware: great utility to check things, not so great on your eyesight but it works in a pinch. Tablet users: it’s a beautiful thing to behold from what I’ve seen.

2x Client - RDP

For those of you that work in a mixed OS environment I can’t say enough good things about the 2x Client. I’ve tried a few RDP clients, some freeware, some paid for and they all lacked the basics. I ended up finding the 2x Client on one of those ‘some also downloaded this client’ suggestion lists one day and I haven’t gone back.  2x Client allows you to save your sessions (can you see a pattern here? ConnectBot, android-vnc-viewer, fing, 2x Client all of them have saved sessions) as my mind is going the way of Swiss cheese and can’t remember what hostname does what or what IP address goes to what these days. You can set your graphics display to be whatever resolution fits your display and or network bandwidth, among a whole host of other settings. Once you have connected 2x Client will give you a quick tutorial on usable screen gestures that you can use while remoted into the client.

Yaaic

yaaic

Yaaic stands for: Yet another android IRC client. Why would I have an IRC client in my IT bag of app tricks? Well when I can’t solve a problem that’s stumped me, sitting alone in a network closet somewhere in the middle of nowhere I know I can jump on Yaaic, connect to freenode.net and either see if a buddy is online or find a channel where someone knows more than I do that is willing to help me out. Yaaic allows multiple windows, private windows for chat, and each of your sessions can be ‘saved’ (for instance freenode.net connects me as my specific username then into #linuxjournal when I connect). It saves me the hassle of entering a server, name, my password, and channel each time. There’s bound to be someone out there that’s run into the problems I have when Google, forums, and my bag of Android trick’s can’t dig me out, and that’s where Yaaic comes in.

Well there you have it, the top sysadmin Android utilities that I use quite frequently to dig myself out of a tough spot. As with any IT admin toolkit, be it software or hardware, it’s bound to change over time. With new tools added, old ones updated or removed but for now this is the Crème de la crème of sys admin utilities that I carry with me. How about you? What Android utilities have you used and recommend for System Administration?

 

______________________

www.jaysonbroughton.com

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

android

tas indian's picture

ya saya sangat duka dengan android, meski saya nggak faham betul dengan smartphone android. lebih suka blackberry karena buat toko online tas indian saya. semoga berkenan

Portable Toilet Rental NY

John Adword's picture

If you are about to plan any event and worried on the type of facilities to provide for your guests, here is the right solution on sanitary facilities.Portable Toilet Rental NY

Jaipur Engineering Colleges

Anonymous's picture

Hello there ! i am an Engineering students and i also wants to be learn this kind of the knowledge along with it. So, How can i join this and which session will be feasible for me and many may thanks for sharing this valuable information.

Jaipur Engineering Colleges.

Portable Toilet Rental NY

John Adword's picture

If you are about to plan any event and worried on the type of facilities to provide for your guests, here is the right solution on sanitary facilities.Portable Toilet Rental NY

http://www.detective-zakynthinos.net/Detectives-Private-Investig

Dzak's picture

wifi analyzer helped me a lot but it has so many applications the play store that you dont know which to choose.
It was a good one article, thanks a lot for your info.

Some more

Garncarz's picture

Thanks for the article. I would like to add also couple of useful application
1) wake up application - are many under "WOL" search keys on Google Play.
2) joking - the substitute for nmap, so the app which could provide us possibility to scan the computer in the network: for example fping or netaudit
3) that if we need to use some graphic tools remotely? lets use X server app
4) for coders (i'm not the professional one) I could recommend DroidEdit Free which is the graphic one, and of course vi (try VIM touch)
5) I want to mention also about mac clone app, are also many but theirs functionality depends also from the hardware chipset on the device
I hope that this short list get anyone help in the future
Pit

PS. as terminal i'm using js terminal

Cura - Sysadmin app

Anonymous's picture

Try "Cura - Sysadmin" app on Google Play, does a lot of the above in one app

Kata mutiara

kata lucu's picture

I love Firefox, but also like parts of Chrome. What's been bugging me about Chrome is lack of clear-type text support from Google. The issue has been known about for a while, yet nobody seems to have any reasonable solution for it. Basically, if you're a Windows 7 user on Chrome, you'll see fuzzy text edges. I tried just about everything fixing this to no avail of course. Even the official Google thread offers little response. Linux has come a long way in the OS world. I appreciate everyone who has contributed to the kernel, no matter how little or large the contribution - that means Mr. Martinzez Canillas is alright in my book.

kata kata lucu

Jump Desktop built in SSH Tunnel for RDP/VNC

Styles's picture

Jump is one of those apps I steered away from like Log Me In and others that route all your connections through a 3rd party server. However if you choose Manual Setup, it doesn't prompt for a Jump Desktop account and allows you to connect directly via RDP and VNC to all your boxes, without having to route through their servers. In this sense it is a standalone RDP/VNC client. It even has SSH Tunnel option that you can set PER connection. It has backup/restore support for all the connections you create, and the interface it's pretty fast and seriously intuitive. I've used a TON of android rdp/vnc clients and this one is my top choice by a huge margin.

Busybox ?

Anonymous's picture

An excellent collection containing important network analysing tools is Busybox (root access needed). Busybox adds Linux commands and a command line shell to Android.

http://www.busybox.net
https://code.google.com/p/busybox-android/

Root utilities

Jayson Broughton's picture

I agree, busybox is a highly recommended utility if you have root access. However I know that some people are leery of rooting their phones (business phones, etc). I use busybox, SSHTunnel and Titanium Backup (all require root access) quite a bit on my phone. I've looked into (and I should probably continue to do so) using some of the busybox utilities to rsync my titanium backup files to the server at the house using tasker (another great utility) at night while I'm sleeping. For now Titanium Backup saves all of my backups to SD card until I get around to moving them off to my computer for archiving off to secured storage.

SSH

KernelPanic's picture

With ConnectBot or SSHTunnel you can also use a ssh tunnel to port forward your VNC or other connections to your server across the internet to further secure your NMS solutions. Great Article!

Yup, I do just that when I'm

Jayson Broughton's picture

Yup, I do just that when I'm on an unsecured Wifi connection (read: strange hotspots I don't trust). I'll setup an SSHTunnel to tunnel all of my application traffic (requires root) back to my server at the house. As I'm running an older version of android, the VPN software is still b0rked so getting it to work with my OpenVPN setup at the house is non-existent at this time. However I did just purchase a Galaxy S3 this week, I'll have to see how it plays out with Verizon's 4.1.1

Ping&DNS and Fing seems to

digi_owl's picture

Ping&DNS and Fing seems to depend on Android for ping and traceroute, meaning that they may or may not work depending on device.

Connectbot replacement

Thrash Cardiom's picture

I use most of these utilities and agree with your analysis of them. However, I would replace ConnectBot with Better Terminal Emulator Pro aka BTEP. This handles local shells, ssh, telnet and ftp.

I recommend VX ConnectBot,

Brian Vaughan's picture

I recommend VX ConnectBot, which is a fork of ConnectBot with some helpful patches. In particular, with the physical keyboard on my T-Mobile G2, I can use Alt-Space to get the extended set of symbols, including such command line favorites as |.

I'm a little puzzled by what's going on with ConnectBot -- the version on the Google Play Store is dated October 8, 2010, but from the developer's Website, development is ongoing, and the latest development snapshot is dated January 5, 2013. The last time I tried the snapshot, it seemed unstable, and didn't have any noticeable improvements. Meanwhile, there are several forks of ConnectBot, released for the sake of patches which were submitted years ago but still don't seem to be in the main tree.

oooh I'll have to check BTEP

Jayson Broughton's picture

oooh I'll have to check BTEP out. Soon I'll be checking out FTDI serial cabling from an OTG cable, I wonder how well BTEP handles it.

Webinar
One Click, Universal Protection: Implementing Centralized Security Policies on Linux Systems

As Linux continues to play an ever increasing role in corporate data centers and institutions, ensuring the integrity and protection of these systems must be a priority. With 60% of the world's websites and an increasing share of organization's mission-critical workloads running on Linux, failing to stop malware and other advanced threats on Linux can increasingly impact an organization's reputation and bottom line.

Learn More

Sponsored by Bit9

Webinar
Linux Backup and Recovery Webinar

Most companies incorporate backup procedures for critical data, which can be restored quickly if a loss occurs. However, fewer companies are prepared for catastrophic system failures, in which they lose all data, the entire operating system, applications, settings, patches and more, reducing their system(s) to “bare metal.” After all, before data can be restored to a system, there must be a system to restore it to.

In this one hour webinar, learn how to enhance your existing backup strategies for better disaster recovery preparedness using Storix System Backup Administrator (SBAdmin), a highly flexible bare-metal recovery solution for UNIX and Linux systems.

Learn More

Sponsored by Storix