Commit 237fb8bd authored by Michael Murtaugh's avatar Michael Murtaugh

notes from flashing the hornet to openwrt

parent 6d991051
Flashing the ALFA AP121 to OpenWRT
Using resources:
* [Tutorial on OpenWRT wiki](
* [Screen recording of flashing same hardware to a pineapply mark iv](
* [useful forum post]( continaed the secret telnet login password "root/80546334" which actually you don't need...
* [Installing OpenWrt via TFTP]([]=tftpd)
Indeed the default IP address is
So Lesson 1: you need to have the serial connection open WHEN you power up the router, then you go straight into the "uboot" console (otherwise you get a telnet? login where you need the numeric root password -- above)
the server:
apt-get install tftpd-hpa
# /etc/default/tftpd-hpa
sudo service tftpd-hpa status
COPY the .bin file to /srv/tftp/
sudo cp ~/Downloads/openwrt-ar71xx-generic-hornet-ub-squashfs-sysupgrade.bin /srv/tftp/
Connect USB Serial adapter hooked up to (powered down) router.
Open the connection:
sudo picocom -b 115200 /dev/ttyUSB0
Power up device, and pick: (1) for u-Boot
setenv serverip
setenv ipaddr
the pull the file:
# tftp 0xa0800000 openwrt-ar71xx-generic-hornet-ub-jffs2-sysupgrade.bin
actually I used the squashfs:
tftp 0xa0800000 openwrt-ar71xx-generic-hornet-ub-squashfs-sysupgrade.bin
and note that my byte count is slightly different.
erase 0x9f050000 +0x790000
cp.b 0xa0800000 0x9f050000 0x790000
(and allow default boot from flash)
and OpenWRT starts!!!
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment