The Fonera is a small device based on OpenWRT that allows you to distribute WiFi (HotSpot). To learn more, I invite you to visit the official website. In short, it is possible to play a bit more with the basic functions, which is why I tackled SSH access on this device.
Important: Any firmware modification can take 10 minutes to update. So don’t reboot before that!
192.168.1.1 is unreachable
192.168.1.1 is alive
-> == Executing boot script in 1.910 seconds - enter ^C to abort
<- ^C
Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.
RedBoot> ip_address -l 192.168.1.1/24 -h 192.168.1.254
IP: 192.168.1.1/255.255.255.0, Gateway: 0.0.0.0
Default server: 192.168.1.254
1
2
3
4
5
RedBoot> fis delete image
Delete image 'image' - continue(y/n)? y
... Erase from 0xa8040000-0xa8277040: ....................................
... Erase from 0xa87e0000-0xa87f0000: .
... Program from 0x80ff0000-0x81000000 at 0xa87e0000: .
1
2
RedBoot> load -r -b 0x80100000 /firmware_francofon.bin -m HTTP -h 192.168.1.254
Raw file loaded 0x80100000-0x8033703f, assumed entry at 0x80100000
1
2
3
4
5
RedBoot> fis create -b 0x80100000 -l 0x00237040 -f 0xA8040000 -e 0x80040400 -r 0x80040400 image
... Erase from 0xa8040000-0xa8277040: ....................................
... Program from 0x80100000-0x80337040 at 0xa8040000: ....................................
... Erase from 0xa87e0000-0xa87f0000: .
... Program from 0x80ff0000-0x81000000 at 0xa87e0000: .
Wait until the flashing is complete. A quick reboot:
1
RedBoot> reset
You should now have SSH access to your Fonera :-):
When I scan the WiFi at home, I discover an unencrypted SSID called “FON_ATTENTION_PLEASE_CONNECT”. This is a failed flashing. So you need to download the official firmware from the official site to restore the original firmware.
Connect to this signal and then type https://192.168.1.1. Now, upload the firmware and you will see something like this:
Firmware upgrade and hotfix installation
Ooooops! Looks like the La Fonera is not working properly. You need to reinstall the fon software in it. Please, provide a valid full firmware in the box below (you can find them at fon's download page) or contact fon support at support@fon.com
FON upgrade file
Upgrading...
Wait for the router to reflash itself. This can take up to some minutes. DO NOT DICONNECT THE LA FONERA in 10min
This is a FON reflash v2 archive
Verified OK
Upgrade name: reflash_all
grep: /etc/hotfix: No such file or directory
Upgrading FON firmware and rebooting...
This may take up to 10 minutes. Please be patient.
The power light will be alternating green and orange. When the process is finished the light will stay orange while rebooting
Flashing image...
The upgrade process was successful
Press here to return to the index page
Just after flashing your Fonera+ will reset with factory default settings. You can verify this by going into your HTTP console on 192.168.10.1
To update your config, log on to www.fon.com, and access userzone. Select your router, and update WLAN private and public SSID names. If you don’t want to change the name, please just change one letter, click on “update” button, and change again to the right name. For the private WLAN: change the WEP/WPA key encryption using the same method.
Fon.com servers will send the new config to your Fonera+. Wait a few minutes and check in your local HTTP console. You don’t need to reboot.
If your Fonera+ has been registered before the SSH-unlock, check on your local HTTP console status if all is OK. If the logo displayed is “your Fonera+ has not been registered”, it is important to change this parameter to give access to users on your public WLAN.
To do this, open SSH console:
1
echo1 > /etc/config/registered
Reboot your Fonera+, connect again to your HTTP local console, and verify the change to the logo: “Your Fonera is registered OK”