User Tools

Site Tools


toh:fon:fonera2.0n

Fonera 2.0n (FON2303)

Flashing OpenWRT

1) Flash an official developer image.
1.1) Download the .tgz (latest is FON2202_2.3.7.1_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 root@192.168.10.1

3) Download the latest OpenWRT sysupgrade image into /tmp directory:

# cd /tmp
# wget -O openwrt.bin http://downloads.openwrt.org/chaos_calmer/15.05/ramips/rt305x/openwrt-15.05-ramips-rt305x-fonera20n-squashfs-sysupgrade.bin

4) Flash

# mtd -r write openwrt.bin image

Source: https://fonera.tsaitgaist.info/doku.php?id=flash2.0n#ssh.

To install LuCi interface after an upgrade:

# opkg update
# opkg install luci-ssl
# /etc/init.d/uhttpd start
# /etc/init.d/uhttpd enable

Fonera recovering

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

VLAN limitations

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).

toh/fon/fonera2.0n.txt · Last modified: 2015/11/09 07:49 by dllud