I’m a Fonero

on
Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn

and even more a free fonero…

I finally found time to hack my La Fonera (www.fon.com), of course I don’t want/plan to replace the firmware of my La Fonera, it would be an injustice to install a relgular OpenWRT firmware on it, I had to do it because I’d modify the dns search of the lan and the dns provided by the dhcp from this small box.

As I have the 0.7.1 rev 3 version of the firmware, many of the hacks around the Internet are not working, but I used the method called Kolofonium. It was pretty easy, but my two big problems were :

1. My firewall was to restrictive
2. It was impossible to reset the La Fonera

To reset the La Fonera, on the Internet or in magazines (see Linux Magazine France 94) they talk always about 20 or 30 seconds… don’t take care of the delay, press the reset button untill the WLAN Led goes off… it can takes more than one minute !!
But even so I wasn’t capable to reset completely my La Fonera… the private SID and keys were always the same even after more than 10 resets :’-(

But now I’m happy my La Fonera works perfectly as I would it !

Why did I change something ?

Because my La Fonera is connected to my LAN and not directly to my Internet connection. and to have more comfortable use on the clients connected to the private WLAN, I had to change those dns/dhcp settings.

What did I change on it ?

Of course the possibility to reconnect to it from ssh :

root@OpenWrt:~# mv /etc/init.d/dropbear /etc/init.d/S50dropbear

and uncomment these two lines in /etc/firewall.user :

iptables -t nat -A prerouting_rule -i $WAN -p tcp --dport 22 -j ACCEPT
iptables        -A input_rule      -i $WAN -p tcp --dport 22 -j ACCEPT

Then I modify in /etc/dnsmasq.conf :

domain=maladree.be
dhcp-option=6,192.168.14.1

The last line is to define the dns server(s) from the dhcp of the La Fonera.

Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn

Leave a Reply

Your email address will not be published. Required fields are marked *

recent

Last Tweets Last Tweets

Locations of visitors to this page
categories