<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>An It-Slave in the digital saltmine &#187; Fon</title>
	<atom:link href="http://www.it-slav.net/blogs/category/fon/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.it-slav.net/blogs</link>
	<description>Another Blog from a Geek that has no life</description>
	<lastBuildDate>Tue, 10 Jan 2012 20:27:48 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Anonymise a network segment using TOR and OpenBSD</title>
		<link>http://www.it-slav.net/blogs/2012/01/10/anonymise-a-network-segment-using-tor-and-openbsd/</link>
		<comments>http://www.it-slav.net/blogs/2012/01/10/anonymise-a-network-segment-using-tor-and-openbsd/#comments</comments>
		<pubDate>Tue, 10 Jan 2012 20:27:48 +0000</pubDate>
		<dc:creator>peter</dc:creator>
				<category><![CDATA[bash]]></category>
		<category><![CDATA[Cool things]]></category>
		<category><![CDATA[Fon]]></category>
		<category><![CDATA[Geek stuff]]></category>
		<category><![CDATA[Hints]]></category>
		<category><![CDATA[it-slav.net]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[The Onion Router]]></category>
		<category><![CDATA[Tor]]></category>

		<guid isPermaLink="false">http://www.it-slav.net/blogs/?p=2067</guid>
		<description><![CDATA[Background I&#160;have a FON&#160;router which allow anyone to connect to Intenet via my network connection. I&#160;like the openess and idea behind FON but I&#160;do not want to get in trouble if someone do bad things and using my network connection. One solution is to connect the FON&#160;accesspoint to a separate network segment and let all [...]]]></description>
			<content:encoded><![CDATA[<h2>Background</h2>
<p>I&nbsp;have a FON&nbsp;router which allow anyone to connect to Intenet via my network connection. I&nbsp;like the openess and idea behind FON but I&nbsp;do not want to get in trouble if someone do bad things and using my network connection.</p>
<p>One solution is to connect the FON&nbsp;accesspoint to a separate network segment and let all traffic from that network go through TOR, the onion router.&nbsp;</p>
<p>Another feature is when I want to be anonymous on Internet I plugin my computer to that network segment.</p>
<p><span id="more-2067"></span></p>
<h2>Setup</h2>
<p>I use OpenBSD as my firewall and the first step is to download, compile and configure TOR.&nbsp;I&nbsp;downloaded the tarball from https://www.torproject.org and used the normal procedure:</p>
<pre># wget https://www.torproject.org/dist/tor-0.2.2.35.tar.gz

# tar xzvf tor-0.2.2.35.tar.gz 

# cd tor-0.2.2.35                                                                                                                                                                

# ./configure&amp;&amp;make&amp;&amp;make install</pre>
<p>&nbsp;</p>
<h2>Configure pf</h2>
<p>I use a specific ethernet interface, fxp0, which will route all traffic into tor.&nbsp;</p>
<p>&nbsp;</p>
<pre>--cut from /etc/pf.conf--

#Tor traffic

tor_if =&quot;fxp0&quot;

# Tor&#39;s TransPort

trans_port = &quot;9040&quot;

pass in quick on $tor_if inet proto udp to port domain rdr-to 127.0.0.1 port 5300 

pass in quick on $tor_if inet proto { tcp udp } to !($tor_if) rdr-to 127.0.0.1 port $trans_port

--end cut--</pre>
<h2>&nbsp;</h2>
<h2>Configure tor</h2>
<p>&nbsp;</p>
<pre># cat /usr/local/etc/tor/torrc

VirtualAddrNetwork 10.192.0.0/10

AutomapHostsOnResolve 1

TransPort 9040

DNSPort 5300

Log notice syslog

#Log debug stderr

RunAsDaemon 1</pre>
<p>&nbsp;</p>
<p>Note: I know that best practice is to let the tor process run as non root user. That requires read access to /dev/pf and I did not bother to get it working.</p>
<p>&nbsp;</p>
<h2>Dhcpd config</h2>
<p>I assume that a OpenBSD sysadmin knows how to setup dhcpd so I will just show the config addon I did to /etc/dhcpd.conf.</p>
<p>&nbsp;</p>
<pre>shared-network tor-net {

        option  domain-name &quot;it-slav-tor-net&quot;;

        option  domain-name-servers 10.1.2.1;

        option  ntp-servers 10.1.2.1;

        subnet 10.1.2.0 netmask 255.255.255.0 {

                option routers 10.1.2.1;

                range 10.1.2.100 10.1.2.200;

        }</pre>
<p>&nbsp;</p>
<p>The ip-adress of the fxp0 interface is 10.1.2.1</p>
<p>&nbsp;</p>
<h2>Start tor</h2>
<p>&nbsp;</p>
<pre># /usr/local/bin/tor

Jan 10 20:52:48.880 [notice] Tor v0.2.2.35 (git-b04388f9e7546a9f). This is experimental software. Do not rely on it for strong anonymity. (Running on OpenBSD i386)

Jan 10 20:52:48.885 [warn] It&#39;s a little hard to tell, but you seem to have Libevent 1.4.0-beta header files, whereas you have linked against Libevent 1.4.14b-stable.  This will probably make Tor crash.

Jan 10 20:52:48.886 [notice] Initialized libevent version 1.4.14b-stable using method kqueue. Good.

Jan 10 20:52:48.886 [notice] Opening Socks listener on 127.0.0.1:9050

Jan 10 20:52:48.887 [notice] Opening Transparent pf/netfilter listener on 127.0.0.1:9040

Jan 10 20:52:48.887 [notice] Opening DNS listener on 127.0.0.1:5300</pre>
<p>&nbsp;</p>
<h2>Final step</h2>
<p>Plugin your fon router and enjoy!</p>
<p>&nbsp;</p>
<h2>Links</h2>
<p>The hints to this article was found at:</p>
<ul>
<li><a href="https://trac.torproject.org/projects/tor/wiki/TheOnionRouter/TransparentProxy " target="_blank">&nbsp;https://trac.torproject.org/projects/tor/wiki/TheOnionRouter/TransparentProxy&nbsp;</a></li>
</ul>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.it-slav.net%2Fblogs%2F2012%2F01%2F10%2Fanonymise-a-network-segment-using-tor-and-openbsd%2F&amp;title=Anonymise%20a%20network%20segment%20using%20TOR%20and%20OpenBSD" id="wpa2a_2"><img src="http://www.it-slav.net/blogs/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.it-slav.net/blogs/2012/01/10/anonymise-a-network-segment-using-tor-and-openbsd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Howto use rndis device in Openwrt as a modem, i.e HTC Desire with Android</title>
		<link>http://www.it-slav.net/blogs/2010/07/02/howto-use-rndis-device-in-openwrt-as-a-modem-i-e-htc-desire-with-android/</link>
		<comments>http://www.it-slav.net/blogs/2010/07/02/howto-use-rndis-device-in-openwrt-as-a-modem-i-e-htc-desire-with-android/#comments</comments>
		<pubDate>Fri, 02 Jul 2010 07:33:08 +0000</pubDate>
		<dc:creator>peter</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[Cool things]]></category>
		<category><![CDATA[english]]></category>
		<category><![CDATA[Fon]]></category>
		<category><![CDATA[htc desire]]></category>
		<category><![CDATA[Linksys WRT160NL]]></category>
		<category><![CDATA[openwrt]]></category>
		<category><![CDATA[rndis]]></category>

		<guid isPermaLink="false">http://www.it-slav.net/blogs/?p=1840</guid>
		<description><![CDATA[Background I wanted to use a 3G dongle with a twin SIM&#160;card as my Internet connection when I&#8217;m traveling. I&#160;have earlier decribed howto share the Internet connection and make it more flexible by using an OpenWRT&#160;router with USB&#160;interface as a bridge between Wlan and 3G/GPRS provided internet. Unfortunatly Tele2s support personel cannot keep track of [...]]]></description>
			<content:encoded><![CDATA[<h2>Background</h2>
<p>I wanted to use a 3G dongle with a twin SIM&nbsp;card as my Internet connection when I&#8217;m traveling. I&nbsp;have <a href="http://www.it-slav.net/blogs/2010/06/12/howto-use-3g-dongle-huawei-e1750-in-openwrt/">earlier</a> decribed howto share the Internet connection and make it more flexible by using an OpenWRT&nbsp;router with USB&nbsp;interface as a bridge between Wlan and 3G/GPRS provided internet.</p>
<p>Unfortunatly <a href="http://www.tele2.se">Tele2s</a> support personel cannot keep track of the unlogical rules among their different subscriptions so they fouled my to buy a twincard to my regular subscription and use that for data. After a couple of more calls to Tele2, including that they listened to a recording of when I&nbsp;ordered the twincard I&nbsp;have to give up that track because it was not possible. The twincard only works for phone calls, not data connections and especially not when I had a flatrate subscription on my master SIM&nbsp;card.</p>
<p>After some investigation I&nbsp;came to the conclusion that I&nbsp;have to use my Regular phone, a HTC&nbsp;Desire with Android as my connection to internet.</p>
<p>Unfortunatly the work done with getting the USB&nbsp;3G&nbsp;dongle was a waste of time.</p>
<p>&nbsp;<span id="more-1840"></span></p>
<h2>PreReq</h2>
<p>An OpenWRT&nbsp;router with a working USB&nbsp;interface and a rndis enabled modem, I use a HTC&nbsp;Desire.</p>
<p>&nbsp;</p>
<h2>Installation</h2>
<p>root@WRT160NL:~# opkg install kmod-usb-net-rndis</p>
<p>I also installed some USB&nbsp;packages, probably not all of them are necessery:</p>
<pre>
root@WRT160NL:~#opkg install kmod-ar9170 kmod-usb-acm kmod-usb-core kmod-usb-ohci kmod-usb-serial comgt
kmod-usb-serial-option kmod-usb-storage kmod-usb-uhci kmod-usb2&nbsp; usb-switch</pre>
<p>&nbsp;</p>
<p>Add the following to /etc/config/network</p>
<pre>
config 'interface' 'usb0'
    option 'name' 'usb0'
    option 'proto' 'dhcp'
    option 'ifname' 'usb0'
    option 'defaultroute' '0'
    option 'peerdns' '0'
 </pre>
<p>Use the same firewall rules with your 3G connection as your normal WLAN, add the yellow marked line to /etc/config/firewall:</p>
<pre>
config 'zone'
    option 'name' 'wan'
    option 'input' 'REJECT'
    option 'output' 'ACCEPT'
    option 'forward' 'REJECT'
    option 'masq' '1'
    option 'mtu_fix' '1'
<span style="background-color: rgb(255, 255, 0);">    option 'network' 'wan usb0 ppp0'</span></pre>
<p>
Do a reboot<br />
&nbsp;</p>
<h2>Test</h2>
<p>To use your new connection, run ifup</p>
<pre>
root@WRT160NL:~# ifup usb0
udhcpc (v1.15.3) started
root@OpenWrt:~# Sending discover...
Sending select for 192.168.100.100...
Lease of 192.168.100.100 obtained, lease time 864000
udhcpc: ifconfig usb0 192.168.100.100 netmask 255.255.255.0 broadcast +
udhcpc: setting default routers: 192.168.100.254
udhcpc: setting dns servers: 192.168.100.254

root@WRT160NL:~# ping www.google.com
PING www.google.com (74.125.39.104): 56 data bytes
64 bytes from 74.125.39.104: seq=0 ttl=51 time=371.025 ms
64 bytes from 74.125.39.104: seq=1 ttl=51 time=388.617 ms
64 bytes from 74.125.39.104: seq=2 ttl=51 time=316.767 ms
^C
--- www.google.com ping statistics ---
4 packets transmitted, 3 packets received, 25% packet loss
round-trip min/avg/max = 316.767/358.803/388.617 ms
</pre>
<p>Shutdown the connection with ifdown</p>
<pre>
root@WRT160NL:~# ifdown usb0</pre>
<p>
&nbsp;</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.it-slav.net%2Fblogs%2F2010%2F07%2F02%2Fhowto-use-rndis-device-in-openwrt-as-a-modem-i-e-htc-desire-with-android%2F&amp;title=Howto%20use%20rndis%20device%20in%20Openwrt%20as%20a%20modem%2C%20i.e%20HTC%20Desire%20with%20Android" id="wpa2a_4"><img src="http://www.it-slav.net/blogs/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.it-slav.net/blogs/2010/07/02/howto-use-rndis-device-in-openwrt-as-a-modem-i-e-htc-desire-with-android/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Install OpenWRT on LaFonera 2.0G router, FON2202</title>
		<link>http://www.it-slav.net/blogs/2010/06/28/install-openwrt-on-lafonera-2-0g-router-fon2202/</link>
		<comments>http://www.it-slav.net/blogs/2010/06/28/install-openwrt-on-lafonera-2-0g-router-fon2202/#comments</comments>
		<pubDate>Mon, 28 Jun 2010 19:18:40 +0000</pubDate>
		<dc:creator>peter</dc:creator>
				<category><![CDATA[Cool things]]></category>
		<category><![CDATA[english]]></category>
		<category><![CDATA[Fon]]></category>
		<category><![CDATA[Geek stuff]]></category>
		<category><![CDATA[openwrt]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[2.0G]]></category>
		<category><![CDATA[2202]]></category>
		<category><![CDATA[LaFonera]]></category>

		<guid isPermaLink="false">http://www.it-slav.net/blogs/?p=1872</guid>
		<description><![CDATA[&#160; Background After waiting for the Hummingbird release for the LaFonera 2.0G a long time and discussed with the Fon support team when 3G&#160;dongles will work, I&#160;gave up and installed OpenWRT on my LaFonera 2.0G router. &#160; I&#8217;m sorry FON, you have a cool idea and nice routers but your unlogical approach to the users [...]]]></description>
			<content:encoded><![CDATA[<p>&nbsp;</p>
<h2>Background</h2>
<p>After waiting for the <a href="http://blog.fonosfera.org/fly-baby-fly-gari-the-hummingbird-is-born/">Hummingbird</a> release for the LaFonera 2.0G a long time and discussed with the Fon support team when 3G&nbsp;dongles will work, I&nbsp;gave up and installed OpenWRT on my LaFonera 2.0G router.</p>
<p>&nbsp;</p>
<p>I&#8217;m sorry FON, you have a cool idea and nice routers but your unlogical approach to the users and communtity, finally got me to install plain OpenWRT instead.</p>
<p>&nbsp;</p>
<h2>Installation</h2>
<p>After alot of googling and testing and downloading, reading and so on, I&nbsp;finally run into a <a href="http://linwin-solutions.com/index.php?option=com_blog&amp;view=comments&amp;pid=1&amp;Itemid=0" target="_blank">guide</a> that worked for me.</p>
<p>Most of the descriptions and howto assumes that the RedBoot will accept to download a new firmware via TFTP, this is true with the early releases of 2.0G , but the one sold now do not have this feature.</p>
<p>The trick is to install a firmware that allows changing the RedBoot partition of the memory, change the RedBoot parttion and install OpenWRT&nbsp;via TFTP.</p>
<p>&nbsp;</p>
<p>The guide is unfortunatly in French, but google translate helped me to <a href="http://translate.google.se/translate?u=http%3A%2F%2Flinwin-solutions.com%2Findex.php%3Foption%3Dcom_blog%26view%3Dcomments%26pid%3D1%26Itemid%3D0&amp;sl=fr&amp;tl=en&amp;hl=&amp;ie=UTF-8">translate it</a> to English.</p>
<p>
The pitfalls I&nbsp;run into is to reboot the device several timesafter installing the hacked version of FON&nbsp;firmware: FON2202_2.2.5.0_Flipper_RedBootC_VoteGOP.image</p>
<p>The only difference is that I used a later version of <a href="http://www.openwrt.org">OpenWRT</a>. I used Backfire <a href="http://downloads.openwrt.org/backfire/10.03/atheros/">10.03</a> instead of Kamikaze <a href="ftp://downloads.linwin-solutions.com/hxcwyxwr/fonera_openwrt/fon-flash-linux/">8.9.1</a></p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.it-slav.net%2Fblogs%2F2010%2F06%2F28%2Finstall-openwrt-on-lafonera-2-0g-router-fon2202%2F&amp;title=Install%20OpenWRT%20on%20LaFonera%202.0G%20router%2C%20FON2202" id="wpa2a_6"><img src="http://www.it-slav.net/blogs/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.it-slav.net/blogs/2010/06/28/install-openwrt-on-lafonera-2-0g-router-fon2202/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Finally it has arrived, my HTC Desire</title>
		<link>http://www.it-slav.net/blogs/2010/04/30/finally-it-has-arrived-my-htc-desire/</link>
		<comments>http://www.it-slav.net/blogs/2010/04/30/finally-it-has-arrived-my-htc-desire/#comments</comments>
		<pubDate>Fri, 30 Apr 2010 18:09:22 +0000</pubDate>
		<dc:creator>peter</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[asterisk]]></category>
		<category><![CDATA[Cool things]]></category>
		<category><![CDATA[english]]></category>
		<category><![CDATA[Fon]]></category>
		<category><![CDATA[Geek stuff]]></category>
		<category><![CDATA[Hints]]></category>
		<category><![CDATA[op5 Monitor]]></category>
		<category><![CDATA[htc desire]]></category>

		<guid isPermaLink="false">http://www.it-slav.net/blogs/?p=1740</guid>
		<description><![CDATA[After waiting for several weeks, my new phone, a HTC Desire has finally arrived. I have been a heavy cellphone user since started working as a Tivoli consultant in -98. I bought my first cellphone -94 and have had several so called smart phones both from Nokia and Ericsson. &#160; For the first time I [...]]]></description>
			<content:encoded><![CDATA[<p>After waiting for several weeks, my new phone, a HTC Desire has finally arrived. I have been a heavy cellphone user since started working as a Tivoli consultant in -98. I bought my first cellphone -94 and have had several so called smart phones both from Nokia and Ericsson.</p>
<p>&nbsp;</p>
<p>For the first time I felt that this is more than a phone, for the first time calender integration works, for the first time I can use the builtin GPS, for the first time accessing the web with a phone works, for the first time downloaded software really works.</p>
<p>&nbsp;<span id="more-1740"></span></p>
<p>&nbsp;</p>
<p>My favorite apps so far is:</p>
<ul>
<li>Nagroid, to be able to view my <a href="http://www.op5.com/op5/products/network-monitor">op5 Monitor</a> status</li>
<li>FONMaps, find hotspots for LaFoneras</li>
<li>Car Cast, listen and download podcasts</li>
<li>MapDroid, to use preloaded OpenStreetmaps and GPS without using any bandwidth. Perfect when abroad because of the crazy price of data roaming outside Sweden.</li>
<li>HTC&nbsp;Facebook, read and post on facebook</li>
<li>FON&nbsp;Access, automatically connect to FON&nbsp;hotspots when traveling.</li>
<li>GPS Logger, logg tracks in gpx format that almost any GPS software understand</li>
<li>Sipdroid, to connect to my Asterisk PBX using 3G or WiFi</li>
</ul>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>Of&nbsp; cource the device is not perfect, I miss:</p>
<ul>
<li>The phone must be &#8216;rooted&#8217; to be real useful, why? Open the phone so the community and others can develop apps that are real useful. Vendor lock-in always sucks.</li>
<li>IPSec VPN so I&nbsp;can connect to my IPSec based OpenBSD firewall. The IPSec implementation in the phone sucks.</li>
<li>OpenVPN, there exists OpenVPN&nbsp;apps but to use the the phone must be &#8216;rooted&#8217;</li>
<li>Bluetooth modem, it is not possible to use the phone as a modem using bluetooth</li>
<li>Screenshots, the phone must be rooted or using the SDK to take screenshoots. Why?</li>
</ul>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>I really hope that Google and/or HTC understand and use the power of the community to make the Android even more succesfull by open it even more.</p>
<p>&nbsp;</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.it-slav.net%2Fblogs%2F2010%2F04%2F30%2Ffinally-it-has-arrived-my-htc-desire%2F&amp;title=Finally%20it%20has%20arrived%2C%20my%20HTC%20Desire" id="wpa2a_8"><img src="http://www.it-slav.net/blogs/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.it-slav.net/blogs/2010/04/30/finally-it-has-arrived-my-htc-desire/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Installing Developer Firmware on Fonera router</title>
		<link>http://www.it-slav.net/blogs/2010/03/29/installing-developer-firmware-on-fonera-router/</link>
		<comments>http://www.it-slav.net/blogs/2010/03/29/installing-developer-firmware-on-fonera-router/#comments</comments>
		<pubDate>Mon, 29 Mar 2010 20:11:39 +0000</pubDate>
		<dc:creator>peter</dc:creator>
				<category><![CDATA[Cool things]]></category>
		<category><![CDATA[english]]></category>
		<category><![CDATA[Fon]]></category>
		<category><![CDATA[Geek stuff]]></category>
		<category><![CDATA[Hints]]></category>
		<category><![CDATA[sysadmin]]></category>

		<guid isPermaLink="false">http://www.it-slav.net/blogs/?p=1705</guid>
		<description><![CDATA[Background I bought a Fonera 2.0g WLAN router and I wanted to extend the functionality to have the possibility to add packages from OpenWRT. I also wanted the possibility to manage my new router with ssh. The way to achive this is by installing developer firmware. &#160; &#160; &#160; Installing I followed the instructions at [...]]]></description>
			<content:encoded><![CDATA[<h3>Background</h3>
<p>I bought a Fonera 2.0g WLAN router and I wanted to extend the functionality to have the possibility to add <a href="http://downloads.openwrt.org/kamikaze/8.09/atheros/packages/">packages</a> from OpenWRT. I also wanted the possibility to manage my new router with ssh.</p>
<p>The way to achive this is by installing developer firmware.</p>
<h3><span id="more-1705"></span></h3>
<h3>&nbsp;</h3>
<h3>&nbsp;</h3>
<h3>&nbsp;</h3>
<h3>Installing</h3>
<p>I followed the instructions at Fons beta/developer <a href="http://wiki.fon.com/wiki/Fon-ng:_Get_Involved">wiki</a>.</p>
<p>The image I used can be found <a href="http://download.fonosfera.org/RC/20090713_FON2202_2.2.6.0_rc5_DEV.tar.gz">here</a>.</p>
<h3>&nbsp;</h3>
<h3>&nbsp;</h3>
<h3>&nbsp;&nbsp;</h3>
<h3>Test</h3>
<p>I try to connect by using ssh</p>
<pre>
peter@peter-laptop:~$ ssh -l root 192.168.10.1
root@192.168.10.1's password: 

BusyBox v1.11.1 (2009-04-17 12:45:57 CEST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

                                        __
                                    _.-~  )
                         _..--~~~~,'   ,-/     _
                      .-'. . . .'   ,-','    ,' )
                    ,'. . . _   ,--~,-'__..-'  ,'
                  ,'. . .  (@)' ---~~~~      ,'
                 /. . . . '~~             ,-'
                /. . . . .             ,-'
               ; . . . .  - .        ,'
              : . . . .       _     /
             . . . . .          `-.:
            . . . ./  - .          )
           .  . . |  _____..---.._/ ____ Seal _
     ~---~~~~----~~~~             ~~                

                      Flipper                       

--------  Fonera 2.0 Firmware (v2.2.5.0) -----------
      * Based on OpenWrt - http://openwrt.org
      * Powered by FON - http://www.fon.com
----------------------------------------------------</pre>
<div>&nbsp;</div>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.it-slav.net%2Fblogs%2F2010%2F03%2F29%2Finstalling-developer-firmware-on-fonera-router%2F&amp;title=Installing%20Developer%20Firmware%20on%20Fonera%20router" id="wpa2a_10"><img src="http://www.it-slav.net/blogs/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.it-slav.net/blogs/2010/03/29/installing-developer-firmware-on-fonera-router/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Install SNMP on OpenWRT</title>
		<link>http://www.it-slav.net/blogs/2010/03/23/install-snmp-on-openwrt/</link>
		<comments>http://www.it-slav.net/blogs/2010/03/23/install-snmp-on-openwrt/#comments</comments>
		<pubDate>Tue, 23 Mar 2010 20:30:47 +0000</pubDate>
		<dc:creator>peter</dc:creator>
				<category><![CDATA[Cool things]]></category>
		<category><![CDATA[english]]></category>
		<category><![CDATA[Fon]]></category>
		<category><![CDATA[Geek stuff]]></category>
		<category><![CDATA[LaFonera]]></category>
		<category><![CDATA[openwrt]]></category>
		<category><![CDATA[snmp]]></category>

		<guid isPermaLink="false">http://www.it-slav.net/blogs/?p=1686</guid>
		<description><![CDATA[&#160; When using a cool router software like OpenWRT it is a good idea to monitor the network usage. This article describe howto get SNMP&#160;on your OpenWRT&#160;based router. &#160; &#160; 1. Install The easiest way is to use the webgui, http://&#60;your router ip&#62; Log in as root/-&#60;your password&#62; Click on Adminstrator to enable the Advnced [...]]]></description>
			<content:encoded><![CDATA[<p>&nbsp;</p>
<p>When using a cool router software like OpenWRT it is a good idea to monitor the network usage. This article describe howto get SNMP&nbsp;on your OpenWRT&nbsp;based router.</p>
<h2>&nbsp;<span id="more-1686"></span></h2>
<h2>&nbsp;</h2>
<h2>1. Install</h2>
<p>The easiest way is to use the webgui, http://&lt;your router ip&gt;</p>
<ol>
<li>Log in as root/-&lt;your password&gt;</li>
<li>Click on Adminstrator to enable the Advnced menues</li>
<li>System-&gt;Software</li>
<li>Click on &quot;Update Package List&quot; (this require Internet access).</li>
<li>Install snmpd-static</li>
</ol>
<p>&nbsp;</p>
<h3>&nbsp;</h3>
<h3>&nbsp;</h3>
<h3>2. Configure</h3>
<p>Log in to the La Fonera using ssh:</p>
<pre>
peter@peter-laptop:~$ ssh -l root 192.168.0.159
root@192.168.0.159's password:

BusyBox v1.11.2 (2009-12-02 11:25:47 UTC) built-in shell (ash)
Enter 'help' for a list of built-in commands.

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 KAMIKAZE (8.09.2, r18961) -------------------------
  * 10 oz Vodka       Shake well with ice and strain
  * 10 oz Triple sec  mixture into 10 shot glasses.
  * 10 oz lime juice  Salute!
 ---------------------------------------------------
root@fon:~#
</pre>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>Start snmpd</p>
<pre>
root@fon:~# /etc/init.d/snmpd start
</pre>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>Make it start when rebooted:</p>
<pre>
root@fon:~# /etc/init.d/snmpd enable
</pre>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>If you want to change your SNMP configuration the configuration is located in:</p>
<pre>
/etc/config/snmpd.conf
</pre>
<p>&nbsp;</p>
<h3>&nbsp;</h3>
<h3>3. Monitor</h3>
<p>Now you can get the SNMP&nbsp;data and use your favorite Monitor tool, i.e. Nagios or op5 Monitor.</p>
<p>Below a screenshoot from op5 Monitor:</p>
<p>&nbsp;<a href="http://www.it-slav.net/blogs/wp-content/uploads/2010/03/fon-traffic.png"><img width="603" height="195" class="aligncenter size-full wp-image-1690" title="fon-traffic" alt="" src="http://www.it-slav.net/blogs/wp-content/uploads/2010/03/fon-traffic.png" /></a></p>
<p>&nbsp;</p>
<h3>&nbsp;</h3>
<h3>&nbsp;</h3>
<h3>Useful links</h3>
<ul>
<li><a href="http://www.openwrt.org">OpenWRT</a>, an OpenSource router software</li>
<li><a href="http://www.net-snmp.org/">Net-SNMP</a>, an SNMP implementation</li>
<li><a href="http://nagios.org">Nagios</a>, an OpenSource Monitoring software</li>
<li><a href="http://www.op5.com/op5/products/network-monitor">op5 Monitor</a>, an Enterprise Class Monitoring software based on Nagios</li>
</ul>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.it-slav.net%2Fblogs%2F2010%2F03%2F23%2Finstall-snmp-on-openwrt%2F&amp;title=Install%20SNMP%20on%20OpenWRT" id="wpa2a_12"><img src="http://www.it-slav.net/blogs/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.it-slav.net/blogs/2010/03/23/install-snmp-on-openwrt/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Install OpenWRT on LaFonera router</title>
		<link>http://www.it-slav.net/blogs/2010/03/21/install-openwrt-on-lafonera-router/</link>
		<comments>http://www.it-slav.net/blogs/2010/03/21/install-openwrt-on-lafonera-router/#comments</comments>
		<pubDate>Sun, 21 Mar 2010 15:33:37 +0000</pubDate>
		<dc:creator>peter</dc:creator>
				<category><![CDATA[Cool things]]></category>
		<category><![CDATA[english]]></category>
		<category><![CDATA[Fon]]></category>
		<category><![CDATA[Geek stuff]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[La Fonera]]></category>
		<category><![CDATA[openwrt]]></category>

		<guid isPermaLink="false">http://www.it-slav.net/blogs/?p=1667</guid>
		<description><![CDATA[&#160;Background I got an unused La Fonera router by a collegue. They can be bought from http://www.fon.com for approximately 40 Euro including freight. The purpose of the Fon community is to build a community of hotspots around the world so every owner of a La Fonera could use any other La Fonera router in the [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.it-slav.net/blogs/wp-content/uploads/2010/03/fon.png"><br />
</a></p>
<h2>&nbsp;Background</h2>
<p>I got an unused La Fonera router by a collegue. They can be bought from <a href="http://www.fon.com">http://www.fon.com</a> for approximately 40 Euro including freight. The purpose of the Fon community is to build a community of hotspots around the world so every owner of a La Fonera could use any other La Fonera router in the world.</p>
<p>&nbsp;</p>
<p>I am curios about the legal aspect if someone in the Fon community uses my internet connection to do something bad, like download copyrighted software, hack CIA or whatever.</p>
<p>&nbsp;</p>
<p>The La Fonera router is real cool because:</p>
<ul>
<li>Looks good so it has a high wife acceptance factor</li>
<li>Hackable, the firmware could be replaced with for example <a href="http://www.openwrt.org">OpenWRT</a>, <a href="http://dd-wrt.com">DD-WRT</a>, <a href="http://www.digininja.org/jasager/">Jasager</a> and others&#8230;</li>
<li>Even more hackable, there are several guides and howtos to modify the La Fonera hardware.</li>
<li>Cheap, in the good old days it was possible to get one for free.<span id="more-1667"></span></li>
</ul>
<h2>&nbsp;</h2>
<h2>Install OpenWRT</h2>
<p>I&nbsp;followed this <a href="http://wiki.cuwin.net/index.php?title=Flashing_the_La_Fonera_with_OpenWRT">guide</a>, the only exception was that I used the latest OpenWRT in &quot;Phase C&quot;:</p>
<p>&nbsp;# ./ap51-flash-1.0-42 eth0 openwrt-atheros-root.squashfs openwrt-atheros-vmlinux.lzma</p>
<p>The files can be downloaded from <a href="http://www.openwrt.org">OpenWRTs</a> <a href="http://downloads.openwrt.org/">download section</a> for <a href="http://downloads.openwrt.org/kamikaze/8.09.2/atheros/">atheros platform</a>.</p>
<p>&nbsp;</p>
<p>&nbsp;<a href="http://www.it-slav.net/blogs/wp-content/uploads/2010/03/fon2.png"><img width="640" height="480" src="http://www.it-slav.net/blogs/wp-content/uploads/2010/03/fon2.png" alt="" title="fon" class="aligncenter size-full wp-image-1675" /></a></p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.it-slav.net%2Fblogs%2F2010%2F03%2F21%2Finstall-openwrt-on-lafonera-router%2F&amp;title=Install%20OpenWRT%20on%20LaFonera%20router" id="wpa2a_14"><img src="http://www.it-slav.net/blogs/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.it-slav.net/blogs/2010/03/21/install-openwrt-on-lafonera-router/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

