Home Remote Control: Ubuntu from Android

android_compWe explored lrc, a tool to control Linux from a smartphone browser earlier. Recently we found another Android app that does the job better by communicating over SSH – Home Remote Control. Home Remote Control works best when both your smartphone and the Ubuntu box are connected to the same WiFi router. In theory it should work as long as the devices can reach each other using IP address.

Features

  • keyboard
  • mouse/touchpad
  • list and download files from filesystem
  • system monitor (CPU, RAM, disk, battery…)
  • custom shortcuts
  • custom commands
  • sound control
  • future tasks
  • login via QR Code scanner
  • rename, delete and upload files on your filesystem
  • terminal
  • linux command library
  • ssh login

App features

  • remote control widget
  • wake on lan widget
  • export/import remote controls via a file
  • display cpu,memory,battery,bluetooth,network info of android device

Install

You can tall the app from its Google Play page (link below).

SSH server and xdotool (for mouse and keyboard control) needs to be set up on Ubuntu. Run:

$ sudo apt-get install openssh-server
$ sudo apt-get install openssh-client
$ sudo service ssh restart
$ sudo apt-get install xdotool

Now you can connect your device to your Ubuntu system. Open the Android app, navigate to “new device” -> “Linux” and enter Ubuntu LAN IP. You will have to enter the username and password to complete the SSH authentication.

Wake-on-LAN

If your hardware supports Wake-On-LAN, you do not need to leave the Ubuntu system running to control it remotely any time you want. If your system goes to sleep after an interval, setup Wake-On-LAN to wake it us whenever you try to connect to it. Steps:

  • Check and activate Wake-On-Lan and/or Wake-On-PCI(E) from BIOS
  • Run the following on Ubuntu:
    $ sudo apt-get install ethtool
    $ sudo ethtool -s eth0 wol g
  • Insert the following two lines into the autostart script (/etc/rc.local)
    sleep 5
    ethtool -s eth0 wol g
  • Open /etc/init.d/halt and set
    NETDOWN=no

You can also generate SSH key to enhance the security of the connection.

Webpage: Home Remote Control

3 thoughts on “Home Remote Control: Ubuntu from Android”

    1. After installing the app on both Android and Ubuntu, open the Android app, navigate to “new device” -> “Linux” and enter Ubuntu LAN IP. You will have to enter the username and password to complete the SSH authentication.

Comment

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s