Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
openwrt:manual:zsun [2018/01/20 17:56] theexpertnoob [1. Setup Mounts] |
openwrt:manual:zsun [2019/11/17 05:52] theexpertnoob [0a. PreSetup ZSUN] |
||
---|---|---|---|
Line 4: | Line 4: | ||
After many hours of installing, troubleshooting, resetting e.d. I now have a complete working Piratebox installation. | After many hours of installing, troubleshooting, resetting e.d. I now have a complete working Piratebox installation. | ||
I would like to share my installation scripts in order to let you install your own. | I would like to share my installation scripts in order to let you install your own. | ||
+ | |||
+ | <WRAP center centeralign alert 75%>This tutorial will soon be out of date due to the upcoming PirateBox v1.2. It will be updated once all the bugs are figured out and there is a successful release for this device.</WRAP> | ||
<WRAP center centeralign alert 75%>This tutorial is for the technical minded but should be simple to follow until we get a full install package/script working. | <WRAP center centeralign alert 75%>This tutorial is for the technical minded but should be simple to follow until we get a full install package/script working. | ||
Line 9: | Line 11: | ||
If you brick it trying these procedures, **YOU** are solely responsible for your actions. | If you brick it trying these procedures, **YOU** are solely responsible for your actions. | ||
**YOU HAVE BEEN WARNED**. However, we can try and help in the forums. | **YOU HAVE BEEN WARNED**. However, we can try and help in the forums. | ||
- | This has been recently tested on Jan 28, 2017 and working with PirateBox v1.1.2</WRAP> | + | This has been recently tested on Jan 28, 2017 and working with PirateBox v1.1.2. |
+ | |||
+ | Now testing on LEDE for A5-V11 with latest piratebox. Will create a new wiki page for A5-V11 LEDE setup as well as update this wiki once all testing is complete.</WRAP> | ||
- | ==== 0. PreSetup ==== | + | ==== 0. PreSetup ZSUN ==== |
* Having a Zsun running OpenWrt. I've used the [[https://wiki.hackerspace.pl/projects:zsun-wifi-card-reader:factory-update|hackerspace.pl]] method. | * Having a Zsun running OpenWrt. I've used the [[https://wiki.hackerspace.pl/projects:zsun-wifi-card-reader:factory-update|hackerspace.pl]] method. | ||
* microSD card (current data will be destroyed) | * microSD card (current data will be destroyed) | ||
Line 60: | Line 64: | ||
opkg update | opkg update | ||
</code> | </code> | ||
+ | |||
+ | |||
==== 1. Setup Mounts ==== | ==== 1. Setup Mounts ==== | ||
=== Format SD card === | === Format SD card === | ||
Line 66: | Line 72: | ||
cd /tmp | cd /tmp | ||
export LD_LIBRARY_PATH='/lib:/usr/lib:/tmp/lib:/tmp/usr/lib' | export LD_LIBRARY_PATH='/lib:/usr/lib:/tmp/lib:/tmp/usr/lib' | ||
- | opkg update && opkg install -d ram e2fsprogs mkdosfs fdisk | + | opkg update && opkg install -d ram e2fsprogs dosfstools fdisk |
- | wget http://raw.githubusercontent.com/TheExpertNoob/scripts/parts/parts | + | wget http://druss.org/public/parts |
chmod +x /tmp/parts | chmod +x /tmp/parts | ||
- | ./parts /dev/sda | + | ./parts |
- | /tmp/usr/sbin/mkfs.vfat /dev/sda1 | + | /tmp/usr/sbin/mkfs.fat /dev/sda1 |
/tmp/usr/sbin/mkfs.ext4 /dev/sda2 | /tmp/usr/sbin/mkfs.ext4 /dev/sda2 | ||
</code> | </code> | ||
Line 86: | Line 92: | ||
uci commit | uci commit | ||
mkdir /mnt/sda2 | mkdir /mnt/sda2 | ||
- | mount /dev/sda2 /mnt/sda2 | + | mount -t ext4 /dev/sda2 /mnt/sda2 |
tar -C /overlay -cvf - . | tar -C /mnt/sda2 -xf - | tar -C /overlay -cvf - . | tar -C /mnt/sda2 -xf - | ||
uci add fstab mount | uci add fstab mount |