Making a portable disk for iPad using Raspberry Pi

The iPad is great and all. But sometimes you want to carry some movies with you. Unfortunately, my iPad only has 16 GB of memory and already full with space-consuming apps. Great. What do you do? A workaround is to put movies on a SD card and view them via import using an adapter. Ok, that is a decent idea, you will have to convert all video to iPad-format. I am too lazy for that. What now?

My idea is to use an ad hoc-network with DLNA support using a Raspberry Pi. The Raspberry has to be wifi-enabled and have a pretty big SD-card or USB-memory connected.

adhoc

This post will be updated when progress is made. For now, the idea is enough.

1. Choosing distribution and wifi-adapter

I have chosen to use ArchLinux. It seems to be pretty simple and I didn’t want any gui schmui. It also seems pretty stable with my wifi-adapter and offers ssh-connectivity enabled from scratch.

2. Installing ArchLinux

Installing the OS is a pretty simple procedure. This instruction applies for Mac OS X 10.7.

a) insert the SD-card (duh).

b) run df -a to see what devices you have.
I get the following:

Filesystem 512-blocks Used Available Capacity Mounted on
/dev/disk0s2 466920768 146905840 319502928 32% /
devfs 381 381 0 100% /dev
map -hosts 0 0 0 100% /net
map auto_home 0 0 0 100% /home
/dev/disk1s1 1953455872 317146112 1636309760 17% /Volumes/Extern disk
/dev/disk3s1 31488000 5312 31482688 1% /Volumes/NO NAME

So my SD-card is /dev/disk3s1. Ok. Let us unmount. Write diskutil unmountdisk /dev/disk3s1 and you will get the text

Unmount of all volumes on disk3 was successful

Go to the directory where you have the image of ArchLinux and write
sudo dd if=archlinux-hf-2013-02-11.img of=/dev/disk3s1 bs=4m

Note: DD is often called Disk Destroyer. If you choose wrong disk, an innocent disk connected to your computer maybe be rendered unusable. Proceed with caution at and at your own risk.

3. Setting up the SD-card

Go to the directory where you have the image of ArchLinux and write
ssh [ip-address] -l root

4. Installing wifi and enabling ad hoc-networking

TBA

5. Installing DLNA

TBA

6. Enable iPad to connect

TBA

Advertisements

Leave a Reply

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