Created
March 3, 2010 23:55
-
-
Save joewest/321212 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# How to install openwrt 8.09.2 on the ar7-based Actiontec GT704-WG / GT704WG | |
# | |
# Basically an amalgamation of the helpful guides here: | |
# | |
# http://hackingwithgum.com/2009/09/17/installing-openwrt-on-the-actiontec-gt-704wg/ | |
# | |
# and here: | |
# | |
# http://wiki.openwrt.org/oldwiki/openwrtdocs/installingar7#flashing.via.ftpone.image.file | |
# | |
# 1. Download the firmware | |
curl -O http://kamikaze.openwrt.org/8.09.2/ar7/openwrt-ar7-squashfs.bin | |
# 2. Put the router into the ADAM 2 bootloader to allow ftp access | |
turn off the router | |
hold down the reset button, and turn the router back on | |
keep holding the reset button until you see the Power and Internet LEDs stay on | |
# 3. Connect an ethernet cable from your computer to ethernet port 1 on the router | |
# 4. Set the IP on the ethernet port to 192.168.0.2, on a mac laptop: | |
Open: System Preferences > Network | |
Select: Ethernet | |
Set the following: | |
Configure IPv4: Manually | |
IP Address: 192.168.0.2 | |
Subnet Mask: 255.255.255.0 | |
Click: "Apply" | |
# 5. Get the firmware on your device | |
> ftp -A 192.168.0.1 | |
# username: adam2 | |
# password: adam2 | |
# commands to enter at the ftp> prompt | |
quote SETENV mtd5,0x90010000,0x903f0000 | |
quote SETENV MAC_PORT,0 | |
binary | |
quote MEDIA FLSH | |
# the put takes a while to get started | |
# but only took 21 seconds to complete once started | |
put "openwrt-ar7-squashfs.bin" "openwrt-ar7-squashfs.bin mtd5" | |
quote REBOOT | |
quit | |
# 6. Reset your laptop's ethernet port to use DHCP | |
Open: System Preferences > Network | |
Select: Ethernet | |
Set the following: | |
Configure IPv4: Using DHCP | |
Click: "Apply" | |
# 7. Connect to OpenWRT, in your web browser open: http://192.168.1.1/ | |
# | |
# By default there is no root password, once set you can login via ssh | |
# 8. Set a root password, System > Admin Password |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment