parkrunPortable Installation Instructions - lawrencebillson/parkrun GitHub Wiki
By Lawrence Billson & Dominic Watkins
You will need:
- A Kingston MLWG2 wireless router
- A USB memory device
- A computer with:
- WiFI
- Terminal emulation software (e.g. PuTTY) or ‘terminal’ on Mac OSX
PuTTY for Windows is free, awesome and can be downloaded from here. You don't need to install PuTTY - just download putty.exe from the above link and leave it running in the background.
Terminal is already installed as part of Mac OSX. Press F4 and type
terminal
and it should show up.
The process flow:
- Prepare a USB flash drive with the parkrunPortable software
- Install parkrunPortable on the MLWG2 from the USB flash drive
- Testing
Prepare a USB flash drive with parkrunPortable software
- Format your USB memory to be FAT32
- Download the USB stick software from github https://github.com/lawrencebillson/parkrun/raw/master/tmp/usbstick.zip
- Unzip the files and copy them into the root folder of your USB stick - make sure they're not hidden in a folder, they absolutely must be in the root
Install OpenWRT on your MLWG2
- Confirm that your MLWG2 is completely powered off (no LEDs lit)
- Confirm that your MLWG2 is NOT connected to a wired network.
- Insert the USB memory into the MLWG2.
- Hold down the power button on your MLWG2 until the blue lights come on
- After waiting for the MLWG2 to boot (the blue light stops flashing), connect to the MLWG2-??? from your WiFi computer. The ??? is based on the MLWG2's serial number and will be different for each person.
- Telnet to 192.168.201.254 -
- On a Windows PC, run PuTTY, in the "Host Name (or IP address)" box, enter 192.168.201.254, select "Telnet" as the connection type, then click "Open"
- On a Mac, open terminal and type
telnet 192.168.201.254
then enter
- Login with the username:
admin
and press return. You will be greeted with a # prompt. - To copy the OpenWRT software onto the MLWG2s flash memory copy and paste each of these commands one at a time. When the (e)/(w) at the end stops switching they are finished:
To paste text in PuTTY - Click inside the window to make it active, then click the right mouse button to paste
mtd_write write /media/USB1/openwrt-15.05.1-ramips-mt7620-mlwg2-squashfs-sysupgrade.bin KernelA
Then copy and paste:
mtd_write -r write /media/USB1/openwrt-15.05.1-ramips-mt7620-mlwg2-squashfs-sysupgrade.bin KernelB
You may see PuTTY or your telnet session error with a 'connection aborted' message. This is because the MLWG2-??? network goes away when the MLWG2 reboots.
After the copy has finished, the MLWG2 will reboot and automatically install the software. This takes about 3-4 minutes. You'll see the blue light flash and go solid. Your MLWG2 is now a parkrunPortable.
Testing
- Connect to the parkrunPortable wireless LAN, password:
bushypark
- You can remove the USB stick and close your terminal/PuTTY session
- Copy this address into your web browser:
park.run
- You should now see the controls for parkrunPortable in your browser window!
- Read Bron's Instructions and process some results before using it on a live parkrun; run directors should have access to the test system.
- Optional but recommended - Telnet to 192.168.2.1 and run
passwd
. This will set the root password for the device (not the bushypark wireless key).
Notes
- The procedure for installing OpenWRT on the MLWG2 comes from here: https://drive.google.com/folderview?id=0B0CKglNyN0URflpRWFMyWUFQa1dsRUJldlpoZTAtNGlH STdJY041NGd2ZmRfSDRhNkNOSkU&usp=drive_web
- If this goes wrong, sorry but we can’t offer phone support. Post in the 'issues' section - parkrun folk are a friendly bunch, we'll get you through!