NeoRouterWiki:Install NeoRouter server for Fonera

From NeoRouterWiki

Jump to: navigation, search


How to install NeoRouter on La Fonera+

La Fonera+(FON2201) is a small, cheap and cute wireless device, which comes with the firmware 1.1.x . The hardware spec is as following:

  • System-On-Chip Atheros AR2315 / AR5006
  • CPU Speed 183 MHz
  • Flash size 8 MiB
  • RAM 16 MiB
  • Wireless Integrated Atheros 802.11b/g
  • Ethernet 1x RJ45
  • USB No
  • Serial Yes
  • JTAG No

Since La Fonera+ has less RAM, most foneras who want to install Fonera 2.0 firmware and NeoRouter Zero-Config VPN solution may come cross the similar issue. It's a tricky to convert your normal wireless router into a VPN server, but it's not hard actually. Just follow my instructions and you can do it.

1. Preparation

We need to prepare several files and software before getting started, as your computer may lost connection to the Internet during the process. We take Windows as an example.

a. The firmware images:

  • loader:
MD5: 48B471511907E582ECC0A3B40A174F64
  • failsafe image:    
  • Fonera 2.0 image:

we use the Caterpillar DEVELOPERS image, which enables the SSH by default.
MD5: 8526415082A2FE0CEBC8A73D73E26EDD

b. The Putty

c. The TFTP Server

d. The NeoRouter Server for Fonera 2.0 Firmware

The package contains the following files:

  • libuuid_1.40.11-1_mips.ipk
  • uclibcxx_0.2.2-1_mips.ipk
  • zlib_1.2.3-5_mips.ipk
  • libopenssl_0.9.8h-1_mips.ipk
  • neorouter-

NOTE: Because La Fonera+ cannot leave enough memory for other applications once the Fonera 2.0 firmware has been installed, installing the NeoRouter plugin for Fonera may cause your router reboot. So we provide .ipk packages and you must install them one by one manually.

2. Flash La Fonera+ firmware

By default, the La Fonera+ has a firmware 1.1.x installed. As the partition table is different from the fireware 2.0, we have to rebuild the partition table at least once.

a. unzip to c:\tftpd32.329

b. copy the following files to the folder c:\tftpd32.329


c. run tftpd32.exe and set up proper parameters Click on tab "DHCP server", inputs the following values, leave other fields blank and click on "Save" button to keep the settings.

      IP pool starting address :
      Size of pool : 100
      Boot File : loader.bin
      WINS/DNS Server :
      Default router :
      Mask :

d. set a static IP address to your network adapter Go to "Start" menu -> "Control Panel" -> "Network Connections" -> right click on "Local Area Connection" -> "Properties", set following parameters and click on "OK" to save the settings.

     Use static IP address :
     Subnet mask :

e. run "cmd" command and type in

      ping -t  

f. run Putty.exe and set up proper parameters

      Host Name :
      Connection type : Telnet
      Port : 9000

g. Power off the La Fonera+, use a cable connect your computer and the WAN (white) port on the La Fonera+

h. Power on the La Fonera+. Once you see the ping gets responsed, click on the "Open" button in the Putty.exe. By default you have 2 seconds, so it would be better to make Putty ready and pull the trigger once you see the first ping response message.

i. Now you can see the RedBoot prompt in the Putty.

j. Check the partition table. Especially FLASH addr, Memaddr and Entry point of loader, image and image2. Other values may be various in different deivces.

RedBoot> fis list
Name           FLASH addr Mem addr   Length     Entry point
RedBoot        0xA8000000 0xA8000000 0x00030000 0x00000000
loader         0xA8030000 0x80100000 0x00010000 0x80100000
image          0xA8040000 0x80040400 0x00420004 0x80040400
image2         0xA8660000 0xA8660000 0x00140000 0x80040400
FIS directory  0xA87E0000 0xA87E0000 0x0000F000 0x00000000
RedBoot config 0xA87EF000 0xA87EF000 0x00001000 0x00000000

k. If you have different partition table above, you may want to rebuild the partition table and flash images

RedBoot> fis init
RedBoot> load -r -b %{FREEMEMLO} loader.bin
RedBoot> fis create -e 0x80100000 -r 0x80100000 loader

RedBoot> load -r -b %{FREEMEMLO} 20090206_FON2202_failsafe.image
RedBoot> fis create -f 0xA8660000 image2

RedBoot> load -r -b %{FREEMEMLO} 20090217_FON2202_2.2.3.0_Caterpillar_developers.image
RedBoot> fis create image


The last step may take 25min. Don't power off your router while flashing. It downloads these files from the tftpd server and you can monitor the download process in the tftpd32.exe.

l. If you have the similar partition table above, you can simply flash the image.

RedBoot> load -r -b %{FREEMEMLO} 20090217_FON2202_2.2.3.0_Caterpillar_developers.image
RedBoot> fis create image

m. Once flashing firmware gets done, reboot the device.

RedBoot> fconfig boot_script_timeout 5
RedBoot> reset


We change the timeout from 2 seconds to 5 seconds. Before reboot, unplug all cables from the router and make sure no wireless adapter connected to the router. Or it goes to failsafe mode. The reason is La Fonera+ has half memory of La Fonera 2.

n. When reboot, the power light of La Fonera+ is orange. Wait until you see the power light off and on. It may take couple of seconds. Now, plugin your Internet cable to the WAN port. La Fonera+ is booting and exchange information with their server. The WAN light is green and blicking and the power light is orange. Wait until all lights become green.

We have to power off the router and unplug all cables, then do all steps again as above.


SSH will not work unless you reboot twice after flashing a new image.

o. Set your computer's network adapter to DHCP from the static IP address and plugin the cable to the LAN port of the La Fonera+.

p. Use Putty to log on to the La Fonera+( using SSH. By default user name is "root" and password is "admin".

3. Install NeoRouter server on the La Fonera+

a. Before installing, we need to make sure ~3MB RAM available on the La Fonera+. By default you may have less than 1MB RAM after Fonera 2.0 started. So we need to turn off some services manually. Or your router may reboot automatically when installing, as the installer may be lack of enough memory.

root@Fonera:~# killall fonstated
root@Fonera:~# killall fonsmcd
root@Fonera:~# killall pure-ftpd
root@Fonera:~# kill -9 1873 (this is the chilli process)
root@Fonera:~# killall lucittpd
mkdir /etc/init.d/bk
mv /etc/init.d/chillispot /etc/init.d/bk

b. Setup ftp server on your IIS and put all .ipk files to the C:\Interpub\ftproot folder

c. Install packages

    opkg install
    opkg install
    opkg install
    opkg install
    opkg install

d. After installation, the NeoRouter server is running automatically and listening at port 32976 by default.

e. It also installs a NeoRouter service to the Fonera Management Console. So you will see a NeoRouter logo on the services page.

4. Tips

  • How to reboot La Fonera+

From now on, whenever you start the router, you may want to follow the steps below; or you may see the wireless light and power light are orange and blinking, which means it goes to failsafe mode and you have to reboot it again.

1) Power off La Fonera+ and unplug all cables from it.

2) Power on La Fonera+ and the power light of La Fonera+ is orange.

3) Wait until the power light gets off and on. (It may take couple of seconds.) Then plug your Internet cable into the WAN port. La Fonera+ starts booting and exchange information with their server. The WAN light is green and blinking and the power light is orange.

4) Wait until all lights become green. Then you can use your cable connect your computer to the LAN port and use SSH to access to it.

5) As you may know, the new Management Console uses LUCI which is using more memory at the first run and it may cause your router reboot automatically when you browse If so, it should work after rebooting.

5. Reference links