Build a Portable Android-based Raspberry Pi Station
Productivity Sauce
Transforming a bare-bones Raspberry Pi into a fully-functional portable station is a popular pastime among enterprising users, and you can easily find instructions on how to build a Kindleberry Pi, a Kindleberry Wireless, and even a Raspberry Pi Linux laptop. But if you happen to use an Android device, you can opt for a less complicated and more modular solution devised by yours truly.
The Android device in this setup acts both as a wireless hotspot and a display for Raspberry Pi. The latter is configured to automatically connect to the Wi-Fi network created by the Android device. And an SSH client app (e.g., VX ConnectBot) running on the Android device is used to access Raspberry Pi via an SSH connection. Here is what you need for this project:
- Android device with wireless hotspot functionality
- An SSH client app like VX ConnectBox installed on the Android device
- OTG (On-The-Go) micro-USB cable (not required for use with a Bluetooth keyboard)
- Wireless mini keyboard with integrated touchpad like the one from Rii
- Wi-Fi USB dongle known to work with Raspberry Pi (e.g., Edimax EW-7811Un)
- Optional external battery pack for powering Raspbery Pi
Start with connecting the keyboard to the Android device using the OTG micro-USB cable. Alternatively, you can use a Bluetooth keyboard which eliminates the need for the cable and makes the entire setup even more elegant. Enable then the wireless hotspot feature. Configure Raspberry Pi to automatically connect to the wireless hotspot. You can do this using the graphical network configuration utility supplied with the Raspbian Linux distribution, or by editing network configuration files by hand. Once you've done that, Raspberry Pi should automatically connect to the wireless hotspot on every boot. On the Android device, find out Raspberry Pi's IP address, then use the SSH client app to establish an SSH connection to it. That's all there is to it. It's also possible to install a VNC server on Raspberry Pi and access its graphical desktop environment using a VNC client on the Android device.
comments powered by DisqusSubscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
News
-
The Linux Kernel Dev Staging Area Now Rejects AI-Generated Patches
Unless a kernel patch is a valid security fix, it will be rejected if it was created using AI.
-
Linux Surpasses Double-Digit Market Share
According to two sources, the Linux operating system has hit a major milestone in market share that naysayers thought would never happen.
-
AI Helped Develop a Linux Exploit
A use-after-free race exploit was discovered and exploited on CentOS Stream 9.
-
Yet Another Linux Kernel Vulnerability Discovered
Affecting millions of systems, a kernel flaw discovered by Qualys could allow users to gain root privileges.
-
Ubuntu 26.10 to Include Ubuntu Certified Hardware Check
If you've ever wondered if your laptop or PC is officially certified to run Ubuntu, that curiosity will soon be met.
-
Substantial Update to IPFire Now Available
The lastest version of IPFire features a fundamental change to how the system handles DNS.
-
Gnome Working on Test Center App to Make Testing Easier
It's now possible to test experimental features on the Gnome desktop without worrying that you'll break things.
-
New Vulnerability Discovered in Linux Kernel
Hiding out for nearly 15 years, the Ghostlock vulnerability allows a standard logged-in user to gain root privileges.
-
New Linux Flaw Lets Attackers Escape VMs
A 16-year-old vulnerability allows an attacker to escape a virtual machine, gain access to the host, and execute malicious code.
-
Hannah Montana Linux Is Back!
Developer Noah Cagle decided the world needed the once obscure but beloved Linux distribution and gave it a decidedly pink refresh.
