This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
la_fonera [2012/02/11 09:14] ispyisail created |
la_fonera [2015/09/01 21:30] (current) nworbnhoj [La Fonera] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | =====La Fonera===== | + | ====== La Fonera ====== |
+ | < | ||
+ | WARNING: This document may contain errors which may result in damage to your router. USE AT YOUR OWN RISK. | ||
+ | </ | ||
+ | |||
+ | ===== Introduction ===== | ||
The La Fonera is somewhat different than the other devices listed here. First, it uses an atheros wireless device, and second you must access the RedBoot bootloader to install OpenWrt/ | The La Fonera is somewhat different than the other devices listed here. First, it uses an atheros wireless device, and second you must access the RedBoot bootloader to install OpenWrt/ | ||
- | The easiest way to install on a La Fonera is to use the FonFlash utility available in the download section to automatically upload the firmware on to the router. | + | The easiest way to install on a La Fonera is to use the [[fon_flash|FonFlash]] utility available in the download section to automatically upload the firmware on to the router. |
Read the instructions below carefully before proceeding. For the purpose of these instructions it is assumed you are running linux (or another unix variant) on your local machine and that you have some knowledge of how to configure your network and network services. | Read the instructions below carefully before proceeding. For the purpose of these instructions it is assumed you are running linux (or another unix variant) on your local machine and that you have some knowledge of how to configure your network and network services. | ||
+ | |||
+ | ===== Install Firmware ===== | ||
+ | |||
+ | ==== Access the RedBoot ==== | ||
Before you can access the RedBoot bootloader, you have to " | Before you can access the RedBoot bootloader, you have to " | ||
Line 12: | Line 22: | ||
- [[http:// | - [[http:// | ||
- [[http:// | - [[http:// | ||
+ | ==== Update Redboot ==== | ||
Before you telnet into RedBoot bootloader you may need to put the following lines in your telnet configuration file on your local machine (~/ | Before you telnet into RedBoot bootloader you may need to put the following lines in your telnet configuration file on your local machine (~/ | ||
Line 21: | Line 32: | ||
Next, configure your local machine to have a static ip in the 192.168.1.* subnet other than 192.168.1.254. For the purposes of these instructions I will assume you have configured your local machine to ip 192.168.1.3, | Next, configure your local machine to have a static ip in the 192.168.1.* subnet other than 192.168.1.254. For the purposes of these instructions I will assume you have configured your local machine to ip 192.168.1.3, | ||
+ | ==== Local Web Server ==== | ||
The next step is to configure a webserver on your local machine. There are multiple web servers available -- any will do. Place both the .lzma and the .squashfs atheros image files in the root directory of your web server so that they can be accessed at http:// | The next step is to configure a webserver on your local machine. There are multiple web servers available -- any will do. Place both the .lzma and the .squashfs atheros image files in the root directory of your web server so that they can be accessed at http:// | ||
+ | ==== Telnet into Redboot ==== | ||
Now you are ready to telnet into Redboot. Reboot the Router and wait a few seconds, until the light in the middle starts flashing. Then open a new terminal and telnet into RedBoot by running " | Now you are ready to telnet into Redboot. Reboot the Router and wait a few seconds, until the light in the middle starts flashing. Then open a new terminal and telnet into RedBoot by running " | ||
Line 31: | Line 44: | ||
Then, hit Ctrl-C to halt the boot process. | Then, hit Ctrl-C to halt the boot process. | ||
+ | ==== Execute Install Commands ==== | ||
Once you are in, execute the commands listed below in the order listed below. Replace 192.168.1.3 on the first line with the ip of your local machine running the web server, if you configured it to have a different ip. Be aware that the "fis create" | Once you are in, execute the commands listed below in the order listed below. Replace 192.168.1.3 on the first line with the ip of your local machine running the web server, if you configured it to have a different ip. Be aware that the "fis create" | ||
+ | |||
+ | The length of the rootfs (6F0000) is calculated: | ||
+ | (start of fis directory) - (kernel size in hex) - (end of RedBoot)\\ | ||
+ | Check your flash partitions with "fis list" | ||
+ | For Gargoyle 1.4.7 the kernel is D0000, and I calculated: | ||
+ | A87E0000 - D0000 - A8030000 = 6E0000 (ymmv)\\ | ||
+ | so the value below has to be corrected for 1.4.7, else expect an error when creating the kernel part later. | ||
< | < |