To prepare the Fonera2.0N with OpenWRT 12.09 flash the image openwrt-ramips-rt305x-fonera20n-squashfs-sysupgrade.bin as it is described here: 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
FON2303 use the bootloader u-boot (FON2202 uses RedBoot). \ If the fonera stopped 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).