http://wiki.openwrt.org/toh/fon/fonera2
The Fonera 2.0g is the sucessor of the Fonera+ offered by Fon. Its an Atheros AP51 reference design, features a two-port fast ethernet switch and a USB 2.0 host port. Fonera+ and Fonera 2.0g are based on same hardware design, former lacking USB and having less memory.
This model is not sold anymore and has been superseded by the RaLink SoC based Fonera 2.0n.
Version/Model | S/N | OpenWrt Version Supported | Model Specific Notes |
---|---|---|---|
Fonera+ (FON2201) | - | 8.09+ | No special issues |
Fonera 2.0g (FON2202) | - | 8.09+ | No special issues |
Model | CPU | Ram | Flash | Network | USB | Serial | JTag |
---|---|---|---|---|---|---|---|
Fonera+ (FON2201) | Atheros AR2315@180MHz | 16MiB | 8MiB | 1 x 1 | No | Yes | No |
Fonera 2.0g (FON2202) | Atheros AR2315@180MHz | 32MiB | 8MiB | 1 x 1 | Yes | Yes | No |
Access to Redboot is required for initial installation and recovery. The bootloader can be reached via serial cable or by telnet on port 9000. Not all shipped units have Redboot telnet enabled by default, a serial cable might be required. While writing to flash router will stop answering ping and you might lose telnet connection. Leave ping running and reconnect telnet when you receive answer. Be patient as writing to flash will take several minutes.
openwrt-atheros-vmlinux.lzma
and
openwrt-atheros-root.squashfs
to the TFTP directory
ip_address -l 192.168.1.1/24
ip_address -h 192.168.1.2
fis init
load -r -v -b 0x80041000 openwrt-atheros-vmlinux.lzma
fis create kernel
load -r -v -b 0x80041000 openwrt-atheros-root.squashfs
fis create rootfs
fconfig
fis load -l kernelexec
192.168.1.1
and "Local IP address mask" to
255.255.255.0
reset
openwrt-atheros-vmlinux.lzma
and
openwrt-atheros-root.squashfs
minicom -b 9600 -D /dev/ttyUSB0
baudrate -b 115200
Crtl+a p
fconfig
fis load -l kernelexec
fis init
load -m ymodem -r -v -b 0x80041000 openwrt-atheros-vmlinux.lzma
Ctrl+a s
fis create kernel
load -m ymodem -r -v -b 0x80041000 openwrt-atheros-root.squashfs
Ctrl+a s
fis create rootfs
reset
Some Fonera 2.0+ units don't have Redboot telnet access enabled by default, however it can be enabled by preforming the following steps:
ssh [email protected] /tmpwget ftp://downloads.linwin-solutions.com/hxcwyxwr/fonera_openwrt/FON2202_2.2.5.0_Flipper_RedBootC_VoteGOP.imageuci set registered.fonreg.dev=1uci committar cvzf sysupgrade.tgz /etc/passwd /etc/group /etc/dropbear /etc/samba/smbpasswd /etc/samba/secrets.tdb /etc/config/firewall /etc/config/upnpd /etc/config/umtsd /etc/config/registered /etc/config/gdata /etc/config/facebook /etc/config/flickr /etc/config/mountd /etc/config/fon /etc/config/ddns /etc/config/wizard /etc/pureftpd.pdb /etc/pureftpd.passwd /etc/config/luci_dlmanager /etc/config/twitter /etc/config/firewallmtd -j sysupgrade.tgz -r write FON2202_2.2.5.0_Flipper_RedBootC_VoteGOP.image imagereboot
ssh 192.168.10.1cd /tmpwget ftp://downloads.linwin-solutions.com/hxcwyxwr/fonera_openwrt/out.hexmtd -e "RedBoot config" write out.hex "RedBoot config"reboot
If you have already installed OpenWrt and like to reflash for e.g. upgrading to a new OpenWrt version you can upgrade using the sysupgrade utility. It is important that you put the firmware image into the ramdisk (/tmp) before you start flashing.
openwrt-atheros-combined.squashfs.img
file to LuCI
cd /tmp/ wget http://downloads.openwrt.org/latest/atheros/openwrt-atheros-combined.squashfs.img sysupgrade /tmp/openwrt-atheros-combined.squashfs.img
Architecture: MIPS |
Vendor: Accton/FON |
Bootloader: Redboot |
System-On-Chip: Atheros AR2315A |
CPU Speed: 180 Mhz |
Flash-Chip: MX 5L6405MC-20G |
Flash size: 8 MiB |
RAM: 32 MiB |
Wireless: Atheros AR2315A WiSoC 802.11b/g (integrated) |
Ethernet: Marvell 88E6060 Fast Ethernet Switch |
USB: NEC D72010 USB 2.0 Controller (1 Port) |
Serial: Yes |
JTAG: No |
Note: This will void your warranty!
Main PCB
Photo TBD
The serial pins are located on the right side of the PCB.
________________________.../ [ eth ] [ eth ] [usb]| _________| | || | 88E6060 ||[VC] |_________||[TX]|[RX] ________|[GD] | || | AR2315 || |________|... |
Serial ports settings are 9600@8n1.
The default network configuration is:
Interface Name | Description | Default configuration |
---|---|---|
br-lan | LAN & WiFi | 192.168.1.1/24 |
eth0.1 | LAN port (black) | Static |
eth0.2 | WAN port (white) | DHCP |
wifi0 | WiFi | Disabled |
Because the FON2201/FON2202 has a build-in VLAN switch, unlike the FON2100. Connecting a VLAN trunk is a little different than usual. If you for example connect a trunk to the LAN port (eth0.1), then to access VLAN 5 on the trunk, you need the specify the device eth0.1.5 - Not eth0.5.
This practice is called double VLAN tagging. It usual requires that the MTU is lowered with 4 bytes. This is however not necessary on the FON2201/FON2202.
There is only one button, reset, at the bottom of the device.
BUTTON | Event |
---|---|
Reset | reset |
The USB host controller suffers from a hardware bug, it will crash if a USB 1.1 device is attached. A workaround is putting a powered hub between the USB host and the device.