Sale!

SubZero 2.0 Image

Category:
$59.99 $0.00

Description

Introduction
The SUBZero 2.0 img is a Wifi NAS image for the Raspberry Pi Zero. Download this image onto an SD card and plug it into a Raspberry Pi Zero for a full NAS solution.

Then plug the PiZero into a USB port and it will broadcast a WiFi network named SUBZero (the default password is raspberry for WiFi, and pi:raspberry for the OS. PLEASE change this once it’s up and running). Once connected to the network, you can browse to https://192.168.1.1 and start uploading/sharing files. This functions as a standalone network, meaning no Internet connection required!

Routing
By default, the SUBZero is not configured to route any traffic or provide internet access. Configuring the device to route traffic on the network is pretty simple though. There is a tutorial by Phil Martin showing how to do this. First, log in to the SUBZero using the credentials ‘pi:raspberry’ (you should change this) and open /etc/sysctl.conf as sudo with vim/vi/nano. Uncomment the line containing ‘net.ipv4.ip_forward=1’ by removing the # from the beginning of the line, save the changes, and return to the terminal. Assuming you are using wlan0 for your WiFi interface and eth0 for your internet connection, execute the following commands on the terminal:

$ sudo iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
$ sudo iptables -A FORWARD -i eth0 -o wlan0 -m state --state RELATED,ESTABLISHED -j ACCEPT
$ sudo iptables -A FORWARD -i wlan0 -o eth0 -j ACCEPT
$ sudo sh -c "iptables-save > /etc/iptables.ipv4.nat"

Lastly open the file /etc/rc.local as sudo and add the following line at the bottom, right above exit 0:

iptables-restore < /etc/iptables.ipv4.nat

Expanding the Filesystem
By default, the Raspbian root file system is around 2GB. However, if you have an SD card with more capacity it’s a great idea to go ahead and expand your installation to the entire SD card. This way you can have the maximum amount of file storage on your SUBZero device.

To expand to the filesystem boot up the SUBZero device and open up a terminal and execute the following command

sudo raspi-config

You will be presented with a GUI menu, go ahead and go down to “Advanced Options” and hit enter.

Then at the second menu hit enter on “Expand Filesystem”. You will then be prompted to restart your machine after the operation is over. Then you are done with the software side of things.

Got Questions?
For more information about this product, or to build the file system on your device for free, visit the SubZero GitHub page.

1 review for SubZero 2.0 Image

  1. Karin Eddie Zabrina

    You do have a fabulous blog thanks. Karin Eddie Zabrina

Add a review

Your email address will not be published. Required fields are marked *