Home
Articles
Fun with La Fonera
5 CircuitDB's firmware patch
Previous
1
2
3
4
5
6
A
Next
What does the patch bring you?
Our patch adds extra functionality to La Fonera's orginal firmware while keeping the internet sharing functions.
jh patch adds the following functionality:
- Enabled ssh server. It's accesible through both wireless networks and on WAN network.
- Disabled the serial console. This allows you to use the serial port for other purposes.
- Added setserial package and enabled stty in busybox config to change your serial port settings.
- OpenVPN server, for a Howto see page 6 of this article.
Download
Current version of our patch is jh-0.1 is tested on La Fonera Version 0.7.1 rev 5 source code. Our patch can be downloaded here: fonera-jh-0.2.patch or download the compiled firmware image here: fonera-jh-0.2.
Check appendix A for old versions and the changelog.
Compiling the firmware with a jh patch
Get the fonera source from:
Download the patch from www.CircuitDB.com:
and unpack it:
Make a directory to unpack the source code to:
Unpack the source into the new directory:
Read the README file and see that you need to have installed gcc, binutils, patch, bzip2, flex, bison,
make, gettext, pkg-config, unzip, libz-dev and libc headers.
So install them if required. I found out that g++ is also required so install that as well.
Apply the patch:
Now let's configure:
Even if you don't want to make any changes run make menuconfig then exit ans save when asked.
By default automatic updating is disabled. Read the next paragraph if you want to change it.
Compile with:
To get more output compile with:
Then all you need to do is flash your Fonera using the root.squashfs and vmlinuz.lzma files that can be found in bin/
About the automatic updates...
To enable automatic updating before compiling uncomment the last line in package/base-files/default/bin/thinclient. i.e. remove the '#':
It can also be done after installing on La Fonera, simply edit /bin/thinclient.
Previous
1
2
3
4
5
6
A
Next
Articles
Fun with La Fonera
5 CircuitDB's firmware patchFun with La Fonera
5 CircuitDB's firmware patch
What does the patch bring you?
Our patch adds extra functionality to La Fonera's orginal firmware while keeping the internet sharing functions.
jh patch adds the following functionality:
- Enabled ssh server. It's accesible through both wireless networks and on WAN network.
- Disabled the serial console. This allows you to use the serial port for other purposes.
- Added setserial package and enabled stty in busybox config to change your serial port settings.
- OpenVPN server, for a Howto see page 6 of this article.
Download
Current version of our patch is jh-0.1 is tested on La Fonera Version 0.7.1 rev 5 source code. Our patch can be downloaded here: fonera-jh-0.2.patch or download the compiled firmware image here: fonera-jh-0.2.
Check appendix A for old versions and the changelog.
Compiling the firmware with a jh patch
Get the fonera source from:
| # wget http://download.fon.com/firmware/fonera/latest/fonera.tar.bz2 |
Download the patch from www.CircuitDB.com:
| # wget http://www.circuitdb.com/fon/patches/fon-jh-<VERSION>-patch.tar.gz |
and unpack it:
| # tar -zxvf fon-jh-<VERSION>-patch.tar.gz |
Make a directory to unpack the source code to:
| # mkdir fon-src |
Unpack the source into the new directory:
| # cd fon-src
# tar -jxvf ../fonera.tar.bz2 |
Read the README file and see that you need to have installed gcc, binutils, patch, bzip2, flex, bison,
make, gettext, pkg-config, unzip, libz-dev and libc headers.
So install them if required. I found out that g++ is also required so install that as well.
Apply the patch:
| # patch -p1 < ../fonera-jh-<VERSION>.patch |
Now let's configure:
| # make menuconfig |
Even if you don't want to make any changes run make menuconfig then exit ans save when asked.
By default automatic updating is disabled. Read the next paragraph if you want to change it.
Compile with:
| # make |
To get more output compile with:
| # make V=99 |
Then all you need to do is flash your Fonera using the root.squashfs and vmlinuz.lzma files that can be found in bin/
About the automatic updates...
To enable automatic updating before compiling uncomment the last line in package/base-files/default/bin/thinclient. i.e. remove the '#':
| . /tmp/.thinclient.sh $1 |
It can also be done after installing on La Fonera, simply edit /bin/thinclient.


