Buying a Raspberry Pi is pretty exciting stuff!
At least until I noticed that it doesn’t have a screen, and realized that neither do I.
Buying a brand new monitor is out of the question cos:
- It’s expensive
- More importantly, it would make me look stupid…
Thus I started thinking about possible workarounds, and thought that it might be possible to mount the Raspberry Pi’s OS filesystem (SD card) onto my laptop and directly configure a static IP address on it so that I could SSH into it.
This approach turned out quite well and I outline the steps below
- Download and install a raw image onto your SD card – http://www.raspberrypi.org/downloads
- Mount the SD card on your laptop – You’ll need to be running either Linux or Mac. If you’re using Windows, then get a VM or LiveCD.
- Modify system file to set a static IP address – the exact file to modify depends on which raw image you download. If you’re using the “Raspian Wheezy”, it’s based on Ubuntu, so you can modify the /etc/network/interfaces
- Optional step: If you do not have a wired switch/router that you can connect your Raspberry Pi to, you can directly connect to your laptop instead if you have a spare LAN port – just set the correct IP addresses.
- SSH into your Raspberry Pi