aus Metalab, dem offenen Zentrum für meta-disziplinäre Magier und technisch-kreative Enthusiasten.
Wechseln zu: Navigation, Suche



Mac OS X

Since EasyFlash isn't available for Max OS X, we do this manually (FON2200 + ethernet only):

1. Set IP address of your Mac:

sudo ifconfig en0

antifuchs says: this does not work reliably on Leopard. What does work is: In Network.prefpane, Make a new network location, make inactive every device except ethernet; set ethernet config to "Manual", configure IP address Then select that location as your current location.

2. Enable tftp

Get TFTPServer, point it to the directory that contains the firmware; it needs to be world-read/writable; you can let that program fix permissions for you.

3. Copy OpenWRT files to tftp dir:

These files are typically what you want to use:

  • openwrt-atheros-2.6-vmlinux.lzma
  • openwrt-atheros-2.6-root.squashfs

4. Upload the firmware

Two methods here: The lazy approach, and flashing it manually. I recommend doing it by hand at least once to be able to debug the lazy approach if it goes wrong.

Flashing manually

Get access to RedBoot

See also

echo -e "\003" > break

fonera an den strom, wenn das 2te led zu blinken beginnt:

nc -vvv 9000 < break;

danach ctrl+c

telnet 9000

-> You should now have a "RedBoot>" prompt. If not, rinse and repeat.

Flash new kernel and filesystem images in RedBoot:

In RedBoot (assuming you configured the machine with the tftp server to

fis init
load -r -b 0x80041000 openwrt-atheros-2.6-vmlinux.lzma
fis create -e 0x80041000 -r 0x80041000 vmlinux.bin.l7
load -r -b 0x80041000 openwrt-atheros-2.6-root.squashfs
fis create -l 0x06F0000 rootfs


You are now where EasyFlash ends. Wait for the boot to finish and telnet to and set a root password.

Flashing automatically (the lazy approach)

Get this expect script (written by Antifuchs and Marius):

1. Start script: ./flashit.expect
Optionally, you can give kernel and squashfs files as parameters if they don't have the default filenames 2. Connect and power up the Fonera
3. When you see stuff happening, go for lunch.<br/

When the script exits (and you see no error message), you can safely reboot the box and telnet to

Windows/Linux (easyflash):

[ ]	ap51-flash-fonera-1.0-38	18-Dec-2007 19:10 	3.3M
[ ]	ap51-flash-fonera-gui-1.0-38.exe	18-Dec-2007 19:12 	3.3M

Passendes Tool runterladen.
 [   ] openwrt-atheros-2.6-root.jffs2-64k                 30-Sep-2007 20:16  1.6M  
 [   ] openwrt-atheros-2.6-vmlinux.lzma                   30-Sep-2007 20:16  768K   

die beiden runterladen.

Jetzt kommts..
0. sudo ifconfig eth0
1. Fonera mit ETHERNETKABEL an eth0 anstecken.
2. ./ap51-flash-fonera-1.0-38 eth0 openwrt-atheros-2.6-root.jffs2-64k  openwrt-atheros-2.6-vmlinux.lzma 
3. Strom an den Fonera anstecken 

Der Fonera schickt nun beim hochfahren einen ARP request raus, das Flashtool wartet darauf und tut dann seine Magie.
Der ganze Flashvorgang dauert rund _15_ Minuten.
Zuerst sieht man die IP vom Router 
Dann steht da was von 
Loading RootFS ..
Writing RootFS..  (10 Minuten)
Loading Kernel ..
Writing Kernel.. 
Rebooting Device..


Danach hat der Fonero die IP und ist über TELNET erreichbar.
Happy hacking.


software zum flashen + packages ..


svn co

Fettes ipkg repository


LCD am fonera?

I2C bus?

SD card am fonera?

GPIO kernel modul

Fertig compiliertes GPIO kernelmodul im feschen .ipk + src Media:Kamikaze_7.09_GPIOkmod.tar.gz