User Tools

Site Tools


toh:fon:fonera2.0n

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

toh:fon:fonera2.0n [2013/07/10 14:27]
toh:fon:fonera2.0n [2014/03/22 15:41] (current)
Line 1: Line 1:
  
 ===== Fonera 2.0N (2303A) ===== ===== Fonera 2.0N (2303A) =====
 +
 +=== Flashing firmware ===
  
 To prepare the Fonera2.0N with OpenWRT 12.09 flash the image [[http://​downloads.openwrt.org/​attitude_adjustment/​12.09/​ramips/​rt305x/​openwrt-ramips-rt305x-fonera20n-squashfs-sysupgrade.bin|openwrt-ramips-rt305x-fonera20n-squashfs-sysupgrade.bin]] as it is described here: https://​fonera.tsaitgaist.info/​doku.php?​id=flash2.0n#​ssh. To prepare the Fonera2.0N with OpenWRT 12.09 flash the image [[http://​downloads.openwrt.org/​attitude_adjustment/​12.09/​ramips/​rt305x/​openwrt-ramips-rt305x-fonera20n-squashfs-sysupgrade.bin|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
 + 
 +=== Fonera recovering ===
 +
 +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
 +
 +=== VLAN limitations ===
 +
 +Here is a comment found in the [[https://​gitorious.org/​lanedo/​openwrt/​source/​427ef7aa47ecfbb4b8961de4723a3d8b3e892ab2:​target/​linux/​ramips/​files/​drivers/​net/​ethernet/​ramips/​ramips_esw.c|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.1373459266.txt.bz2 · Last modified: 2013/07/10 14:27 (external edit)