User Tools

Site Tools


pbx_update_101

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
pbx_update_101 [2015/12/09 22:49]
matthias removed
— (current)
Line 1: Line 1:
-      THIS IS A DRAFT   for doing the beta update !!!  
- 
----- 
- 
- 
-====== HotFix Release 1.0.1 ====== 
-<​del>​The important script fixes are already included within the RPi - Image 1.0.0 !</​del>​ 
-Only a few of those fixes are already included to the RPi 1.0.0 release. 
-===== Changelog ===== 
- 
-=== 1.0.1RC1 === 
-  * [Fix] Fixed setting permissions of shoutbox datafile 
-  * [New] Service File for RPi image 
-  * [Fix] Several typos in scripts 
-  * [Fix] Typo in front page and directory listing 
-  * [Fix] in timsave.sh while restoring date&​time 
-  * [Fix] [OpenWRT] Timesave create bootup restore 
-  * [Fix] [OpenWRT] Fix for not working "​already installed"​ recognition to skip parts 
-  * [Fix] [OpenWRT] Fix for errors during installing piratebox-mod-imageboard because of duplicate links 
-  * [Fix] [OpenWRT] Fix for LED flashing during auto install (box-installer on image) 
-  * [Fix] [OpenWRT] Fix error messages on package reinstall. (extendRoot) 
-  * [Fix] No dublicates symlink after double "​part2"​ via install_piratebox.sh 
-  * [New] Remove # in front of secret & password to force user to change it before using the board 
-  * [Fix] Button padding in UI 
-  * [Fix] Board Link out of nested Shared folder 
-  * [Fix] Russian Translation in Droopy 
-  * [Fix] ReDistribute DirectoryListing files upon initialization on first Startup 
-  * [Fix] [OpenWRT] Fixing customization of lease-file location for OpenWRT 
-  * [Fix] [OpenWRT] Fixes issues when extendRoot couldn'​t get initilized correctly 
-  * [New] [OpenWRT] Optimzed handling of mount options in extendRoot 
- 
- 
-==== Update to 1.0.1Rc1 ==== 
-I wanted to publish a manual instruction setup, but it turned out, that the Fix list is so long, that a complete new installation is more useful to everybody. ​ 
- 
- 
-===== Upgrade PirateBox ===== 
-If you're currently running an older version of PirateBox on your router, these instructions should get you up and running in a flash (literally!). **Please Note:** The instructions below are specifically for the TP-Link MR3020, WR703N, and MR3040. ​ 
- 
-<​html><​span style="​font-size:​125%;"><​b>​1.</​b></​span></​html>​ First download a copy of **[[http://​beta.openwrt.piratebox.de/​auto/​install_piratebox.zip|install_piratebox.zip]]** and a customized copy of OpenWrt for the MR3020, WR703N or MR3040 to your computer from: http://​beta.openwrt.piratebox.de/​auto (be sure to download the **"​*squashfs-factory.bin"​** file that corresponds with your specific device).  ​ 
- 
-<​html><​span style="​font-size:​125%;"><​b>​2.</​b></​span></​html>​ Drag the **"​*squashfs-factory.bin"​** to your USB flash drive (you don't need to extract this file first!). 
- 
-<​html><​span style="​font-size:​125%;"><​b>​3.</​b></​span></​html>​ Now SAFELY REMOVE your USB drive from your computer and plug the USB stick into your OpenWrt router. 
- 
-<​html><​span style="​font-size:​125%;"><​b>​4.</​b></​span></​html>​ Connect the router via ethernet cable to your computer and power up the router. Once the router is running, open a terminal window (for OS X, go to Applications > Utilities > Terminal; for Windows, install and open [[http://​www.chiark.greenend.org.uk/​~sgtatham/​putty/​|PuTTY]]) and log in with ssh: 
- 
-  ssh root@192.168.1.1 ​ 
-  ​ 
-**Note:** If you haven'​t set up a password yet, use the telnet command instead of ssh: 
-  ​ 
-  telnet 192.168.1.1 
- 
-<​html><​span style="​font-size:​125%;"><​b>​5.</​b></​span></​html>​ Navigate to the /mnt/usb directory: 
-  ​ 
-  cd /mnt/usb 
- 
-<​html><​span style="​font-size:​125%;"><​b>​6.</​b></​span></​html>​ Install the customized version of OpenWrt and PirateBox 1.0 with: 
- 
-  mtd write -r openwrt<​TAB>​ firmware 
-  ​ 
-**Note:** Use your "​tab"​ key at the end of "​openwrt"​ to autocomplete the full file name of the firmware. 
- 
- 
-<​html><​span style="​font-size:​125%;"><​b>​7.</​b></​span></​html>​ When you see, that the PirateBox is about to reboot (Lights turn of and on), turn it off und but the USB Stick to your computer. Extract the **install_piratebox.zip** file and drag the "​install"​ folder over to your USB flash drive. Safely remove the USB stick, put it back to Piratebox and turn it on 
-  ​ 
-<​html><​span style="​font-size:​125%;"><​b>​8.</​b></​span></​html>​ After the upgrade completes, the router will restart. **Note:** You should wait 15-20 minutes for the installation to complete (depending upon your USB flash drive, it may take up to 45 minutes - be patient!). Your device will reboot a couple of times during the installation. ​ 
- 
-<​html><​span style="​font-size:​125%;"><​b>​9.</​b></​span></​html>​ Once the installation is complete, telnet to the device: 
- 
-  telnet 192.168.1.1 
- 
-<​html><​span style="​font-size:​125%;"><​b>​10.</​b></​span></​html>​ Use the passwd command to set your login password – this will enable SSH: 
- 
-  passwd 
- 
-<​html><​span style="​font-size:​125%;"><​b>​11.</​b></​span></​html>​ You're now ready to activate the Kareha Image and Discussion Board and the UPnP server. See the **[[openwrt:​diy#​Post-Installation]]** instructions below for details. 
- 
----- 
- 
-===== Post-Installation ====== 
-Once you have installed or upgraded to PirateBox 1.0, follow these final steps to activate the Kareha Image and Discussion Board and configure and start the UPnP media server. 
- 
-<​html><​span style="​font-size:​125%;"><​b>​1.</​b></​span></​html>​ Power up your PirateBox and join the SSID "​PirateBox:​ Share freely"​ network. Then open a terminal window (for OS X, go to Applications > Utilities > Terminal; for Windows, install and open [[http://​www.chiark.greenend.org.uk/​~sgtatham/​putty/​|PuTTY]]) and ssh into your PirateBox: 
- 
-  ssh root@192.168.1.1 
- 
-<​html><​span style="​font-size:​125%;"><​b>​2.</​b></​span></​html>​ Activate the Kareha Image and Discussion Board by using the vi text editor (**[[http://​www.lagmonster.org/​docs/​vi.html|vi cheat sheet]]**) to change the admin username and password (ADMIN_PASS and SECRET). Don't forget to remove a leading ''#''​ in the both lines, if exists: 
- 
-  vi /​opt/​piratebox/​www/​board/​config.pl 
- 
-<​html><​span style="​font-size:​125%;"><​b>​3.</​b></​span></​html>​ Activate the "​timesave functionality"​ use the box-setup script. The functionalitiy is guided: 
- 
-  /​bin/​box_init_setup.sh 
- 
-<​html><​span style="​font-size:​125%;"><​b>​4.</​b></​span></​html>​ Point your browser to http://​piratebox.lan/​board/​kareha.pl for the first initialization. 
-  ​ 
-<​html><​span style="​font-size:​125%;"><​b>​5.</​b></​span></​html>​ Activate the UPnP Media Server by copying over the config file: 
-  cp /​opt/​piratebox/​src/​openwrt.example.minidlna /​mnt/​ext/​etc/​config/​minidlna 
- 
-**Note:** Optionally, you can edit the config file (change the display name, etc) with: 
-  vi /​etc/​config/​minidlna 
- 
-<​html><​span style="​font-size:​125%;"><​b>​6.</​b></​span></​html>​ Finally, start the UPnP Media Server with: 
-  /​etc/​init.d/​minidlna start 
-  ​ 
-<​html><​span style="​font-size:​125%;"><​b>​7.</​b></​span></​html>​ Your PirateBox 1.0 should be ready to use! Be sure to also check out the **[[:​openwrt|PirateBox OpenWrt page]]** and the **[[http://​forum.piratebox.cc/​list.php?​8|OpenWrt discussion board]]** on our **[[http://​forum.piratebox.cc|PirateBox Forum]]** for more info and support.