Differences

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

Link to this comparison view

openwrt:upgrade_pre_1.0.0 [2014/10/10 16:49] (current)
matthias created
Line 1: Line 1:
 +===== Upgrade PirateBox older than 1.0.0 =====
 +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://​stable.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://​stable.openwrt.piratebox.de/​auto (be sure to download the **"​*squashfs-factory.bin"​** file that corresponds with your specific device). ​  **Be sure** to use one image from our served files, because they are customized to work together with the install.zip. __ If you use a different image-file, you won't be able to use this automatic installation__!
 +
 +<​html><​span style="​font-size:​125%;"><​b>​2.</​b></​span></​html>​ Extract the **install_piratebox.zip** file and drag the "​install"​ folder over to your USB flash drive. ​
 +
 +<​html><​span style="​font-size:​125%;"><​b>​3.</​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>​4.</​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>​5.</​b></​span></​html>​ Set the toggle switch located beside the LAN/WAN port on the router to **3G mode**.
 +
 +<​html><​span style="​font-size:​125%;"><​b>​6.</​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>​7.</​b></​span></​html>​ Navigate to the /mnt/usb directory:
 +  ​
 +  cd /mnt/usb
 +
 +<​html><​span style="​font-size:​125%;"><​b>​8.</​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>​9.</​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>​10.</​b></​span></​html>​ Once the installation is complete, telnet to the device:
 +
 +  telnet 192.168.1.1
 +
 +<​html><​span style="​font-size:​125%;"><​b>​11.</​b></​span></​html>​ Use the passwd command to set your login password – this will enable SSH:
 +
 +  passwd
 +
 +<​html><​span style="​font-size:​125%;"><​b>​12.</​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.