Introduction: Flashing a Meraki / Accton / Fonero With OpenWRT Using Linux

This instructable will show you how to flash your Meraki / Accton / Fonero hardware with OpenWRT Linux using a Linux PC.

Author website: http://ruckman.net

Step 1: Download the Software and Set Permissions

Run the following commands from a terminal:

sudo apt-get update
sudo apt-get install wget
wget http://downloads.openwrt.org/kamikaze/8.09.2/atheros/openwrt-atheros-vmlinux.gz
wget http://downloads.openwrt.org/kamikaze/8.09.2/atheros/openwrt-atheros-root.jffs2-64k
wget http://ruckman.net/downloads/easyflash
wget http://ruckman.net/downloads/flash
chmod +x easyflash
chmod +x flash

Step 2: Set Up for Flashing

Plug in your Unit (meraki/accton/fonero) to your Ethernet LAN port on your computer using a CAT5e straight through cable (8P8C).

Type (from the directory where the files are located):

ifconfig eth0 up
./flash

(note: If your unit is NOT connected to eth0, modify
the file flash accordingly, it should be eth0 but you can check by
issuing ifconfig)

Step 3: Let the Flashing Begin!

Plug in the unit to power.

You should see something like this displayed:

No packet
No packet
Peer MAC: 00:18:84:80:67:1C (this will be the MAC address of your router)
You MAC: 00:ba:be:ca:ff:ee
Your IP: 192.168.1.0
Setting IP address...
Loading rootfs...
Sending rootfs. 6400 blocks...
Initializing partiions...
Rootfs partition size now 0x006f0000
Flashing rootfs...
Loading Kernel...
Sending kernel, 1536 blocks...
Flashing Kernel...
Setting boot_script_data...

Done. Restarting device...

Go get lunch. This will take 15-30 minutes, depending upon the flash
chip speed in your router. DO NOT INTERRUPT!

When it is done, the window will show Done.