I usually have to work on a cluster in the college and all I need is a client to connect to that cluster. The Raspberry Pi is a great alternative to my laptop which has recently started to die of old age.
The problem I face with the PI is however quiet a different one. I usually don't have a projector / display around to see what I'm typing in. This is a workaround to that problem. Since I almost always have my phone around, I decided to use that as a display.
Do note that this does not mean that you will have full graphics. It just let's you see what you are typing on a terminal in the Pi. For full graphics you would need some sort of VNC setup.
Let's get started.
Hardware Required
Raspberry Pi
Wifi Dongle
Keyboard
Mobile Phone (Android / iPhone etc)
Working internet connection (For setup purposes)
Software required
On Raspberry pi
ssh-daemon (This is preinstalled if you are using NOOBS). Otherwise use sudo apt-get install sshd
Tmux ( can be installed via sudo apt-get install tmux)
In case you don't like tmux for some reason, you may be able to use screen in a similar fashion as described.
On phone
Some sort of SSH client. I use Juice SSH but you are free to use any one.
Since I have never used Apple, I'm going to leave finding an SSH client there to you. comment below if you find one that you have used.
Other requirements
A keyboard for the PI would be nice, though you can use your laptop too in case you do not have one.
The Raspberry pi needs to be able to connect with a network beforehand. See this resource.
In case you have a router lying around, connect the Pi, phone (and laptop if needed) to the same router. Otherwise set up a WiFi hotspot in your phone and connect everything to that.
use raspi-config command to make sure that the login procedure is login to command line
exit the ssh session (Ctrl + d)
Reboot the Pi
Connect a keyboard
You will be logged in to the PI user automatically as per the last config.
type tmux new-session -s main
This opens a new tmux session.
SSH into the Pi using your phone (Juice SSH)
Using your phone type in tmux attach -t main to the terminal you have just opened.
You can now see the same tmux session which is running on your PI. Whatever you type in the keyboard appears on your phone. This allows you to use your phone as a temporary display for the Raspberry pi terminal.
Here's a demo video.
End of page
You can select any text and comment on it. Current selection is:Email new comment
End of comments