|Model||Version||Current Release||Firmware OpenWrt Install||Firmware OpenWrt Upgrade||Firmware OEM Stock|
Note : As of 30/04/2016, the installation steps below for flashing OpenWrt were tested successfully for flashing Fonera 2.0n device with Fon 184.108.40.206 beta 1 firmware to OpenWrt 15.05.1 firmware for Fonera 2.0n.
1) Flash an official developer image.
1.1) Download the
.tgz (latest is FON2303_220.127.116.11_beta1_DEV.tgz).
1.2) Upload it through Dashboard>>Settings>>System on the Web Interface.
2) Connect to the Fonera via SSH. Password is the same used for the Web Interface (default: admin):
$ ssh email@example.com
3) Download the latest OpenWrt sysupgrade image into
# cd /tmp # wget -O openwrt.bin http://downloads.openwrt.org/chaos_calmer/15.05.1/ramips/rt305x/openwrt-15.05.1-ramips-rt305x-fonera20n-squashfs-sysupgrade.bin
# mtd -r write openwrt.bin image
After starting the flashing, you get the following messages :
Unlocking image ... Writing from openwrt.bin to image ... [w] Rebooting ... Connection to 192.168.10.1 closed by remote host. Connection to 192.168.10.1 closed.Source: https://fonera.tsaitgaist.info/doku.php?id=flash2.0n#ssh and http://trac.fonosfera.org/fon-ng/wiki/sshflash.
5) Move to a new IP address range
After Fonera 2.0n rebooting and up, if necessary, change the configuration (for your router or other means) to move your LAN devices with 192.168.10.x range IP address to an 192.168.1.x range IP address. Restart your computer and your Fonera 2.0n to take in account this change and take a new IP address.
6) First connect to your OpenWrt device and change the password.
Follow the steps here: OpenWrt – First Login
7) Install a web interface to manage your OpenWrt device.
To install LuCi interface (initial install or after an upgrade):
# opkg update # opkg install luci-ssl # /etc/init.d/uhttpd start # /etc/init.d/uhttpd enable
Go with your web browser to the following URL https://192.168.1.1 and check if you can see the Luci login page.
Login : root
Password : the password that you choose at step 6).
Source : luci.essentials
8) Secure wifi signal
By default, the OpenWrt wifi signal is not secure.
In the Luci web user interface, in the menu, go to "Network" > "Wifi" > Click on the "Edit" button > In "Interface Configuration", click on "Wireless Security" tab > In "Encryption" scroll list, choose an WPA or WPA2 encryption > Click on the button "Save & Apply".
Note : DO NOT USE the WEP security algorithm, it is not secure. To help you to choose between WPA and WPA2 options : https://en.wikipedia.org/wiki/Wi-Fi_Protected_Access
9) Use the Wifi frequencies allowed for your country
In the Luci web user interface, in the menu, go to "Network" > "Wifi" > Click on the "Edit" button > In "Device Configuration", click on "Advanced Settings" tab > In "Country Code" scroll list, choose your country > Click on the button "Save & Apply".
10) Tip to allow connexion to Fonera 2.0n for old device without Wifi N support.
In the Luci web user interface, in the menu, go to "Network" > "Wifi" > Click on the "Edit" button > In "Device Configuration" part, for the "Operating frequency" line > select "Legacy" in the "Mode" scrolling list > Click on the button "Save & Apply".
11) Install the good translation for your language (optionnal).
The basic LuCI web user interface is in English. If you want LuCI web user interface in your language, you need to install a package.
For a list of translation available packages, do
opkg list | grep luci-i18n-
The mimimum translation package for Luci is luci-i18n-base-xx where xx is the ISO code for your language. For exemple, to have the french translation :
opkg install luci-i18n-base-frand then refresh the Luci web page and you can see Luci in your language.
12) Improve your knowledge about OpenWrt : Welcome to OpenWrt
FON2303 uses U-Boot bootloader (FON2202 uses RedBoot).
If the Fonera stops working, is not accessible through the web interface or SSH, then there is still the restore option.
1) To start the bootloader u-boot, hold the reset button while powering on.
The POWER and USB LED will go on. give your interface an IP in 192.168.1.0 (no DHCP).
Fonera has IP 192.168.1.6.
$ ifconfig eth0 192.168.1.231
2) Send the image
$ tftp 192.168.1.6 tftp> binary tftp> put openwrt-ramips-rt305x-fonera20n-squashfs-factory.bin tftp> quit
3) Wait for it to flash and restart (power led blinking).
If the image is wrong, the USB LED will blink.
4) Connect by telnet and set root password
$ telnet 192.168.1.1 # passwd
5) Edit /etc/config/network and add following lines
config interface 'lan' ... option ipaddr '192.168.0.2' ... option gateway '192.168.0.254' option dns '192.168.0.254'
6) Reload network
# /etc/init.d/network reload
Here is a comment found in the kernel source code of OpenWrt:
/* * HW limitations for this switch: * - No large frame support (PKT_MAX_LEN at most 1536) * - Can't have untagged vlan and tagged vlan on one port at the same time, * though this might be possible using the undocumented PPE. */
So users of IPTV that would like to put the fonera between the ADSL modem and the video player (e.g. the freebox revolution) cannot do that as the port of the modem needs to be at the same time untagged for the internet traffic and tagged for IPTV (freebox: VLAN 100).