LibraryBox-Internet
From openmichigan
[edit] There are at least 2 steps for the Install
Given LibraryBox requires new firmware to be loaded into the TP-Link device, there currently is no way to automate this procedure or to integrate it directly with the other tasks, since you must first have the "OpenWRT" environment to do the subsequent tasks. I followed the stage 1 instructions found here: [Http://www.jasongriffey.net/librarybox/MR3020.html http://www.jasongriffey.net/librarybox/MR3020.html]
[edit]
To use a browser to flash firmware on the TP-LINK box
- Download a custom copy of OpenWrt for the MR3020 at http://stable.openwrt.piratebox.de/ar71xx/openwrt-ar71xx-generic-tl-mr3020-v1-squashfs-factory.bin (OpenWRT firmware modified by Matthias Strubel to include all needed kernel modules). This is the firmware that will prepare the router for all of the other customization.
- Set the toggle switch located beside the LAN/WAN port on the TP-Link to WISP mode
- If you are using a computer with wifi, turn off the wireless in order to force it to connect to the router over ethernet.
- Connect the TP-Link via ethernet cable to your computer, connect the TP-Link to a power source via USB cable, and open a web browser to http://192.168.0.254
- Enter the default username & password (admin & admin)
- Navigate to System Tools > Firmware Upgrade and select the OpenWRT firmware that you downloaded to your computer in the preceding step (openwrt-ar71xx-generic-tl-mr3020-v1-squashfs-factory.bin)
- After the upgrade completes, the MR3020 will restart. Do notunplug the router or disconnect the ethernet cable during the firmware flash.
Step 1 of the LibraryBox install is complete. At this point, you have an MR3020 running OpenWRT and you are ready for Step 2 on the LibraryBox install.
[edit]
Note: If you cannot SSH into the MR3020 ... or you don't want to flash the firmware using a web browser
- Unplug the USB Drive from the TP-Link device and plug the USB device into your computer
- Download this file: http://stable.openwrt.piratebox.de/ar71xx/openwrt-ar71xx-generic-tl-mr3020-v1-squashfs-factory.bin and save it on that USB drive.
- Connect the TP-Link to your computer via an Ethernet cable
- Manually set the ethernet IP of your computer to 192.168.1.2, and turn off your wireless
- Launch a Terminal program and enter the following command: ping 192.168.1.1
- Let this ping command run... it will fail, but it should at this time
- Power on the TP-Link and when the WPS Button starts to blink, depress this button. This should cause the WPS button to blink much faster
- You should now be able to enter this command: telnet 192.168.1.1
- Now remove the USB device from your computer and plug it into the TP-Link
- Enter this commands on the telnet window into the TP-Link: /etc/init.d/boot start (This will return some error messages, just ignore them.)
- Enter this command on the telnet window into the TP-Link: mount /dev/sda1 /mnt
- Enter this command on the telnet window into the TP-Link: cd /mnt/
- Enter this command on the telnet window into the TP-Link: mtd write openwrt-ar71xx-generic-tl-mr3020-v1-squashfs-factory.bin firmware
Once you see a command prompt again, you can unplug and reboot the TP-Link by pluggin the power back into the TP-Link. At this point, you have just finished Stage One of the LibraryBox install instructions.