Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
openwrt:manual:zsun [2018/02/12 01:22]
theexpertnoob [Piratebox on the Zsun]
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 13: Line 15:
 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>​ 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 62: Line 64:
 opkg update opkg update
 </​code>​ </​code>​
 +
 +
 ==== 1. Setup Mounts ==== ==== 1. Setup Mounts ====
 === Format SD card === === Format SD card ===
Line 68: 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 88: 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