PirateBox on Arduino Yún

The PirateBox setup for the Arduino Yún is relatively simple, because the Yún comes with OpenWrt pre-installed. Follow the instructions below to setup your PirateBox. In case you run into trouble and need to re-flash the Yún, follow the instructions described on the Reflashing the OpenWrt web page.

Stuff You'll Need

1. Arduino Yún

2. USB Flash Drive (formatted FAT32 with a single partition)

3. 5V/USB Battery (optional)

Installation Steps

1. Login to the Yún via SSH (use standard user/password)

2. Edit the file /etc/opkg.conf:

#option check_signature
src/gz piratebox http://stable.openwrt.piratebox.de/all/packages

3. Update packages:

opkg update

4. Install the extendRoot package:

opkg install extendRoot
/etc/init.d/ext init

5. Refresh ash profile:

source /etc/profile

6. Install the PirateBox package:

opkg -d ext install extendRoot-piratebox

7. Change the dnsmasq interface:

sed 's/DNSMASQ_INTERFACE="br-lan"/DNSMASQ_INTERFACE="wlan0"/' -i /opt/piratebox/conf/piratebox.conf

8. The password is still the standard Yún password, you can change that by typing:

passwd

9. As a final step, you can reboot the Yún:

reboot