« Previous | Next»

Safe Updating La Fonera to 0.7.1.3

Posted by coldtobi | 15 Apr, 2007, 12:13

Now, fon released another update for "La Fonera": The Company tries to auto-update to 0.7.1.3

In this article, I'll try give a more in-depth look at the changes in the upgraded firmware, and show how to safely update to this version.

For the impatient

The update will not disable ssh, and/or fix any "security/liberty" holes. However, it will reactivate the automatic updates, so backup your /bin/thinclient or make sure to repatch it after your're done. 

Updating 

As procedure for the updates is the same as in the earlier version, I suggest you read this article.

Heres the md5 sum of the new update -- just to make sure, you get the same version:

4f93ebd027f1a5925df7487f7eec779b  upgrade.fon

If your md5sum differs, be cautionous! If the md5 is ok, it is safe to execute the update:

cd /tmp

wget http://download.fon.com/firmware/update/0.7.1/2/upgrade.fon

/bin/fonverify /etc/public_fon_rsa_key.der /tmp/upgrade.fon

Don't forget to restore your thinclient. (I'll take a look later at the changes and will patch this file to reflect the changes. But to play safe, we'll use the old version till then.) 

Anzeige

Analyzing the changes

The following files has been changed from 0.7.1 r2 t r3: 

/bin/thinclient

/etc/banner /etc/fon_revision  /etc/functions.sh /etc/init.d/N45ntpclient

/usr/bin/haserl /usr/lib/qos.sh /usr/lib/webif/validate.awk

/www/cgi-bin/webif/* (everthing in this directory)

Lets look take a look at the files:

/bin/thinclient -- The changes just simpliefies the old version and the MAC of the ethernet plug is extraced a little more robust. However, the automatic update will be reenabled.

/etc/banner, /etc/fon_revision -- Changes just reflects the new version number

/etc/functions.sh --  Small changes. I did not analyze the purpose, but this changes will not lock the fonera.

/etc/init.d/N45ntpclient -- The changelog mentions "bugfixing the ntp server selection". Before it often did not work, so this fixes are really nice to have.

/bin/haserl, /usr/lib/webif/validate.awk -- The "haserl" script. As I could not find the (updated) GPL code, and did only look at the binary, only one guess: This is a part of the "some people need special chars for PPoE"-Fix. The new chars are "&" and "%". Same for the validate.awk. 

/usr/lib/qos.sh -- They say, there were problems with the upload bandwith thottleing. They fixed it here.

/www/cgi-bin/webif/* -- Some handling changed. The "Submit"-String has been replaced by "@TR<<Submit>>". This can be related to the Asian Language fix, but not further evaluated. In adv_pf.sh, one can find the fix for the bug regarding deletion of the forwarding rules. 

Conclusion:

This time, the changelog was complete. It is safe to apply the patch, but take care about the /bin/thinclient.

La Fonera | Comments (0) | Trackbacks (0)

Related Articles:

0 Comments | "Safe Updating La Fonera to 0.7.1.3" »

Add comment

 

 This is the ReCaptcha Plugin for Lifetype

Due to German legislation, all comments are moderated. If you get NO error message, your comment is accepted by the system and will be released at the earliest opportunity. Sorry for the inconvenience this might cause.

Inappropiate comments might be edited or not accepted.