[EN] Linux tools for Fonera+ - unlock, unbrick
Par Lama Bleu le jeudi 14 août 2008, 11:55 - Fonera - Lien permanent
.
Update 13-Mar-2009
The great skynetbbs published today a nice tool for reflashing.
- Working on MacOS, Linux and Windows
- Available for classic fonera (FON2100/2200), Fonera+ (FON2201) and Fonera2 (FON2202)
- Usage is very simple, no need of HTTP/TFTP server
- Please report your experience or issues here
- Based on initial work of Sven-Ola and enhanced by Eric Bishop, the nice author of gargoyle-router
Just follow instructions here: http://www.fonera.be/flash/
*****************************
(Original post starts here...)
New tools are now available on Linux for Fonera+ 
These tools are adapted from AP51-Easyflash from Freifunk.
A big thanks to Sven-Ola for giving us access to the sources, that allow us
to adapt for Fonera+.
Thanks to skynetbbs for writing the doc.
Just follow the instructions on this page : http://www.fonboard.nl/wiki/HowTo_Foneraplus_unlocking2
Quick steps
Unlock
Download 2201-unlocking linux executable.
You just need libpcap, change the public-FON SSID to FON_UNLOCK, shut down
your fonera+, launch the tool (use the good ethernet interface name as
parameter i.e. eth0 or eth1) , power-on your Fonera+, and let's go.
When process is done POWER and WIRELESS LEDS are blinking orange.
No reflashing for unlock, it's quick and safe.
Others commands are available for FON public SSID:
FON_REINIT : will erase JFFS and restore your Fonera+ with default factory
settings
FON_DIAG_PAGE : will install diagnostic page on Advanced menu (unlocking is not
needed) FON_REGISTER : will change the icon on status page after a reinit from
"unregistered" to "Your fonera is successfully registered"
Unbrick - Full reflash
You can also restore a full FON-firmware using 2201-full-restore app all-in-one file (unlock is not included).
Restore firmware (flashing time is 20 minutes):
sudo ./2201-full-restore eth1 image(size 0x00230004) + loader-image2(0x00150000) + config sums up to 0x003a0000 bytes Peer MAC: 00:18:84:a0:xx:xx Peer IP : 192.168.1.1 Your MAC: 00:ba:be:ca:ff:ee Your IP : 192.168.1.0 Setting IP address... Loading main 'image' partition... Sending 'image', 4608 blocks... Initializing partitions ... Flashing 'image' partition ... Loading loader + failsafe partitions... Sending loader + failsafe, 2688 blocks... Flashing failsafe 'image2'... Flashing loader... Setting boot_script_data... Done. Restarting device...




Commentaires
Under the quick steps section of this post, I'm getting confused with some of the lines. kindly make it more understandable if possible.