<?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; Cool things</title>
	<atom:link href="http://www.it-slav.net/blogs/category/cool-things/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>KVM virtualization, some best practice, part 2</title>
		<link>http://www.it-slav.net/blogs/2012/01/08/kvm-virtualization-some-best-practice-part-2/</link>
		<comments>http://www.it-slav.net/blogs/2012/01/08/kvm-virtualization-some-best-practice-part-2/#comments</comments>
		<pubDate>Sun, 08 Jan 2012 11:30:19 +0000</pubDate>
		<dc:creator>peter</dc:creator>
				<category><![CDATA[bash]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[Cool things]]></category>
		<category><![CDATA[english]]></category>
		<category><![CDATA[Geek stuff]]></category>
		<category><![CDATA[graph]]></category>
		<category><![CDATA[KVM]]></category>
		<category><![CDATA[op5]]></category>
		<category><![CDATA[op5 Monitor]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[Virtualization]]></category>

		<guid isPermaLink="false">http://www.it-slav.net/blogs/?p=2201</guid>
		<description><![CDATA[Background It really annoyed me that the iowait at the cpu on the Dom 0 system was approximatly 50% when the 4 virtual system was doing more or less nothing. I showed my earlier blogpost about VM virtualization to our sysadmin at op5. He gave me a couple of more hints that really make a [...]]]></description>
			<content:encoded><![CDATA[<h2>Background</h2>
<p>It really annoyed me that the iowait at the cpu on the Dom 0 system was approximatly 50% when the 4 virtual system was doing more or less nothing.</p>
<p>I showed my<a href="http://www.it-slav.net/blogs/2012/01/01/kvm-virtualization-some-best-practice/" target="_blank"> earlier blogpost</a> about VM virtualization to our sysadmin at op5. He gave me a couple of more hints that really make a big difference, the best part is that they are real simple to implement.</p>
<p>I also noticed that I forgot some parts in the previous article that was obvius to me.</p>
<p><span id="more-2201"></span></p>
<h3>&nbsp;</h3>
<h3>#1 use virtio drivers if possible</h3>
<p>This is probably the single most important step to get the most out of the hardware.</p>
<p>When the virtual systems wants to communicate with the hardware it uses drivers, if the drivers are simulating hardware to give a service to the virtual operating system it adds alot of overhed. A simple example:</p>
<ul>
<li>The virtual system wants to access the disk</li>
<li>The virtual system communicates via the driver to the hardware</li>
<li>The hardware is not real hardware, it is emulated hardware in sofware&nbsp;</li>
<li>The software that emulates the hardware sends the I/O to the Dom 0 virtualization engine</li>
<li>The Virtualization engine verifies that the access is ok, translate it to real hardware call via its driver</li>
<li>The hardware do the operation and send the result back up via all the steps to the virtual operating system</li>
</ul>
<p>All this transalations and software calls take alot of resources from the machine.</p>
<p>By using virtual drivers, so that there is no need to emulate hardware, many of the steps can be skipped or done with much less penalty. However not all operating system have virtio drivers.</p>
<h3>&nbsp;</h3>
<h3>#2 load the virtio modules in Dom 0</h3>
<p>This is a real god hint I got from our sysadmin, load the virtual drivers in the Dom 0 system asweell. According to him, the virtual drivers in the Dom 0 and Dom U:s communicate and makes the I/O much more effective. I have not found any information about this at any place so I was sceptical but I tried it.</p>
<pre># modprobe virtio_balloon
# modprobe virtio_blk
# modprobe virtio_net
# modprobe virtio_pci</pre>
<p>The virtual systems need to be rebooted as far as I know before the loaded drivers will have any effect.</p>
<p>At first no change at all, but after few hours I noticed that CPU idle raized and the iowait went from at least 50% down to below 5%.</p>
<p>A nice graph, created by <a href="http://www.op5.com/network-monitoring/op5-monitor/" target="_blank">op5 Monitor</a> showing the difference:</p>
<p><img alt="" height="505" src="http://www.it-slav.net/blogs/wp-content/uploads/Screen Shot 2012-01-05 at 10_24_45 AM.png" width="604" /></p>
<p>I loaded the virtual drivers approximately 4 pm, and it took until 10 pm before the performance boost showed up.</p>
<p>The correct way of making sure that the drivers are loaded directly would be to remake the kernel but I&#39;m lazy so I have just added the module load to /etc/rc.local</p>
<h2>&nbsp;</h2>
<h2>Conclusions</h2>
<p>It is always important to monitor systems. When doing changes it is not possible know if the changes do have any impact if you do not monitor and follow up how and if the changes does anything.</p>
<p>My former statement that KVM is not mature is more true then I have thought. The knowledge how to tune and maintain KVM systems seems to be like black art where the knowledge is not documented and well spread. I have read the RedHat virtualization and I have not found anything about that the virtual drivers should be loaded on the Dom0 system.</p>
<p>If there is anyone out there that has some documentation or more hints, please send me the link or comment this blogpost.</p>
<p>Links:</p>
<ul>
<li><a href="http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Virtualization_Host_Configuration_and_Guest_Installation_Guide/index.html" target="_blank">RedHa</a>t virtualization doc</li>
<li><a href="http://www.op5.com/network-monitoring/op5-monitor/" target="_blank">op5 Monitor</a> that monitor and creates nice graphs</li>
<li><a href="http://exchange.nagios.org/directory/Plugins/System-Metrics/CPU-Usage-and-Load/check_cpu_stats-2Esh/details" style="color: rgb(200, 0, 0); font-family: arial, verdana, sans-serif; text-align: justify; " target="_blank">check_cpu_stats</a>&nbsp;Nagios plugin to monitor cpustat</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%2F08%2Fkvm-virtualization-some-best-practice-part-2%2F&amp;title=KVM%20virtualization%2C%20some%20best%20practice%2C%20part%202" 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/2012/01/08/kvm-virtualization-some-best-practice-part-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>KVM virtualization, some best practice, part 1</title>
		<link>http://www.it-slav.net/blogs/2012/01/01/kvm-virtualization-some-best-practice/</link>
		<comments>http://www.it-slav.net/blogs/2012/01/01/kvm-virtualization-some-best-practice/#comments</comments>
		<pubDate>Sun, 01 Jan 2012 20:02:05 +0000</pubDate>
		<dc:creator>peter</dc:creator>
				<category><![CDATA[bash]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[Cool things]]></category>
		<category><![CDATA[english]]></category>
		<category><![CDATA[Geek stuff]]></category>
		<category><![CDATA[Hints]]></category>
		<category><![CDATA[it-slav.net]]></category>
		<category><![CDATA[Links]]></category>
		<category><![CDATA[Nagios]]></category>
		<category><![CDATA[op5]]></category>
		<category><![CDATA[op5 Monitor]]></category>
		<category><![CDATA[sysadmin]]></category>

		<guid isPermaLink="false">http://www.it-slav.net/blogs/?p=2181</guid>
		<description><![CDATA[Background As an it slave, I have the same problems as most datacenters: Running out of space because of more and more machines get into the datacenter Overheating Powerconsumption Added to the &#34;normal&#34; datacenter problems, I also have to deal with: Wife acceptance Noice, my neighbours has complained about the noice outside my basement. To [...]]]></description>
			<content:encoded><![CDATA[<h2>Background</h2>
<p>As an it slave, I have the same problems as most datacenters:</p>
<ul>
<li>Running out of space because of more and more machines get into the datacenter</li>
<li>Overheating</li>
<li>Powerconsumption</li>
</ul>
<p>Added to the &quot;normal&quot; datacenter problems, I also have to deal with:</p>
<ul>
<li>Wife acceptance</li>
<li>Noice, my neighbours has complained about the noice outside my basement.</li>
</ul>
<p>To address this issues I will run a consolidation project to get fewer machines by using virtualization. As virtualization engine, KVM is choosed.</p>
<p>This article will describe some pitfalls I run into and how I solved them.</p>
<p><span id="more-2181"></span></p>
<h2>&nbsp;</h2>
<h2>&nbsp;</h2>
<h2>KVM plattform</h2>
<p>KVM seems to be the future for virtualization within the Linux area since Xen has done some mistakes.</p>
<p>As I have good experience of running CentOS and has KVM included I decided to use CentOS as the plattform for my virtualization.</p>
<p>&nbsp;</p>
<h2>Issues</h2>
<h3>Bridge network</h3>
<p>To let the virtual boxes has full access to the network you need create a network bridge, it is rather straightforward and well documented so I will skip this part. I used the documentation on Red Hat customer support. Why KVM requires a bridge instead of a normal NIC is another question <img src='http://www.it-slav.net/blogs/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<h3>&nbsp;</h3>
<h3>Snapshots</h3>
<p>One handy feature with virtualization is that the virtual systems can be one big fat file at the physical host, this gives the possibility to make full backups without turning the system down a.k.a snapshots.</p>
<p>However to get snapshot to work the filetype must be qcow2 and raw is the default format.</p>
<p>It is possible to convert from raw to qcow2 format by running the command:</p>
<pre>qemu-img convert -f raw -O qcow2 &lt;virtualhost&gt;.img &lt;virtualhost&gt;.img.qcow2</pre>
<p>Remember to turn of your virtual system by running:</p>
<pre>virsh shutdown &lt;virtualhost&gt;
</pre>
<p>After the conversion:</p>
<pre>virsh edit &lt;virtualhost&gt;
</pre>
<p>modify the type and path, i.e.</p>
<pre>      &lt;driver name=&#39;qemu&#39; type=&#39;qcow2&#39; cache=&#39;none&#39;/&gt;
      &lt;source file=&#39;/var/lib/libvirt/images/web.img.qcow2&#39;/&gt;
</pre>
<p>Start your virtual system:</p>
<pre>virsh start &lt;virtualhost&gt;</pre>
<p>&nbsp;</p>
<p>Take a snapshot with:</p>
<pre>qemu-img snapshot -c &lt;snapshotname&gt; &lt;virtualhost&gt;.img.preallc.qcow2</pre>
<p>&nbsp;</p>
<p>To create a full image of your snapshot you need to compile a more resent version of qemu-img then shipped with CentOS 6.2, I download a later version and compiled it from <a href="http://git.qemu.org/qemu.git/commit/?id=51ef67270b1d10e1fcf3de7368dccad1ba0bf9d1" target="_blank">here</a>, i renamed the new to qemu.img2 and copied it to /usr/local/bin</p>
<pre>qemu-img2 convert -p -f qcow2 -O qcow2 -s &lt;snapshotname&gt; &lt;virtualhost&gt;.img.preallc.qcow2 &lt;targetpath&gt;
</pre>
<p>Beware: This command can use all your resources and may affect all your virtual systems, use nice and ionice to prevent it.</p>
<h3>&nbsp;</h3>
<h3>Disk I/O</h3>
<p>After installing just a few virtual system I noticed that my physical host got alot of I/O wait, it can be seen by using tools like top.</p>
<p>To monitor this I installed the nagios plugins:</p>
<ul>
<li>check disk io, can be found <a href="https://trac.id.ethz.ch/projects/nagios_plugins/wiki/check_diskio" target="_blank">here</a></li>
<li>check cpu stats, can be found <a href="http://exchange.nagios.org/directory/Plugins/System-Metrics/CPU-Usage-and-Load/check_cpu_stats-2Esh/details" target="_blank">here</a></li>
<li>check_libvirt, developed by <a href="http://www.op5.com" target="_blank">op5</a> and an <a href="http://www.op5.com/how-to/how-to-monitor-kvm-installation/" target="_blank">Howto </a></li>
</ul>
<p>However it seems like that though my virtual systems did more or less nothing they caused alot of disk I/O on the physical system.</p>
<p>I did some investigations and read quite many articles, fiddled and tested. The following is what worked for me in my setup.</p>
<h4>#1 Change disk scheduler</h4>
<p>The disk scheduler can be changed on runtime by modify the file:</p>
<pre>/sys/block/sda/queue/scheduler</pre>
<p>to see what scheduler you use now:</p>
<pre>cat /sys/block/sda/queue/scheduler</pre>
<p>Change sda to the device you have.</p>
<p>The scheduler that worked best for me is deadline</p>
<pre>echo deadline &gt; /sys/block/sda/queue/scheduler</pre>
<p>&nbsp;</p>
<h4>#2 Mount with noatime</h4>
<p>A feature in Unix and other Unixlike systems like Linux is that it normaly stores when a file is accessed. So one read always produce a write and if you are using raid like morroring this get worse, one reade always generate several writes. This creates alot of overhead for a feature soldom used.</p>
<p>So change /etc/fstab so it will mount the file systems with noatime.<br />
	An axample:</p>
<pre>UUID=a290aa4b-635c-45fa-b144-1fbef90b3735 /                       ext4    defaults,noatime        1 1</pre>
<p>&nbsp;</p>
<h4>#3 Preallocation disk images</h4>
<p>A real boost that is hidden in the featureset and not shown in the virtualmachine gui is using preallocation disk images. They cannot be created from the GUI so I install the virtual machine, turn it of and convert it afterwards.</p>
<pre>qemu-img convert -f qcow2 -O qcow2 -o preallocation=metadata &lt;virtualhost&gt;.img.qcow2 &lt;virtualhost&gt;.img.preallc.qcow2</pre>
<p>Change the path to new image name by editing the virtual machine settings</p>
<pre>virsh edit &lt;virtualhost&gt;</pre>
<p>&nbsp;</p>
<h2>Conclusions</h2>
<p>In my opinion it seems like KVM is still a little bit immature or at least the tools to handle it. Maybe it would be a good idea to have one linux distro focusing on beeing the best platform for virtualization.</p>
<p>I am convinced that I can get even more bang for the bucks out of my installation if I learn how to tweak it even more, so if you have any hints, do not hesitate to contact me. Preferably as a comment to this blogpost.</p>
<p>&nbsp;</p>
<h2>Referenses:</h2>
<ul>
<li><a href="http://www.op5.com/network-monitoring/op5-monitor/" target="_blank">op5 Monitor</a>, a nagios based enterprise monitor tool to monitor my environment</li>
<li><a href="http://www.op5.com/how-to/how-to-monitor-kvm-installation/" target="_blank">check_libvirt</a>, a nagios plugin done by op5 to monitor KVM</li>
<li><a href="https://trac.id.ethz.ch/projects/nagios_plugins/wiki/check_diskio" target="_blank">check_diskio</a>, a nagios plugin to monitor disk I/O</li>
<li><a href="http://exchange.nagios.org/directory/Plugins/System-Metrics/CPU-Usage-and-Load/check_cpu_stats-2Esh/details" target="_blank">check_cpu_stats</a>, a nagios plugin to monitor cpu usage rather detailed</li>
<li>Another <a href="http://itscblog.tamu.edu/improve-disk-io-performance-in-kvm/" target="_blank">blogpost</a> which helped me</li>
<li><a href="http://www.google.se/url?sa=t&amp;rct=j&amp;q=redhat%206%20kvm%20howto&amp;source=web&amp;cd=6&amp;ved=0CE0QFjAF&amp;url=http%3A%2F%2Fwww.redhat.com%2Fsummit%2F2011%2Fpresentations%2Fsummit%2Fdecoding_the_code%2Fwednesday%2Fwagner_w_420_kvm_performance_improvements_and_optimizations.pdf&amp;ei=qzT-TtvGBsyB4AS8xNmkDg&amp;usg=AFQjCNEK6OMSA4WtSs7NYj6n-jsmauwcnw&amp;cad=rja" target="_blank">KVM performance improvements and optimizations</a> &#8211; Red Hat presentation</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%2F01%2Fkvm-virtualization-some-best-practice%2F&amp;title=KVM%20virtualization%2C%20some%20best%20practice%2C%20part%201" 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/2012/01/01/kvm-virtualization-some-best-practice/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New How-To articles at op5</title>
		<link>http://www.it-slav.net/blogs/2011/09/29/new-how-to-articles-at-op5/</link>
		<comments>http://www.it-slav.net/blogs/2011/09/29/new-how-to-articles-at-op5/#comments</comments>
		<pubDate>Thu, 29 Sep 2011 16:48:26 +0000</pubDate>
		<dc:creator>peter</dc:creator>
				<category><![CDATA[Cool things]]></category>
		<category><![CDATA[Hints]]></category>
		<category><![CDATA[op5]]></category>
		<category><![CDATA[op5 Monitor]]></category>

		<guid isPermaLink="false">http://www.it-slav.net/blogs/?p=2148</guid>
		<description><![CDATA[The tech team at op5 have published a number of new How-To articles on the op5 Support web. Here is a list of the most recent How-Tos: &#160; Access op5 Monitor from your iPhone http://www.op5.com/how-to/access-op5-monitor-iphone/ &#160; Access op5 Monitor on Android Smartphone http://www.op5.com/how-to/access-op5-monitor-android-smartphone/ &#160; How-to monitor a KVM installation http://www.op5.com/how-to/how-to-monitor-kvm-installation/ &#160; Secure communication with Cloud [...]]]></description>
			<content:encoded><![CDATA[<div>The tech team at op5 have published a number of new How-To articles on the op5 Support</div>
<div>web. Here is a list of the most recent How-Tos:</div>
<div>&nbsp;</div>
<div>Access op5 Monitor from your iPhone</div>
<div><a href="http://www.op5.com/how-to/access-op5-monitor-iphone/">http://www.op5.com/how-to/access-op5-monitor-iphone/</a></div>
<div>&nbsp;</div>
<div>Access op5 Monitor on Android Smartphone</div>
<div><a href="http://www.op5.com/how-to/access-op5-monitor-android-smartphone/">http://www.op5.com/how-to/access-op5-monitor-android-smartphone/</a></div>
<div>&nbsp;</div>
<div>How-to monitor a KVM installation</div>
<div><a href="http://www.op5.com/how-to/how-to-monitor-kvm-installation/">http://www.op5.com/how-to/how-to-monitor-kvm-installation/</a></div>
<div>&nbsp;</div>
<div>Secure communication with Cloud poller</div>
<div><a href="http://www.op5.com/how-to/secure-communication-cloud-poller/">http://www.op5.com/how-to/secure-communication-cloud-poller/</a></div>
<div>&nbsp;</div>
<div>Agentless Monitoring of Windows using WMI</div>
<div><a href="http://www.op5.com/how-to/agentless-monitoring-windows-wmi/">http://www.op5.com/how-to/agentless-monitoring-windows-wmi/</a></div>
<div>&nbsp;</div>
<div>How to monitor your application server with op5 Monitor and JMX4Perl</div>
<div><a href="http://www.op5.com/how-to/howto-monitor-application-server-op5-monitor-jmx4perl/">http://www.op5.com/how-to/howto-monitor-application-server-op5-monitor-jmx4perl/</a></div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>Please let me know if you have any suggestion for future How-To articles.</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%2F2011%2F09%2F29%2Fnew-how-to-articles-at-op5%2F&amp;title=New%20How-To%20articles%20at%20op5" 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/2011/09/29/new-how-to-articles-at-op5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Install Telldus Tellstick on CentOS 6 or RedHat Enterprise Linux 6</title>
		<link>http://www.it-slav.net/blogs/2011/08/29/install-telldus-tellstick-on-centos-6-or-redhat-enterprise-linux-6/</link>
		<comments>http://www.it-slav.net/blogs/2011/08/29/install-telldus-tellstick-on-centos-6-or-redhat-enterprise-linux-6/#comments</comments>
		<pubDate>Mon, 29 Aug 2011 18:08:21 +0000</pubDate>
		<dc:creator>peter</dc:creator>
				<category><![CDATA[Cool things]]></category>
		<category><![CDATA[english]]></category>
		<category><![CDATA[Geek stuff]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[telldus]]></category>
		<category><![CDATA[tellstick]]></category>

		<guid isPermaLink="false">http://www.it-slav.net/blogs/?p=2109</guid>
		<description><![CDATA[Background I have a long time looked at Telldus Tellstick&#160;that can control wall-plug socket recievers and other devices. Finally I got my hands on one that my collegue wanted to sell. This article will describe how to get it up and running on a x86_64 CentOS 6 box, the procedure would be the same on [...]]]></description>
			<content:encoded><![CDATA[<h2>Background</h2>
<p>I have a long time looked at Telldus <a target="_blank" href="http://www.telldus.se/products/tellstick">Tellstick</a>&nbsp;that can control wall-plug socket recievers and other <a target="_blank" href="http://www.telldus.se/products/compability">devices</a>. Finally I got my hands on one that my collegue wanted to sell.</p>
<p>This article will describe how to get it up and running on a x86_64 CentOS 6 box, the procedure would be the same on RHEL or Feodora and similiar on other Linux distributions. Unfortunatly the only distribution that has pre-made packages is Ubuntu so I will describe howto download the source code, compile it and get the amazing Telldus Tellstick up and running.</p>
<p>&nbsp;<a href="http://www.it-slav.net/blogs/wp-content/uploads/2011/08/telldus.jpg"><img alt="" title="telldus" width="225" height="243" class="aligncenter size-full wp-image-2120" src="http://www.it-slav.net/blogs/wp-content/uploads/2011/08/telldus.jpg" /></a></p>
<p>Kudos to Telldus that has understood the power of OpenSource and opened up the device to let third-part &nbsp;vendors make solutions based on the device.</p>
<p><span id="more-2109"></span></p>
<h2>&nbsp;</h2>
<h2>Installation</h2>
<p>Install packages needed for the compilation</p>
<p><code>yum install gcc gcc-c++ autoconf automake cmake</code></p>
<p>&nbsp;</p>
<p>Libconfuse is needed:&nbsp;</p>
<p><code>wget http://pkgs.repoforge.org/libconfuse/libconfuse-2.6-2.el6.rf.x86_64.rpm</code></p>
<p><code>wget http://pkgs.repoforge.org/libconfuse/libconfuse-devel-2.6-2.el6.rf.x86_64.rpm</code></p>
<p>&nbsp;</p>
<p>Install libconfuse:</p>
<p><code>rpm -Uvh libconfuse-*</code></p>
<p><code>warning: libconfuse-2.6-2.el6.rf.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 6b8d79e6: NOKEY</code></p>
<p><code>Preparing... &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;########################################### [100%]</code></p>
<p><code>&nbsp; &nbsp;1:libconfuse &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ########################################### [ 50%]</code></p>
<p><code>&nbsp; &nbsp;2:libconfuse-devel &nbsp; &nbsp; &nbsp; ########################################### [100%]</code></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>Download, configure, compile, and install the Tellstick package from Telldus&nbsp;</p>
<div><code>wget http://download.telldus.se/TellStick/Software/telldus-core/telldus-core-2.0.4.tar.gz</code></div>
<div><code>tar xzvf telldus-core-2.0.4.tar.gz&nbsp;</code></div>
<div><code>cd telldus-core-2.0.4</code></div>
<div><code>cmake .</code></div>
<div><code>make&nbsp;</code></div>
<div><code>make install</code></div>
<div><code>&nbsp;</code></div>
<div>make use of new libs in&nbsp;/usr/local/lib</div>
<div><code>echo&nbsp;/usr/local/lib &gt;&nbsp;/etc/ld.so.conf.d/tellstick.conf</code></div>
<div><code>ldconfig</code></div>
<div>&nbsp;</div>
<div>Insert the needed module</div>
<div><code>modprobe ftdi_sio vendor=0x1781 product=0x0c30</code></div>
<div>&nbsp;</div>
<div>connected the telldus stick and in /var/log/messages you should see:</div>
<div>
<div><code>Aug 29 18:50:57 mother kernel: usb 1-3.2: new full speed USB device using ehci_hcd and address 4</code></div>
<div><code>Aug 29 18:50:57 mother kernel: usb 1-3.2: New USB device found, idVendor=1781, idProduct=0c30</code></div>
<div><code>Aug 29 18:50:57 mother kernel: usb 1-3.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3</code></div>
<div><code>Aug 29 18:50:57 mother kernel: usb 1-3.2: Product: TellStick</code></div>
<div><code>Aug 29 18:50:57 mother kernel: usb 1-3.2: Manufacturer: Telldus</code></div>
<div><code>Aug 29 18:50:57 mother kernel: usb 1-3.2: SerialNumber: A400gl7J</code></div>
<div><code>Aug 29 18:50:57 mother kernel: usb 1-3.2: configuration #1 chosen from 1 choice</code></div>
<div><code>Aug 29 18:50:57 mother kernel: ftdi_sio 1-3.2:1.0: FTDI USB Serial Device converter detected</code></div>
<div><code>Aug 29 18:50:57 mother kernel: usb 1-3.2: Detected FT232RL</code></div>
<div><code>Aug 29 18:50:57 mother kernel: usb 1-3.2: Number of endpoints 2</code></div>
<div><code>Aug 29 18:50:57 mother kernel: usb 1-3.2: Endpoint 1 MaxPacketSize 64</code></div>
<div><code>Aug 29 18:50:57 mother kernel: usb 1-3.2: Endpoint 2 MaxPacketSize 64</code></div>
<div><code>Aug 29 18:50:57 mother kernel: usb 1-3.2: Setting MaxPacketSize 64</code></div>
<div><code>Aug 29 18:50:57 mother kernel: usb 1-3.2: FTDI USB Serial Device converter now attached to ttyUSB0</code></div>
</div>
<div>&nbsp;</div>
<div>Strange is that the Tellstick uses /dev/tellstick even though the log tells ttyUSB0</div>
<div>&nbsp;</div>
<h2>Configure</h2>
<div>I bought <a target="_blank" href="http://www.kjell.com/?item=50219">#50219</a> from Kjell&amp;Co the price is approx 15&euro;</div>
<div>&nbsp;</div>
<div>Add to /etc/tellstick.conf</div>
<div>
<div><code>deviceNode = &quot;/dev/tellstick&quot;</code></div>
<div><code>device {</code></div>
<div><code>&nbsp; id = 2</code></div>
<div><code>&nbsp; name = &quot;Example device&quot;</code></div>
<div><code>&nbsp; protocol = &quot;arctech&quot;</code></div>
<div><code>&nbsp; model = &quot;selflearning-switch&quot;</code></div>
<div><code>&nbsp; parameters {</code></div>
<div><code>&nbsp; &nbsp; house = &quot;12345678&quot;</code></div>
<div><code>&nbsp; &nbsp; unit = &quot;2&quot;</code></div>
<div><code>&nbsp; }</code></div>
<div><code>}</code></div>
<div>&nbsp;</div>
<div>Put the powerswitch in selflearning mode and run:</div>
<div><code># tdtool --learn 2</code></div>
<div><code>Learning device: 2 Example device - Success</code></div>
</div>
<div>&nbsp;</div>
<div>Try</div>
<div>
<div><code># tdtool --on 2</code></div>
<div><code>Turning on device 2, Example device - Success</code></div>
</div>
<div>&nbsp;</div>
<div>and the device turned on and there were light!!</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div><code># tdtool --off 2</code></div>
<div>And the light is off</div>
<div>&nbsp;</div>
<div>If you get&nbsp;</div>
<div><code>/var/state/telldus-core.conf:1: no such option 'deviceNode'</code></div>
<div>just remove&nbsp;/var/state/telldus-core.conf with</div>
<div><code>rm&nbsp;/var/state/telldus-core.conf</code></div>
<div>It seems like it can be removed without any problem.</div>
<div>&nbsp;</div>
<div>To annoy your wife/kids/dog or anybody else try</div>
<div><code>while true ; do tdtool --on 2; tdtool --off 2; done</code></div>
<div><code>&nbsp;</code></div>
<div>Have fun with your computer controlled powerdevices:-)</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<h2>Useful links:</h2>
<ul>
<li><a target="_blank" href="http://www.telldus.com/">Telldus</a></li>
<li>Different Telldus <a target="_blank" href="http://www.telldus.com/products/range">Tellsticks</a></li>
<li>Supported <a target="_blank" href="http://www.telldus.com/products/compability">devices</a></li>
</ul>
<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%2F2011%2F08%2F29%2Finstall-telldus-tellstick-on-centos-6-or-redhat-enterprise-linux-6%2F&amp;title=Install%20Telldus%20Tellstick%20on%20CentOS%206%20or%20RedHat%20Enterprise%20Linux%206" 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/2011/08/29/install-telldus-tellstick-on-centos-6-or-redhat-enterprise-linux-6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Monitor FreeNAS raid disks with Nagios or op5 Monitor</title>
		<link>http://www.it-slav.net/blogs/2011/08/26/monitor-freenas-raid-disks-with-nagios-or-op5-monitor/</link>
		<comments>http://www.it-slav.net/blogs/2011/08/26/monitor-freenas-raid-disks-with-nagios-or-op5-monitor/#comments</comments>
		<pubDate>Fri, 26 Aug 2011 20:05:36 +0000</pubDate>
		<dc:creator>peter</dc:creator>
				<category><![CDATA[Cool things]]></category>
		<category><![CDATA[english]]></category>
		<category><![CDATA[Geek stuff]]></category>
		<category><![CDATA[Hints]]></category>
		<category><![CDATA[Nagios]]></category>
		<category><![CDATA[op5 Monitor]]></category>
		<category><![CDATA[freenas]]></category>
		<category><![CDATA[geom]]></category>
		<category><![CDATA[monitor]]></category>
		<category><![CDATA[op5]]></category>

		<guid isPermaLink="false">http://www.it-slav.net/blogs/?p=1961</guid>
		<description><![CDATA[Background As a monitoring fanatic, I&#160;think that have mirrored disk without monitor the mirror is worse then not have a redundant disk system at all. If you think that you are safe and you are not, is worse then be aware of a risk and calculate with it. This article will describe how I&#160;did monitoring [...]]]></description>
			<content:encoded><![CDATA[<h2>Background</h2>
<p>As a monitoring fanatic, I&nbsp;think that have mirrored disk without monitor the mirror is worse then not have a redundant disk system at all. If you think that you are safe and you are not, is worse then be aware of a risk and calculate with it.</p>
<p>This article will describe how I&nbsp;did monitoring my&nbsp;FreeNAS system mirrored disks status&nbsp;using Nagios or op5 Monitoring. I&nbsp;assume basic knowledge of Nagios or op5 Monitor and that a Nagios agent is installed.</p>
<p>&nbsp;<br />
<span id="more-1961"></span></p>
<h2>Demarcation</h2>
<p>This article will focus on GEOM raid monitoring. Of cource all important services should be monitored, like HTTP, CIFS, SMB, disk space, CPU Load, memory usage and so on. However that is basic monitoring knowledge and there is alot of documentation on the net howto achive that.</p>
<p>&nbsp;</p>
<p>&nbsp;&nbsp;</p>
<h2>Monitor the GEOM mirror</h2>
<p>The most interesting part is to monitor the GEOM mirror to make sure that that the raid1 is working.&nbsp;</p>
<p>After some googleing I&nbsp;found <a target="_blank" href="http://exchange.nagios.org/directory/Plugins/System-Metrics/Storage-Subsystem/check_geom/details">check_geom</a>, downloaded it and put it in /usr/local/libexec/nagios/ where the other plugins are located.</p>
<p>Add a line to /etc/nrpe.cfg</p>
<p><code>command[check_geom_mirror]=/usr/local/libexec/nagios/check_geom mirror</code></p>
<p>and test from Nagios/op5 Monitor host:</p>
<p><code># ./check_nrpe -H fnas -c check_geom_mirror<br />
OK mirror&nbsp; - mirror/2TBmirror0 COMPLETE { ad6 , ad4 }</code></p>
<p>It works!<br />
&nbsp;</p>
<h2>Configure Nagios or op5 Monitor</h2>
<p>In /opt/monitor/etc/services.cfg at the op5 Monitor host</p>
<p><code># service 'Disk Raid Mirrors'<br />
define service{<br />
&nbsp;&nbsp;&nbsp; use&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; default-service<br />
&nbsp;&nbsp;&nbsp; host_name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; fnas<br />
&nbsp;&nbsp;&nbsp; service_description&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Disk Raid Mirrors<br />
&nbsp;&nbsp;&nbsp; check_command&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; check_nrpe!check_geom_mirror<br />
&nbsp;&nbsp;&nbsp; contact_groups&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; it-slav_mail,it-slav_jabber<br />
&nbsp;&nbsp;&nbsp; }</code></p>
<p>&nbsp;</p>
<h2>The result</h2>
<p>I tested unplugging the SATA cabel to one of the mirrored disk and after a couple of minutes I got an Critical notification that my disk mirror is broken, I plugged SATA cabel and got a Warning:</p>
<p><a href="http://www.it-slav.net/blogs/wp-content/uploads/2011/08/geom.png"><img alt="" title="geom" width="507" height="97" class="aligncenter size-full wp-image-2100" src="http://www.it-slav.net/blogs/wp-content/uploads/2011/08/geom.png" /></a></p>
<p>&nbsp;</p>
<p>After a couple of hours the mirror was OK.</p>
<p><a href="http://www.it-slav.net/blogs/wp-content/uploads/2011/08/Screen-Shot-2011-08-25-at-3.46.39-PM.png"><img alt="" title="Screen Shot 2011-08-25 at 3.46.39 PM" width="664" height="81" class="aligncenter size-full wp-image-2102" src="http://www.it-slav.net/blogs/wp-content/uploads/2011/08/Screen-Shot-2011-08-25-at-3.46.39-PM.png" /></a></p>
<p>&nbsp;</p>
<h2>&nbsp;</h2>
<h2>Useful links:</h2>
<ul>
<li><a target="_blank" href="http://www.it-slav.net/blogs/2011/08/25/monitor-freenas-with-op5-monitor-or-nagios/">Previous article</a> describing howto install nagios or op5 Monitor agent on FreeNAS</li>
<li><a href="http://www.op5.com">op5</a>, an Enterprise Monitor product company</li>
<li><a target="_blank" href="http://www.op5.com/network-monitoring/op5-monitor/">op5 Monitor</a>, Enterprise Monitoring based on opensource</li>
<li><a target="_blank" href="http://www.nagios.org">Nagios</a>, an excellent opensource monitor tool</li>
<li><a href="http://www.freenas.org/">FreeNAS</a>, very capable NAS based on FreeBSD</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%2F2011%2F08%2F26%2Fmonitor-freenas-raid-disks-with-nagios-or-op5-monitor%2F&amp;title=Monitor%20FreeNAS%20raid%20disks%20with%20Nagios%20or%20op5%20Monitor" 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/2011/08/26/monitor-freenas-raid-disks-with-nagios-or-op5-monitor/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Monitor FreeNAS with op5 Monitor or Nagios</title>
		<link>http://www.it-slav.net/blogs/2011/08/25/monitor-freenas-with-op5-monitor-or-nagios/</link>
		<comments>http://www.it-slav.net/blogs/2011/08/25/monitor-freenas-with-op5-monitor-or-nagios/#comments</comments>
		<pubDate>Thu, 25 Aug 2011 12:31:58 +0000</pubDate>
		<dc:creator>peter</dc:creator>
				<category><![CDATA[Cool things]]></category>
		<category><![CDATA[english]]></category>
		<category><![CDATA[Geek stuff]]></category>
		<category><![CDATA[Nagios]]></category>
		<category><![CDATA[op5]]></category>
		<category><![CDATA[op5 Monitor]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[freenas]]></category>
		<category><![CDATA[monitor]]></category>

		<guid isPermaLink="false">http://www.it-slav.net/blogs/?p=2090</guid>
		<description><![CDATA[Background My old NAS built on top of CentOS has some performence issues and the disks are quit old now. The hardware is leftovers that is approx 8 years old and not highend at that time either. The disks age has worried my for a time and I would like to have higher redunduncy with [...]]]></description>
			<content:encoded><![CDATA[<h2>Background</h2>
<p>My old NAS built on top of CentOS has some performence issues and the disks are quit old now. The hardware is leftovers that is approx 8 years old and not highend at that time either. The disks age has worried my for a time and I would like to have higher redunduncy with raid1/mirrored disks.</p>
<p>After some research I decided to run my new NAS on FreeNAS, which has all the features I use, like: CIFS, NFS, FTP, SSH, Rsync, Unison, iSCSI and also easy administration and disk management.</p>
<p>This article will describe how I&nbsp;did setup Nagios or op5 Monitoring on my FreeNAS system. I&nbsp;assume basic knowledge of Nagios or op5 Monitor.</p>
<p>&nbsp;<span id="more-2090"></span></p>
<h2>Installing nrpe</h2>
<p>Nrpe is the agent that nagios and op5 Monitor uses to monitor a system from the inside.</p>
<p>From the webgui add group nagios and user nagios. User nagios should be a meber of group nagios.</p>
<p><code>&nbsp;freenas:~# pkg_add -r nrpe2<br />
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7.3-release/Latest/nrpe2.tbz... Done.<br />
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7.3-release/All/perl-5.10.1.tbz... Done.<br />
Removing stale symlinks from /usr/bin...<br />
&nbsp;&nbsp;&nbsp; Skipping /usr/bin/perl<br />
&nbsp;&nbsp;&nbsp; Skipping /usr/bin/perl5<br />
Done.<br />
Creating various symlinks in /usr/bin...<br />
&nbsp;&nbsp;&nbsp; Symlinking /usr/local/bin/perl5.10.1 to /usr/bin/perl<br />
&nbsp;&nbsp;&nbsp; Symlinking /usr/local/bin/perl5.10.1 to /usr/bin/perl5<br />
Done.<br />
cd: can't cd to /usr/include<br />
Cleaning up /etc/make.conf... Done.<br />
Spamming /etc/make.conf... Done.<br />
Cleaning up /etc/manpath.config... Done.<br />
Spamming /etc/manpath.config... Done.<br />
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7.3-release/All/libiconv-1.13.1_1.tbz... Done.<br />
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7.3-release/All/gettext-0.17_1.tbz... Done.<br />
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7.3-release/All/nagios-plugins-1.4.14,1.tbz... Done.<br />
You already have a &quot;nagios&quot; group, so I will use it.<br />
You already have a &quot;nagios&quot; user, so I will use it.</p>
<p>**********************************************************************</p>
<p>&nbsp;Enable NRPE in /etc/rc.conf with the following line:</p>
<p>&nbsp;&nbsp; nrpe2_enable=&quot;YES&quot;</p>
<p>&nbsp;A sample configuration is available in /usr/local/etc/nrpe.cfg-sample.<br />
&nbsp;Copy to nrpe.cfg where required and edit to suit your needs.</p>
<p>**********************************************************************</code><br />
&nbsp;</p>
<p><code>freenas:~# cp /usr/local/etc/nrpe.cfg-sample /etc/nrpe.cfg</code></p>
<p>I changed the allowed_hosts line and added my op5 Monitor host.</p>
<div>&nbsp;</div>
<div>Unfortunatly the instructions to autostart nrpe do not work, my guess is that FreeNAS is not 100% FreeBSD compatible.</div>
<div>I modified /etc/rc and addded in the end of the file:</div>
<div>
<div>&nbsp;</div>
<div><code>#Added by peter@it-slav.net 20101114</code></div>
<div><code>echo 'nrpe'</code></div>
<div><code>/usr/local/sbin/nrpe2 -c /etc/nrpe.cfg -d</code></div>
<div><code>#End peter@it-slav.net</code></div>
<div><code>&nbsp;</code></div>
<div><code># Let the PHP functions know we've finished booting</code></div>
<div><code>BOOTING=0</code></div>
</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>Reboot the FreeNAS system.</div>
<div>&nbsp;</div>
<div>From the op5 Monitor/Nagios host run:</div>
<div><code># ./check_nrpe -H fnas -c check_load<br />
OK - load average: 0.72, 0.85, 0.81|load1=0.721;15.000;30.000;0; load5=0.847;10.000;25.000;0; load15=0.808;5.000;20.000;0;&nbsp;</code><br />
&nbsp;</div>
<p>So the nagios agent works.</p>
<p>&nbsp;</p>
<h2>&nbsp;</h2>
<h2>&nbsp;</h2>
<h2>Links</h2>
<ul>
<li><a href="http://www.op5.com">op5</a>, an Enterprise Monitor product company</li>
<li><a target="_blank" href="http://www.op5.com/network-monitoring/op5-monitor/">op5 Monitor</a>, Enterprise Monitoring based on opensource</li>
<li><a target="_blank" href="http://www.nagios.org">Nagios</a>, an excellent opensource monitor tool</li>
<li><a href="http://www.freenas.org/">FreeNAS</a>, very capable NAS based on FreeBSD</li>
</ul>
<div>&nbsp;</div>
<p>&nbsp;</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%2F2011%2F08%2F25%2Fmonitor-freenas-with-op5-monitor-or-nagios%2F&amp;title=Monitor%20FreeNAS%20with%20op5%20Monitor%20or%20Nagios" 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/2011/08/25/monitor-freenas-with-op5-monitor-or-nagios/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cloud monitoring with op5 Monitor or Nagios</title>
		<link>http://www.it-slav.net/blogs/2011/07/07/cloud-monitoring-with-op5-monitor-or-nagios/</link>
		<comments>http://www.it-slav.net/blogs/2011/07/07/cloud-monitoring-with-op5-monitor-or-nagios/#comments</comments>
		<pubDate>Thu, 07 Jul 2011 18:44:57 +0000</pubDate>
		<dc:creator>peter</dc:creator>
				<category><![CDATA[Cool things]]></category>
		<category><![CDATA[english]]></category>
		<category><![CDATA[Geek stuff]]></category>
		<category><![CDATA[Hints]]></category>
		<category><![CDATA[Nagios]]></category>
		<category><![CDATA[op5]]></category>
		<category><![CDATA[op5 Monitor]]></category>
		<category><![CDATA[sysadmin]]></category>

		<guid isPermaLink="false">http://www.it-slav.net/blogs/?p=2076</guid>
		<description><![CDATA[Monitor the cloud with nagios or op5 monitor. ]]></description>
			<content:encoded><![CDATA[<p>Finally, the most important and useful widget to Ninja has arrived. As everybody in the IT industri today knows, the cloud is where we all want to go and nirvana will be accomplished. To get there it is a god idea to let your favorite monitor solution keep track of when you can read more about this holy graal.</p>
<p>The widget keeps track of how many times the word &quot;moln&quot; appear on idg.se webpage and displays it in a easy view in The Tactical Overview.</p>
<p>&nbsp;</p>
<p>Screenshoots from the different modes:</p>
<p><a href="http://www.it-slav.net/blogs/wp-content/uploads/2011/07/idg_cloud_report.jpg"><img alt="" title="idg_cloud_report" width="400" height="425" class="aligncenter size-full wp-image-2077" src="http://www.it-slav.net/blogs/wp-content/uploads/2011/07/idg_cloud_report.jpg" /></a></p>
<p>&nbsp;</p>
<p>Links:</p>
<ul>
<li><a href="https://demo.op5.com/monitor/index.php/tac">op5 Sandbox with a live cloud widget online</a>, registration is necessary</li>
<li><a href="http://www.op5.org/community/plugin-inventory/op5-projects/ninja">Ninja, the new and inovative nagios gui</a></li>
<li><a href="http://www.op5.org/community/plugin-inventory/widgets">Widget</a> exchange area</li>
</ul>
<p>Kudos to op5 support that has created this excellent widget&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.it-slav.net/blogs/2011/07/07/cloud-monitoring-with-op5-monitor-or-nagios/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using 1-wire devices in OpenWRT</title>
		<link>http://www.it-slav.net/blogs/2011/04/05/using-1-wire-devices-in-openwrt/</link>
		<comments>http://www.it-slav.net/blogs/2011/04/05/using-1-wire-devices-in-openwrt/#comments</comments>
		<pubDate>Tue, 05 Apr 2011 08:43:08 +0000</pubDate>
		<dc:creator>peter</dc:creator>
				<category><![CDATA[1-wire]]></category>
		<category><![CDATA[Cool things]]></category>
		<category><![CDATA[english]]></category>
		<category><![CDATA[graph]]></category>
		<category><![CDATA[Nagios]]></category>
		<category><![CDATA[op5 Monitor]]></category>
		<category><![CDATA[openwrt]]></category>
		<category><![CDATA[sysadmin]]></category>

		<guid isPermaLink="false">http://www.it-slav.net/blogs/?p=2047</guid>
		<description><![CDATA[Background It is very handy to have a temprobe attached to network devices like a Wlan router, if OpenWRT&#160;is installed it is easy to use 1-wire devices. By using this method it is possible to create wireless temperature probes that uses Wlan. &#160; Install root@OpenWrt:~# opkg install owserver owfs&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160; Using root@OpenWrt:~# owserver -u -C [...]]]></description>
			<content:encoded><![CDATA[<h2>Background</h2>
<p>It is very handy to have a temprobe attached to network devices like a Wlan router, if OpenWRT&nbsp;is installed it is easy to use 1-wire devices. By using this method it is possible to create wireless temperature probes that uses Wlan.</p>
<p>&nbsp;<span id="more-2047"></span></p>
<h2>Install</h2>
<p><code>root@OpenWrt:~# opkg install owserver owfs&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </code><br />
&nbsp;</p>
<h2>Using</h2>
<p><code>root@OpenWrt:~# owserver -u -C --usb_regulartime -p 3001</code></p>
<p><code>root@OpenWrt:~# mkdir /mnt/1-wire&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br />
</code></p>
<p><code>root@OpenWrt:~# owfs -s localhost:3001 -m /mnt/1-wire</code></p>
<p><code>root@OpenWrt:/mnt/1-wire/10.87507C010800# ls /mnt/1-wire/<br />
10.87507C010800&nbsp; 81.543A2A000000&nbsp; alarm&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; bus.0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; settings&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; simultaneous&nbsp;&nbsp;&nbsp;&nbsp; statistics&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; structure&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; system&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; uncached</code></p>
<p>It works! &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br />
&nbsp;</p>
<p>To make sure that owserver starts when the router is rebooted, add to /etc/rc.local<code><br />
</code></p>
<p><code>/usr/bin/owserver -u -C --usb_regulartime -p 3001</code></p>
<h2>Firewall</h2>
<p>My op5 Monitor/Nagios system is on the Wan side of the OpeWRT&nbsp;box so I&nbsp;need to open the firewall to port 3001.</p>
<p>Add to /etc/config/firewall</p>
<p><code>#1-wire ok on Wan<br />
config rule<br />
&nbsp;&nbsp;&nbsp; option src&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; wan<br />
&nbsp;&nbsp;&nbsp; option dest_port&nbsp;&nbsp;&nbsp; 3001<br />
&nbsp;&nbsp;&nbsp; option target&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; ACCEPT<br />
&nbsp;&nbsp;&nbsp; option proto&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; tcp</code><br />
&nbsp;</p>
<h2>Result</h2>
<p>To gather the data from 1-wire I&nbsp;use <a target="_blank" href="http://www.op5.com/op5/products/network-monitor">op5 Monitor</a> and my Nagios <a target="_blank" href="http://www.it-slav.net/blogs/2008/11/17/op5-monitor-or-nagios-plugins-for-1-wire-temperature-measurement/">plugin</a> check_1-wiretemp, the result can be seen below</p>
<p><a href="http://www.it-slav.net/blogs/wp-content/uploads/2011/04/Screen-shot-2011-04-05-at-10.38.10-AM.png"><img alt="" title="Screen shot 2011-04-05 at 10.38.10 AM" width="591" height="242" class="aligncenter size-full wp-image-2059" src="http://www.it-slav.net/blogs/wp-content/uploads/2011/04/Screen-shot-2011-04-05-at-10.38.10-AM.png" /></a></p>
<p>Links</p>
<ul>
<li><a target="_blank" href="http://www.openwrt.org">OpenWrt</a></li>
<li><a target="_blank" href="http://owfs.org">owfs</a></li>
<li><a target="_blank" href="http://www.op5.com/op5/products/network-monitor">op5 Monitor</a></li>
</ul>
<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%2F2011%2F04%2F05%2Fusing-1-wire-devices-in-openwrt%2F&amp;title=Using%201-wire%20devices%20in%20OpenWRT" id="wpa2a_16"><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/2011/04/05/using-1-wire-devices-in-openwrt/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Open ssh on the WAN inteface in OpenWRT</title>
		<link>http://www.it-slav.net/blogs/2011/04/02/open-ssh-on-the-wan-inteface-openwrt/</link>
		<comments>http://www.it-slav.net/blogs/2011/04/02/open-ssh-on-the-wan-inteface-openwrt/#comments</comments>
		<pubDate>Sat, 02 Apr 2011 08:10:53 +0000</pubDate>
		<dc:creator>peter</dc:creator>
				<category><![CDATA[bash]]></category>
		<category><![CDATA[Cool things]]></category>
		<category><![CDATA[english]]></category>
		<category><![CDATA[Geek stuff]]></category>
		<category><![CDATA[openwrt]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://www.it-slav.net/blogs/?p=2037</guid>
		<description><![CDATA[To be able to administrate my OpenWRT&#160;router from Internet I&#160;need to open the ssh port on the Wan interface. &#160; It is real simple, just add to following to /etc/config/firewall: #open ssh on wan interface config rule&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;&#160;&#160; option src&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; wan &#160;&#160;&#160;&#160;&#160;&#160;&#160; option dest_port&#160;&#160;&#160;&#160;&#160;&#160;&#160; 22 &#160;&#160;&#160;&#160;&#160;&#160;&#160; option target&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; ACCEPT&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;&#160;&#160; option proto&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; tcp&#160; And restart [...]]]></description>
			<content:encoded><![CDATA[<p>To be able to administrate my OpenWRT&nbsp;router from Internet I&nbsp;need to open the ssh port on the Wan interface.</p>
<p>&nbsp;</p>
<p>It is real simple, just add to following to /etc/config/firewall:</p>
<p><code>#open ssh on wan interface<br />
config rule&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; option src&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; wan<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; option dest_port&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 22<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; option target&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ACCEPT&nbsp;&nbsp;&nbsp;&nbsp; <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; option proto&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; tcp&nbsp; </code></p>
<p>And restart the firewall:</p>
<p><code>#/etc/init.d/firewall restart</code></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%2F2011%2F04%2F02%2Fopen-ssh-on-the-wan-inteface-openwrt%2F&amp;title=Open%20ssh%20on%20the%20WAN%20inteface%20in%20OpenWRT" id="wpa2a_18"><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/2011/04/02/open-ssh-on-the-wan-inteface-openwrt/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Installing OpenWRT on TP-Link TL-WR1043ND</title>
		<link>http://www.it-slav.net/blogs/2011/03/31/installing-openwrt-on-tp-link-tl-wr1043nd/</link>
		<comments>http://www.it-slav.net/blogs/2011/03/31/installing-openwrt-on-tp-link-tl-wr1043nd/#comments</comments>
		<pubDate>Thu, 31 Mar 2011 19:06:06 +0000</pubDate>
		<dc:creator>peter</dc:creator>
				<category><![CDATA[Cool things]]></category>
		<category><![CDATA[english]]></category>
		<category><![CDATA[Geek stuff]]></category>
		<category><![CDATA[openwrt]]></category>
		<category><![CDATA[sysadmin]]></category>

		<guid isPermaLink="false">http://www.it-slav.net/blogs/?p=2029</guid>
		<description><![CDATA[Background After struggeling with my Linksys WRT-160NL to get OpenWRT&#160;stable I finally gave up. It ended upp with DD-WRT&#160;instead. Unfortunatly DD-WRT&#160;do not have the functionality I want like: -rndis device so I&#160;could use my Android phone to connect to Internet -1-wire device support -Nagios agent The solution was to buy another device where OpenWRT support [...]]]></description>
			<content:encoded><![CDATA[<h2>Background</h2>
<p>After struggeling with my Linksys WRT-160NL to get OpenWRT&nbsp;stable I finally gave up. It ended upp with DD-WRT&nbsp;instead. Unfortunatly DD-WRT&nbsp;do not have the functionality I want like:</p>
<p>-rndis device so I&nbsp;could use my Android phone to connect to Internet</p>
<p>-1-wire device support</p>
<p>-Nagios agent</p>
<p>The solution was to buy another device where <a href="http://openwrt.org/" target="_blank">OpenWRT</a> support is working better with USB and Gigabit interfaces. After some research I found TP-Link <a href="http://www.tp-link.com/products/productDetails.asp?class=wlan&amp;pmodel=TL-WR1043ND" target="_blank">TL-WR1043ND</a> for approx 50&euro;.</p>
<p>&nbsp;<span id="more-2029"></span></p>
<h2>Unpacking</h2>
<p>The TL-WR1043ND package is good looking and has a printed GPL license included, that is impressive.</p>
<p>The basic installation with TP-LINK installed firware was easy and stright forward with all information you need in a simple &quot;Quick installation Guide&quot;. No need for installing software on a windows machine to be able to access you new device. I think Cisco/Linksys has something to <a href="http://www.it-slav.net/blogs/2010/06/04/install-openwrt-on-linksys-wrt160nl/" target="_blank">learn.</a></p>
<p>&nbsp;</p>
<h2>Installing OpenWRT</h2>
<p>Find the Firmware upgrade menu and upload <a target="_blank" href="http://downloads.openwrt.org/backfire/10.03.1-rc4/ar71xx/openwrt-ar71xx-tl-wr1043nd-v1-squashfs-factory.bin">this</a> firmware. It worked perfectly well and seems very stable. A positive suprise is that the WLAN&nbsp;seems to reach longer then the WRT 160NL.</p>
<p>&nbsp;</p>
<h2>Conclusion</h2>
<p>The TP-LINK TL-WR1043ND seems to be a good Wlan router that has a good support for OpenWRT, with USB, Gigabit ethernetinterfaces and good Wlan range.</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%2F2011%2F03%2F31%2Finstalling-openwrt-on-tp-link-tl-wr1043nd%2F&amp;title=Installing%20OpenWRT%20on%20TP-Link%20TL-WR1043ND" id="wpa2a_20"><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/2011/03/31/installing-openwrt-on-tp-link-tl-wr1043nd/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Using Ventus GPS Route Logger G730 in Linux</title>
		<link>http://www.it-slav.net/blogs/2011/03/13/using-ventus-gps-route-logger-g730-in-linux/</link>
		<comments>http://www.it-slav.net/blogs/2011/03/13/using-ventus-gps-route-logger-g730-in-linux/#comments</comments>
		<pubDate>Sun, 13 Mar 2011 16:41:16 +0000</pubDate>
		<dc:creator>peter</dc:creator>
				<category><![CDATA[Cool things]]></category>
		<category><![CDATA[english]]></category>
		<category><![CDATA[Hints]]></category>
		<category><![CDATA[Review]]></category>
		<category><![CDATA[GPS]]></category>
		<category><![CDATA[gps logger]]></category>
		<category><![CDATA[gps tracker]]></category>

		<guid isPermaLink="false">http://www.it-slav.net/blogs/?p=2006</guid>
		<description><![CDATA[&#160; Background I&#160;have a need of GPS tag my digital photos. Unfortunatly a GPS device to my camera costs approx 230&#160;Eur. In my humble opinion I think that is way of, especially considering that with some software in the camera any standard USB&#160;GPS reciever would do the job. They cost approx 40 Eur. I have [...]]]></description>
			<content:encoded><![CDATA[<p>&nbsp;</p>
<h2>Background</h2>
<p>I&nbsp;have a need of GPS tag my digital photos. Unfortunatly a GPS device to my camera costs approx 230&nbsp;Eur. In my humble opinion I think that is way of, especially considering that with some software in the camera any standard USB&nbsp;GPS reciever would do the job. They cost approx 40 Eur.</p>
<p>I have an Android phone where there is tons of apps that could create a GPS log whenever I want to, however it drains the battery in just a couple of hours. I&nbsp;want to track my routes at least a whole day without the need to charge.</p>
<p>The solution is to buy a GPS&nbsp;logger and after some research I found <a href="http://www.ventusdesign.com/products/g730-ventus-gps-logger/" target="_blank">Ventus GPS Route Logger G730</a>, and it<a href="http://www.petrilopia.net/wordpress/hardware/ventus-gps-route-logger-g730-linux/" target="_blank"> looked like it would work with Linux</a>.</p>
<p>This article will describe my experience making the G730 Ventus GPS Route Logger and Linux.</p>
<p>&nbsp;<span id="more-2006"></span></p>
<h2>Using skytraq</h2>
<p>According to webpages skytraq can be used to create GPX tracks from the G730 Logger.</p>
<p>Unfortunatly the skytraq software are not in the Ubuntu repos so I&nbsp;had to download and install it manually. It is downloadable from&nbsp; <a href="http://code.google.com/p/skytraq-datalogger/" target="_blank">http://code.google.com/p/skytraq-datalogger/</a></p>
<p>It is out of the scope for this article how to compile and fullfill the requirements needs.</p>
<p>When the GPS Logger is attached the following will show up in /var/log/messages:</p>
<p><code>Jan 15 14:13:08 it-slav kernel: [21689.101101] usb 6-2: new full speed USB device using uhci_hcd and address 3<br />
Jan 15 14:13:09 it-slav kernel: [21689.316181] usb 6-2: configuration #1 chosen from 1 choice<br />
Jan 15 14:13:09 it-slav kernel: [21689.319138] pl2303 6-2:1.0: pl2303 converter detected<br />
Jan 15 14:13:09 it-slav kernel: [21689.332192] usb 6-2: pl2303 converter now attached to ttyUSB0</code></p>
<p>&nbsp;</p>
<p>So now we can communicate with the GPS Logger:</p>
<p><code>peter@it-slav:~/dl/skytraq/skytraq-datalogger-0.5-1$ ./skytraq-datalogger --info<br />
kernel version: 1.4.8 -- ODM version: 1.8.22 -- revision: 2008-10-23<br />
log_wr_ptr:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 28626<br />
total sectors:&nbsp;&nbsp; 510<br />
sectors left:&nbsp;&nbsp;&nbsp; 506<br />
max time:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 3600 s<br />
min time:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1 s<br />
max distance:&nbsp;&nbsp;&nbsp; 1000 m<br />
min distance:&nbsp;&nbsp;&nbsp; 0 m<br />
max speed:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1000 km/h<br />
min speed:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 km/h<br />
datalog enable:&nbsp; 1<br />
log fifo mode:&nbsp;&nbsp; 1<br />
AGPS enabled:&nbsp;&nbsp;&nbsp; 0<br />
AGPS data left:&nbsp; none<br />
baud-rate:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 38400 bps</code></p>
<p>&nbsp;</p>
<p>Get the gpx file:</p>
<p><code>./skytraq-datalogger --dump &gt;20110310.gpx</code></p>
<p>And now a gpx file named 20110310.gpx is created.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<h2>Setup</h2>
<p>There is a possibility to conifigure the behvior of the GPS logger with skytraq, however it is possible to configure more parameters in the Ventus G730 so to fully configure I had to install the windows software that come with the logger.</p>
<p>The configuration is rather strange, there is a possibilty to log per time, over a certain speed and distance for the following:</p>
<ul>
<li>General</li>
<li>Walking</li>
<li>Car</li>
<li>Bicycle</li>
</ul>
<p>How the device knows what type of vehicle I use for traveling and if the General settings override the others is undocumented.</p>
<p>&nbsp;</p>
<h2>Problems</h2>
<p>Most of the time when trying to communicate with the logger it gives this message:</p>
<p><code>peter@it-slav:~/dl/skytraq/skytraq-datalogger-0.5-1$ ./skytraq-datalogger --info<br />
No response from datalogger.</code></p>
<p>And after a few seconds it works again. Sometimes unplugging the device and connect it again helps. The behavior is very stochastic and some patience will help:)</p>
<p>&nbsp;</p>
<p>The logger can be used as a GPS recever and the output is in standard NMEA format that GPSd understand. So if you want to use it together with your favorite GPS&nbsp;software it works. However my experience is that if you want to dump the output from the G730 Logger the GPS output must be turned of:</p>
<p><code>./skytraq-datalogger --set-output-off</code></p>
<p>&nbsp;</p>
<h2>Suggestion</h2>
<p>I suggest that Ventus should open the specification howto communicat with the device so third part software could use the device. To hide that type of information do not provide any advantage, rather the opposite.</p>
<p>I wrote an email to them and the correspondence can be seen below. I&nbsp;hope this blog post will make Ventus change their mind.</p>
<p>&#8211;cut&#8211;</p>
<p><tt>-------- Original Message --------<br />
Subject: Sv: Ventus g730<br />
Date: Mon, 3 Jan 2011 13:25:49 +0800<br />
From: &lt;support@ventusdesign.com&gt;<br />
To: Peter Andersson &lt;peter@it-slav.net&gt;<br />
CC: Ventus &lt;info@ventusdesign.com&gt;</p>
<p>Dear Peter</p>
<p>Thanks for your email and we will consider this.</p>
<p>Kind regards</p>
<p>Ventus Support</p>
<p>--------------------------------------------------<br />
Fra: &quot;Peter Andersson&quot; &lt;peter@it-slav.net&gt;<br />
Dato: 30. december 2010 23:10<br />
Til: &lt;support@ventusdesign.com&gt;<br />
Emne: Ventus g730</p>
<p>&gt; Hi<br />
&gt;<br />
&gt; I have just bought a Ventus g730 GPS Logger and I have some feedback.<br />
&gt; Before buying the device I made sure that it fullfilled my requriements:<br />
&gt; -Works with linux<br />
&gt; (http://www.petrilopia.net/wordpress/hardware/ventus-gps-route-logger-g730-linux/)<br />
&gt; -Create gpx files<br />
&gt; -Battery that last at least 12 hours<br />
&gt;<br />
&gt; Unfortunately you have have taken a strange decision and do not support<br />
&gt; Linux. However according to several forums the G730 is compatible with<br />
&gt; http://code.google.com/p/skytraq-datalogger/<br />
&gt; After fiddling with the device I found that the skytraq-datalogger<br />
&gt; sometimes works and sometimes does not. And I probably will return the<br />
&gt; device to the store if I cannot get it to work better with an open and<br />
&gt; free operating system.<br />
&gt;<br />
&gt; My recommendations to you are:<br />
&gt; 1-Provide an open specification how to access the data in the device<br />
&gt; 2-Modify the http://code.google.com/p/skytraq-datalogger/ software so it<br />
&gt; works with G730 and provide the code change to the team behind<br />
&gt; skytraq-datalogger, and also provide the software on you website.<br />
&gt;<br />
&gt; By following these simple steps (especially #1) you will sell a-lot of<br />
&gt; more devices to the people that prefer open and freedom.<br />
&gt;<br />
&gt; Best regards<br />
&gt; Peter Andersson<br />
&gt; peter@it-slav.net </tt><br />
&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</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%2F2011%2F03%2F13%2Fusing-ventus-gps-route-logger-g730-in-linux%2F&amp;title=Using%20Ventus%20GPS%20Route%20Logger%20G730%20in%20Linux" id="wpa2a_22"><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/2011/03/13/using-ventus-gps-route-logger-g730-in-linux/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Today is the answer</title>
		<link>http://www.it-slav.net/blogs/2010/10/10/today-is-the-answer/</link>
		<comments>http://www.it-slav.net/blogs/2010/10/10/today-is-the-answer/#comments</comments>
		<pubDate>Sun, 10 Oct 2010 15:19:59 +0000</pubDate>
		<dc:creator>peter</dc:creator>
				<category><![CDATA[Cool things]]></category>
		<category><![CDATA[Geek stuff]]></category>

		<guid isPermaLink="false">http://www.it-slav.net/blogs/?p=1953</guid>
		<description><![CDATA[&#160; As everybody knows, the answer is 42. Today is the date 101010, translate that binary number to decimal, you get 42.]]></description>
			<content:encoded><![CDATA[<p>&nbsp;</p>
<p>As everybody knows, the answer is 42.</p>
<p>Today is the date 101010, translate that binary number to decimal, you get 42.</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%2F10%2F10%2Ftoday-is-the-answer%2F&amp;title=Today%20is%20the%20answer" id="wpa2a_24"><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/10/10/today-is-the-answer/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Top 10 Nagios problems solved, by op5</title>
		<link>http://www.it-slav.net/blogs/2010/09/22/top-10-nagios-problems-solved-by-op5/</link>
		<comments>http://www.it-slav.net/blogs/2010/09/22/top-10-nagios-problems-solved-by-op5/#comments</comments>
		<pubDate>Wed, 22 Sep 2010 18:09:14 +0000</pubDate>
		<dc:creator>peter</dc:creator>
				<category><![CDATA[Cool things]]></category>
		<category><![CDATA[english]]></category>
		<category><![CDATA[graph]]></category>
		<category><![CDATA[Hints]]></category>
		<category><![CDATA[Nagios]]></category>
		<category><![CDATA[op5]]></category>
		<category><![CDATA[op5 Monitor]]></category>
		<category><![CDATA[sysadmin]]></category>

		<guid isPermaLink="false">http://www.it-slav.net/blogs/?p=1943</guid>
		<description><![CDATA[Background When I&#160;was preparing a presentation about what op5 is doing and our contribution to the community, I went to ideas.nagios.org. When I browsed the list of the biggest issues with Nagios I&#160;found out that op5 has packaged and solved them all in op5 Monitor. I encourage everyone to take a peak at the list [...]]]></description>
			<content:encoded><![CDATA[<h3>Background</h3>
<p>When I&nbsp;was preparing a presentation about what <a target="_blank" href="http://www.op5.com">op5</a> is doing and our contribution to the community, I went to <a target="_blank" href="http://ideas.nagios.org">ideas.nagios.org</a>. When I browsed the list of the biggest issues with <a target="_blank" href="http://www.nagios.org">Nagios</a> I&nbsp;found out that <a href="http://www.op5.com" target="_blank">op5</a> has packaged and solved them all in op5 Monitor. I encourage everyone to take a peak at the list and judge for them self what platform you want to use for your enterprise monitoring solution.</p>
<p>&nbsp;<span id="more-1943"></span></p>
<p><strong>1. Nagios Clusters</strong></p>
<p>op5 has developed Merlin (Module for Effortless and Redundant and Loadbalanced Infrastructure with Nagios). It provides the possibility to have a redundant or/and loadbalanced solution using Nagios. It also provides a scalable database backend for Ninja and Nagvis, take a peak at <a target="_blank" href="http://www.op5.org/community/plugin-inventory/op5-projects/merlin">Merlin</a> webpage.</p>
<p>&nbsp;</p>
<p><strong>2. Performance Graphing</strong></p>
<p>In op5 Monitor op5 has added <a target="_blank" href="http://docs.pnp4nagios.org/">pnp4nagios</a> that graphs more or less any check that gives a numerical value back.</p>
<p>&nbsp;</p>
<p><strong>3. New Status Map</strong></p>
<p>We provide a new statusmap, it is a part of Nagvis project and called Automap. op5 has contributed to <a target="_blank" href="http://www.nagvis.org/">Nagvis</a> by adding support for Merlin database backend and GoogleMaps integration</p>
<p>&nbsp;</p>
<p>
<strong> 4. Better Interface</strong></p>
<p>op5 has created a new PHP based interface that makes you proud of your monitor solution, called Ninja. Ninja stands for Nagios is now Just Awesome, it looks so good so you can show it to your manager:-) Take a peak at <a href="http://www.op5.org/community/plugin-inventory/op5-projects/ninja" target="_blank">Ninja webpage</a>.</p>
<p>We had a naming competition at op5 my suggestion to call it Yang, Yet Another Nagios Gui, did not get so many votes so the name become Ninja.</p>
<p>&nbsp;</p>
<p>
<strong> 5. Configuration</strong></p>
<p>Any one that has tried to configure Nagios by hand has thought bad thoughts. It is cumbersome and in the begining it makes even a skilled Unix admin frustrated. op5 has developed a web based configuration tool named Nacoma. It is included in op5 Monitor.</p>
<p>&nbsp;</p>
<p>
<strong> 6. SLA reports</strong></p>
<p>op5 has got alot of feedback from the customers and one issue was better reports, we have created two reports: availability and SLA report. Both of them can be scheduled and looks god compared to the reports in Nagios, they are included in <a href="http://www.op5.org/community/plugin-inventory/op5-projects/ninja" target="_blank">Ninja</a></p>
<p>&nbsp;<strong><br />
7. More members in core team</strong></p>
<p>Well, this is something that op5 cannot controll, however, Andreas Ericsson one of op5s core developers are a member og Nagios steering board.</p>
<p>&nbsp;</p>
<p>
<strong> 8. SNMP Trap receiver</strong></p>
<p>This is something op5 is working on right now, we have today created a prototype together with a customer and depending of the outcome of that project we will know better when it will be available to the market.</p>
<p>&nbsp;</p>
<p>
<strong> 9. UI-Improvment</strong></p>
<p>op5s solution to this issue is Ninja, a better, nicer, scalable, database backend gui to Nagios.</p>
<p>&nbsp;</p>
<p>
<strong> 10. Nagios Dashboard</strong></p>
<p>A newTactical Overview with widgets or Nagvis, all included in Ninja</p>
<p>&nbsp;</p>
<h3>Links</h3>
<ul>
<li>ideas.nagios.org<a href="http://ideas.nagios.org" target="_blank"> http://ideas.nagios.org</a></li>
<li>Nagios <a href="http://www.nagios.org" target="_blank">http://www.nagios.org</a></li>
<li>op5 <a href="http://www.op5.com" target="_blank">http://www.op5.com</a></li>
<li>op5 Monitor<a href="http://www.op5.com/op5/products/network-monitor" target="_blank"> http://www.op5.com/op5/products/network-monitor</a></li>
<li>Ninja <a href="http://www.op5.org/community/plugin-inventory/op5-projects/ninja" target="_blank">http://www.op5.org/community/plugin-inventory/op5-projects/ninja</a></li>
<li>Merlin <a href="http://www.op5.org/community/plugin-inventory/op5-projects/merlin" target="_blank">http://www.op5.org/community/plugin-inventory/op5-projects/merlin</a></li>
<li>Nagvis<a href="http://www.nagvis.org/" target="_blank"> http://www.nagvis.org/</a></li>
<li>pnp4nagios <a href="http://docs.pnp4nagios.org/" target="_blank">http://docs.pnp4nagios.org/</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%2F2010%2F09%2F22%2Ftop-10-nagios-problems-solved-by-op5%2F&amp;title=Top%2010%20Nagios%20problems%20solved%2C%20by%20op5" id="wpa2a_26"><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/09/22/top-10-nagios-problems-solved-by-op5/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>A real geek is a geek even during vacation!</title>
		<link>http://www.it-slav.net/blogs/2010/08/12/a-real-geek-is-a-geek-even-during-vacation/</link>
		<comments>http://www.it-slav.net/blogs/2010/08/12/a-real-geek-is-a-geek-even-during-vacation/#comments</comments>
		<pubDate>Thu, 12 Aug 2010 18:43:00 +0000</pubDate>
		<dc:creator>peter</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[Cool things]]></category>
		<category><![CDATA[english]]></category>
		<category><![CDATA[Geek stuff]]></category>
		<category><![CDATA[Hints]]></category>
		<category><![CDATA[openstreetmap]]></category>

		<guid isPermaLink="false">http://www.it-slav.net/blogs/?p=1927</guid>
		<description><![CDATA[When there is summer and Scandinavia closes down it is hard to be a geek. Everybody, including me, moves out to small cottages in the forrest where 3G coverage is bad which gives low bandwidth a new meaning.&#160; &#160; I have found one way of still doing geeky things combined with vacation. That is update [...]]]></description>
			<content:encoded><![CDATA[<p>When there is summer and Scandinavia closes down it is hard to be a geek. Everybody, including me, moves out to small cottages in the forrest where 3G coverage is bad which gives low bandwidth a new meaning.&nbsp;</p>
<p>&nbsp;</p>
<p>I have found one way of still doing geeky things combined with vacation. That is update <a target="_blank" href="http://www.openstreetmap.org">OpenStreetmap</a>. Take a peak at my updates at:</p>
<ul>
<li><a href="http://www.openstreetmap.org/?lat=56.4476895332336&amp;lon=14.0158939361572&amp;zoom=14">http://www.openstreetmap.org/?lat=56.4476895332336&amp;lon=14.0158939361572&amp;zoom=14</a></li>
<li><a href="http://www.openstreetmap.org/?lat=56.4213931560516&amp;lon=14.0284895896912&amp;zoom=14">http://www.openstreetmap.org/?lat=56.4213931560516&amp;lon=14.0284895896912&amp;zoom=14</a></li>
<li><a href="http://www.openstreetmap.org/?lat=60.1418289542198&amp;lon=15.4323390126228&amp;zoom=17">http://www.openstreetmap.org/?lat=60.1418289542198&amp;lon=15.4323390126228&amp;zoom=17</a></li>
</ul>
<p><span id="more-1927"></span></p>
<p>Openstreetmap is wikipedia for maps, and like wikipedia it is dependent of that people will update with correct data. One thing that fascinates me is that openstreetmap is extremly detailed in some areas. Probably a geek lives nearby.</p>
<p>&nbsp;</p>
<p>When the earthquake hit Haiti, OpenStreetmaps was <a target="_blank" href="http://wiki.openstreetmap.org/wiki/WikiProject_Haiti">used</a> by rescuers because all other maps was inaccurate. Alot of volunteers helped keeping the maps updated.</p>
<p>&nbsp;</p>
<p>If you want to participate in the project, the process is simple:</p>
<ol>
<li>Get an GPS reciever that can generate gpx tracks, I use my Android</li>
<li>Turn on the GPS and walk, run or bicycle around and gather GPS tracks</li>
<li>Upload the gpx to openstreetmap.org</li>
<li>Tag the roads, buildings and whatever you found</li>
</ol>
<p>&nbsp;To get started, read the <a target="_blank" href="http://wiki.openstreetmap.org/wiki/Beginners'_guide">beginners guide</a> at<a target="_blank" href="http://www.openstreetmap.org"> Openstreetmap</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%2F08%2F12%2Fa-real-geek-is-a-geek-even-during-vacation%2F&amp;title=A%20real%20geek%20is%20a%20geek%20even%20during%20vacation%21" id="wpa2a_28"><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/08/12/a-real-geek-is-a-geek-even-during-vacation/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_30"><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_32"><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>Howto use 3G dongle Huawei E1750 in OpenWrt</title>
		<link>http://www.it-slav.net/blogs/2010/06/12/howto-use-3g-dongle-huawei-e1750-in-openwrt/</link>
		<comments>http://www.it-slav.net/blogs/2010/06/12/howto-use-3g-dongle-huawei-e1750-in-openwrt/#comments</comments>
		<pubDate>Sat, 12 Jun 2010 18:38:03 +0000</pubDate>
		<dc:creator>peter</dc:creator>
				<category><![CDATA[Cool things]]></category>
		<category><![CDATA[english]]></category>
		<category><![CDATA[Geek stuff]]></category>
		<category><![CDATA[Linksys]]></category>
		<category><![CDATA[Linksys WRT160NL]]></category>
		<category><![CDATA[openwrt]]></category>
		<category><![CDATA[WRT160NL]]></category>

		<guid isPermaLink="false">http://www.it-slav.net/blogs/?p=1838</guid>
		<description><![CDATA[Background After succesfully installed my new Linksys WRT160NL with OpenWrt, the next step is to configure it. As the summer is approaching and my need for Internet access in our summer cottage will arrise. The summer cottage is in the middle of nowhere so it would be handy to put a USB dongle and the [...]]]></description>
			<content:encoded><![CDATA[<h3>Background</h3>
<p>After <a href="http://www.it-slav.net/blogs/2010/06/04/install-openwrt-on-linksys-wrt160nl/">succesfully</a> installed my new Linksys WRT160NL with OpenWrt, the next step is to configure it. As the summer is approaching and my need for Internet access in our summer cottage will arrise. The summer cottage is in the middle of nowhere so it would be handy to put a USB dongle and the Wlan router in the spot with best 3G field strength and use the WiFi to connect several computers to the router and Internet.</p>
<p>The 3G USB&nbsp;modem is a Huawei modem I&nbsp;bought for 20&nbsp;EUR and unlocked using <a href="http://www.it-slav.net/blogs/2010/05/02/unlock-huawei-modems/">this</a> guide.</p>
<p>I found an excellent <a href="http://josefsson.org/openwrt/dongle.html">guide</a> describing excactly what I&nbsp;wanted todo but it did not work 100%&nbsp;in my environment so I will describe what I did to get it running. Read the <a href="http://josefsson.org/openwrt/dongle.html">guide</a> to get background and deeper explanation of how things are done. This guide assumes that you have read the <a href="http://josefsson.org/openwrt/dongle.html">guide</a>, basic knowledge of OpenWRT, howto edit files in a Linux environment and so on.<span id="more-1838"></span></p>
<p>&nbsp;</p>
<h3>Installation</h3>
<p>The USB&nbsp;hardware and the modem need some extra packages to be installed. I installed the following:</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>Probably not all of them are necessery but during my tests and fiddeling these are the ones I installed.</p>
<p>&nbsp;</p>
<h3>Configuration</h3>
<p>Create /etc/modules.d/60-usb-serial:</p>
<pre>
usbserial vendor=0x12d1 product=0x1446
 </pre>
<p>The vendor and product parameters can be found by attaching the 3G modem and run:</p>
<pre>
root@WRT160NL:~# cat /proc/bus/usb/devices

T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480 MxCh= 1
B:  Alloc=  0/800 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=1d6b ProdID=0002 Rev= 2.06
S:  Manufacturer=Linux 2.6.32.10 ehci_hcd
S:  Product=Atheros AR91xx built-in EHCI controller
S:  SerialNumber=ar71xx-ehci
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   4 Ivl=256ms

T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=480 MxCh= 0
D:  Ver= 2.00 Cls=00(&gt;ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  <span style="background-color: rgb(255, 255, 0);">Vendor=12d1 ProdID=1446</span> Rev= 0.00
S:  Manufacturer=HUAWEI Technology
S:  Product=HUAWEI Mobile
C:* #Ifs= 2 Cfg#= 1 Atr=e0 MxPwr=500mA
I:* If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usbserial_generic
E:  Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:* If#= 1 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usbserial_generic
E:  Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
 </pre>
<p>The parameters are marked in yellow above.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>The next step is to configure usb switch. Create /etc/usb-modeswitch.conf</p>
<pre>
########################################################
# Huawei E270+  (HSPA+ modem)

DefaultVendor= 0x12d1
DefaultProduct=0x1446

TargetVendor=  0x12d1
TargetProductList=&quot;1001,1406,140c,14ac&quot;

CheckSuccess=20

MessageContent=&quot;55534243123456780000000000000011060000000000000000000000000000&quot;</pre>
<p>I have no clue of the syntax but I&nbsp;copied it from my Ubuntu machine /etc/usb_modeswitch.d/12d1:1446 and it works:-)</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>Add the following to /etc/config/network</p>
<pre>
config 'interface' 'ppp0'
    option 'ifname' 'ppp0'
    option 'proto' '3g'
    option 'device' '/dev/ttyUSB0'
    option 'apn' 'internet.tele2.se'
    option 'pincode' '1234'</pre>
<p>The pincode is obvious, the apn is local and given by your local operator. It is handy to configure it to work in Ubuntu and then look at the configuration Ubuntu creates. <br />
&nbsp;</p>
<p>&nbsp;</p>
<p>The firewall rules need to be updated and I added ppp0 to the wan section in /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'
    option 'network' 'wan ppp0'</pre>
<p>To make the change to take effect run:</p>
<pre>
root@WRT160NL:~# /etc/init.d/firewall restart
 </pre>
<h3>&nbsp;</h3>
<h3>Start it</h3>
<p>Attach the modem and run:</p>
<pre>
root@WRT160NL:~# usb_modeswitch

Looking for target devices ...
 No devices in target mode or class found
Looking for default devices ...
 Found default devices (1)
Accessing device 002 on bus 001 ...
Using endpoints 0x01 (out) and 0x81 (in)
Inquiring device details; driver will be detached ...
Looking for active driver ...
&nbsp;OK, driver found (&quot;usbserial_generic&quot;)
&nbsp;OK, driver &quot;usbserial_generic&quot; detached

SCSI inquiry data (for identification)
-------------------------
&nbsp; Vendor String: HUAWEI&nbsp;
&nbsp;&nbsp; Model String: Mass Storage&nbsp;&nbsp;&nbsp;
Revision String: 2.31
-------------------------

USB description data (for identification)
-------------------------
Manufacturer: HUAWEI Technology
&nbsp;&nbsp;&nbsp;&nbsp; Product: HUAWEI Mobile
&nbsp; Serial No.: not provided
-------------------------
Setting up communication with interface 0 ...
Trying to send the message to endpoint 0x01 ...
&nbsp;OK, message successfully sent
&nbsp;Device is gone, skipping any further commands

Checking for mode switch (max. 20 times, once per second) ...
&nbsp;Original device is gone already, not checking
&nbsp;Searching for target devices ...
&nbsp;Searching for target devices ...
&nbsp;Searching for target devices ...
&nbsp;Searching for target devices ...
&nbsp;Searching for target devices ...
&nbsp;Found correct target device

Mode switch succeeded. Bye.
 </pre>
<p>&nbsp;</p>
<p>logread should now give something similiar to:</p>
<pre>
Jun 12 17:29:11 WRT160NL user.info kernel: generic ttyUSB0: generic converter now disconnected from ttyUSB0
Jun 12 17:29:11 WRT160NL user.info kernel: usbserial_generic 1-1:1.0: device disconnected
Jun 12 17:29:11 WRT160NL user.warn kernel: usb 1-1: usbfs: process 1345 (usb_modeswitch) did not claim interface 0 before use
Jun 12 17:29:11 WRT160NL user.info kernel: usb 1-1: USB disconnect, address 2
Jun 12 17:29:11 WRT160NL user.info kernel: generic ttyUSB1: generic converter now disconnected from ttyUSB1
Jun 12 17:29:11 WRT160NL user.info kernel: usbserial_generic 1-1:1.1: device disconnected
Jun 12 17:29:16 WRT160NL user.info kernel: usb 1-1: new high speed USB device using ar71xx-ehci and address 3
Jun 12 17:29:16 WRT160NL user.info kernel: usb 1-1: configuration #1 chosen from 1 choice
Jun 12 17:29:16 WRT160NL user.info kernel: option 1-1:1.0: GSM modem (1-port) converter detected
Jun 12 17:29:16 WRT160NL user.info kernel: usb 1-1: GSM modem (1-port) converter now attached to ttyUSB0
Jun 12 17:29:16 WRT160NL user.info kernel: option 1-1:1.1: GSM modem (1-port) converter detected
Jun 12 17:29:16 WRT160NL user.info kernel: usb 1-1: GSM modem (1-port) converter now attached to ttyUSB1
Jun 12 17:29:16 WRT160NL user.info kernel: option 1-1:1.2: GSM modem (1-port) converter detected
Jun 12 17:29:16 WRT160NL user.info kernel: usb 1-1: GSM modem (1-port) converter now attached to ttyUSB2
Jun 12 17:29:16 WRT160NL user.info kernel: scsi3 : SCSI emulation for USB Mass Storage devices
Jun 12 17:29:16 WRT160NL user.debug kernel: usb-storage: device found at 3
Jun 12 17:29:16 WRT160NL user.debug kernel: usb-storage: waiting for device to settle before scanning
Jun 12 17:29:16 WRT160NL user.info kernel: scsi4 : SCSI emulation for USB Mass Storage devices
Jun 12 17:29:16 WRT160NL user.debug kernel: usb-storage: device found at 3
Jun 12 17:29:16 WRT160NL user.debug kernel: usb-storage: waiting for device to settle before scanning
Jun 12 17:29:21 WRT160NL user.notice kernel: scsi 3:0:0:0: CD-ROM            HUAWEI   Mass Storage     2.31 PQ: 0 ANSI: 2
Jun 12 17:29:21 WRT160NL user.debug kernel: usb-storage: device scan complete
Jun 12 17:29:21 WRT160NL user.notice kernel: scsi 4:0:0:0: Direct-Access     HUAWEI   SD Storage       2.31 PQ: 0 ANSI: 2
Jun 12 17:29:21 WRT160NL user.notice kernel: sd 4:0:0:0: [sda] Attached SCSI removable disk
Jun 12 17:29:21 WRT160NL user.debug kernel: usb-storage: device scan complete
 </pre>
<h3>&nbsp;</h3>
<h3>Using it</h3>
<p>To start using your new configuration:</p>
<pre>
root@WRT160NL:~# ifup ppp0
SIM ready
PIN set successfully
</pre>
<p>And now ping a host on Internet</p>
<pre>
root@WRT160NL:~# ping ftp.sunet.se
PING ftp.sunet.se (194.71.11.69): 56 data bytes
64 bytes from 194.71.11.69: seq=0 ttl=55 time=119.351 ms
64 bytes from 194.71.11.69: seq=1 ttl=55 time=88.978 ms
64 bytes from 194.71.11.69: seq=2 ttl=55 time=88.751 ms
64 bytes from 194.71.11.69: seq=3 ttl=55 time=88.484 ms
64 bytes from 194.71.11.69: seq=4 ttl=55 time=128.257 ms
^C
--- ftp.sunet.se ping statistics ---
5 packets transmitted, 5 packets received, 0% packet loss
round-trip min/avg/max = 88.484/102.764/128.257 ms
 </pre>
<p>Stop your connection:</p>
<pre>
root@WRT160NL:~# ifdown ppp0</pre>
<p>&nbsp;</p>
<h3>Useful links</h3>
<ul>
<li><a href="http://josefsson.org/openwrt/dongle.html">http://josefsson.org/openwrt/dongle.html </a>The excellent guide that I used as a platform, read it!</li>
<li><a href="http://www.openwrt.org">OpenWrt</a>, Linuxbased firmware for routers</li>
</ul>
<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%2F06%2F12%2Fhowto-use-3g-dongle-huawei-e1750-in-openwrt%2F&amp;title=Howto%20use%203G%20dongle%20Huawei%20E1750%20in%20OpenWrt" id="wpa2a_34"><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/12/howto-use-3g-dongle-huawei-e1750-in-openwrt/feed/</wfw:commentRss>
		<slash:comments>24</slash:comments>
		</item>
		<item>
		<title>Install OpenWRT on Linksys WRT160NL</title>
		<link>http://www.it-slav.net/blogs/2010/06/04/install-openwrt-on-linksys-wrt160nl/</link>
		<comments>http://www.it-slav.net/blogs/2010/06/04/install-openwrt-on-linksys-wrt160nl/#comments</comments>
		<pubDate>Fri, 04 Jun 2010 18:37:58 +0000</pubDate>
		<dc:creator>peter</dc:creator>
				<category><![CDATA[Cool things]]></category>
		<category><![CDATA[english]]></category>
		<category><![CDATA[Geek stuff]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[Linksys WRT160NL]]></category>
		<category><![CDATA[openwrt]]></category>

		<guid isPermaLink="false">http://www.it-slav.net/blogs/?p=1825</guid>
		<description><![CDATA[&#160; Background After getting fedup with the bad fon support I decided to give a new wireless router a try. After browsing internet and openwrt forums I&#160;thought that a Linksys WRT160NL would fulfill my requirements: The requrements are: N 3G USB&#160;dongle Cheap &#160; Packing up The installation from Linksys is crap, a CD comes with [...]]]></description>
			<content:encoded><![CDATA[<p>&nbsp;</p>
<h3>Background</h3>
<p>After getting fedup with the bad fon support I decided to give a new wireless router a try. After browsing internet and openwrt forums I&nbsp;thought that a Linksys WRT160NL would fulfill my requirements:</p>
<p>The requrements are:</p>
<ul>
<li>N</li>
<li>3G USB&nbsp;dongle</li>
<li>Cheap</li>
</ul>
<p>&nbsp;<span id="more-1825"></span></p>
<h3>Packing up</h3>
<p>The installation from Linksys is crap, a CD comes with the product and if you want to configure it you need to install software from the CD. The only supported operating systems are windows or Mac, I&nbsp;run linux.</p>
<p>I skipped the CD&nbsp;and connected my Linux box with a ethernet cable to the router. I tried to connect to http://192.168.1.1 and got a login screen.</p>
<p>After some <a href="http://www.speedguide.net/broadband-view.php?hw=307">googling</a> I&nbsp;found that the default login was blank and the password admin.</p>
<p>I managed to configure my new router after logging in. I&nbsp;do not now the purpose of the CD, real stupid.</p>
<p>&nbsp;</p>
<h3>Install OpenWRT</h3>
<p>I&nbsp;read the <a href="http://wiki.openwrt.org/toh/linksys/wrt160nl.">instructions</a> to get OpenWRT on my Linksys WRT160NL and tried the &quot;OEM&nbsp;easy installation&quot;. According to the instruction <a href="http://downloads.openwrt.org/backfire/10.03/ar71xx/openwrt-ar71xx-wrt160nl-squashfs.bin">openwrt-ar71xx-wrt160nl-squashfs.bin</a> is the image to install. Unfortunatly I get an errormessage &quot; Firmware Upgrade Failed!&quot;</p>
<p>I&nbsp;upgraded the firmware to the latest Linksys firmware and after that tried the OpenWRT&nbsp;firmware with the same error message.</p>
<p>After some bad language and alot of googling I found a <a href="https://dev.openwrt.org/ticket/7300">bug</a> reported that the version I&nbsp;tried to install always gives that message when installed from the Linksys webgui.</p>
<p>So I&nbsp;tried the Beta <a href="http://downloads.openwrt.org/backfire/10.03-beta/ar71xx/openwrt-ar71xx-wrt160nl-squashfs.bin">version</a> instead and finally I success message.</p>
<p>I&nbsp;telneted to 192.168.1.1 and run passwd to change my password.</p>
<p>ssh to 192.168.1.</p>
<p>run:</p>
<pre>
root@OpenWrt:~# opkg update

root@OpenWrt:~# opkg install kmod-ath9k

root@OpenWrt:~# opkg install  hostapd</pre>
<p>And start configure.</p>
<p>&nbsp;</p>
<h3>Update BETA to stable version</h3>
<p>It was a annoying feeling to run beta when a stable version existed.</p>
<p>I&nbsp;used the luci webgui to update the firmware to the stable version and it looked alright. I&nbsp;managed to log in both with ssh and webgui.</p>
<p>But when I&nbsp;tried to install a new package it gave me an error message that there was no free disk, sigh!</p>
<p>I installed the BETA version and it worked, tried RC3 and the same problem with no free disk.</p>
<p>After some bad language and a lot of fiddeling I&nbsp;updated to the stable with the checkbox &quot;Keep configuration files&quot; unchecked and this time it works flawless.</p>
<p>Follow the guidlines above to change root password, update the software package list, install wlansupport, WAP support&nbsp; and start configure.</p>
<p>&nbsp;</p>
<p>A succefull login below:</p>
<pre>
peter@peter-laptop:~$ ssh -l root 192.168.1.1
root@192.168.1.1's password:

BusyBox v1.15.3 (2010-04-06 03:14:11 CEST) 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
 Backfire (10.03, r20728) --------------------------
  * 1/3 shot Kahlua    In a shot glass, layer Kahlua
  * 1/3 shot Bailey's  on the bottom, then Bailey's,
  * 1/3 shot Vodka     then Vodka.
 ---------------------------------------------------
</pre>
<pre>
root@WRT160NL:~# uname -a
Linux WRT160NL 2.6.32.10 #20 Tue Apr 6 15:01:26 CEST 2010 mips GNU/Linux
</pre>
<p>&nbsp;</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%2F06%2F04%2Finstall-openwrt-on-linksys-wrt160nl%2F&amp;title=Install%20OpenWRT%20on%20Linksys%20WRT160NL" id="wpa2a_36"><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/04/install-openwrt-on-linksys-wrt160nl/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>OpenBSD 4.7 is out</title>
		<link>http://www.it-slav.net/blogs/2010/05/26/openbsd-4-7-is-out/</link>
		<comments>http://www.it-slav.net/blogs/2010/05/26/openbsd-4-7-is-out/#comments</comments>
		<pubDate>Wed, 26 May 2010 16:51:36 +0000</pubDate>
		<dc:creator>peter</dc:creator>
				<category><![CDATA[Cool things]]></category>
		<category><![CDATA[Hints]]></category>
		<category><![CDATA[OpenBSD]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.it-slav.net/blogs/?p=1819</guid>
		<description><![CDATA[This is old news but still important. &#160; - OpenBSD 4.7 RELEASED ------------------------------------------------- May 19, 2010. We are pleased to announce the official release of OpenBSD 4.7. This is our 27th release on CD-ROM (and 28th via FTP). We remain proud of OpenBSD's record of more than ten years with only two remote holes in [...]]]></description>
			<content:encoded><![CDATA[<p>This is old news but still important.</p>
<p>&nbsp;</p>
<pre wrap="">
- OpenBSD 4.7 RELEASED -------------------------------------------------

May 19, 2010.

We are pleased to announce the official release of OpenBSD 4.7.
This is our 27th release on CD-ROM (and 28th via FTP).  We remain
proud of OpenBSD's record of more than ten years with only two remote
holes in the default install.
<span id="more-1819"></span>
As in our previous releases, 4.7 provides significant improvements,
including new features, in nearly all areas of the system:

 - New/extended platforms:
    o OpenBSD/alpha
      o Added support for the DS15/DS25/ES45.
    o OpenBSD/loongson
      New platform for systems based on the Loongson 2E and 2F MIPS-compatible
      processors. Supported machines include:
      o Lemote Fuloong 2F mini-PC
      o Lemote Lynloong all-in-one-PC
      o Lemote Yeeloong netbook (8.9&quot; and 10.1&quot; models)
      o EMTEC Gdium Liberty 1000 netbook
    o OpenBSD/sgi
      o Added support for multi-node SGI Origin systems, in M mode.
      o Added support for the SGI Origin 350, Onyx 350, Onyx 4 and
        Tezro systems.
      o Added SMP support on the SGI Octane.
      o Support for many more onboard devices on Octane and Origin systems.
    o OpenBSD/socppc
      o Added support for the RouterBOARD RB600A.
    o OpenBSD/sparc64
      o Preliminary support for running OpenBSD in a guest domain on top of
        an OpenBSD control domain on sun4v machines.

 - Improved hardware support, including:
    o Revamped SCSI midlayer and improved driver support.
    o UDF 2.5 and 2.6 (HDDVD and Blu-ray) disks support.
    o Added mpath(4), a driver that steals paths to scsi devices if they could
      be available via multiple paths and then made available via mpath(4).
    o New aibs(4) driver for ASUSTeK AI Booster hardware monitoring.
    o New uthum(4) driver for the TEMPerHUM USB temperature and humidity
      sensors.
    o New utrh(4) driver for USBRH temperature and humidity sensors.
    o New uyurex(4) driver for the Maywa-denki &amp; KAYAC YUREX twitch/jiggle of
      knee sensor.
    o New urndis(4) driver for remote NDIS Ethernet over USB devices (phones).
    o New xf86-video-wsudl(4) Xorg driver for USB DisplayLink devices
      supported by udl(4).
    o New mpii(4) driver for LSI Logic Fusion MPT Message Passing Interface II
      based SAS 2 controllers.
    o New athn(4) driver for Atheros IEEE 802.11a/g/n wireless network devices.
    o New alc(4) driver for Atheros AR8131/AR8132 10/100/Gigabit Ethernet
      devices.
    o New lisa(4) driver for STMicroelectronics LIS331DL MEMS motion sensors.
    o New gcu(4) driver for Intel EP80579 Global Configuration Unit.
    o New lom(4) driver for LOMLite and LOMLite2 as found on many of Sun's
      UltraSPARC-IIi servers.
    o New vsw(4) driver for virtual switches on sun4v machines.
    o New vds(4) driver for virtual disk servers on sun4v machines.
    o Support for EP80579 integrated Ethernet and ICH9 M V has been added
      to em(4).
    o Support for 82599 and SFP+ 82598 devices has been added to ix(4).
    o Support for the Sun GigabitEthernet SBus Adapter 1.0/1.1 has been
      added to ti(4).
    o Support for SBus variants of the QLogic Fibre Channel host adapters
      has been added to isp(4).
    o Support for SBus variants of the Sun Gigabit Ethernet has been added
      to gem(4).
    o Support for Intel WiFi Link 1000 and Intel Centrino
      Advanced-N 6200/Ultimate-N 6300 has been added to iwn(4).
    o Support for Ralink RT3572 based 802.11n devices has been added to run(4).
    o VIA Tremor 5.1, M-Audio Revolution 5.1 cards has been added to envy(4).
    o New uhts(4) driver for USB HID touchscreens.
    o Improved touchscreen support in the xf86-input-ws(4) Xorg driver and
      improved calibration using the new device properties from Xinput.
    o Support for ON CAT6095 and ON CAT34TS02 temperature sensors added
      to sdtemp(4).
    o Several improvements and bug fixes to existing Ethernet drivers,
      including em(4), re(4), ti(4) and vge(4).
    o Support for the PIC PCI-X controller added to the SGI xbridge(4) driver.
    o Support for the onboard Fast Ethernet interface found on SGI Octane
      and many SGI Origin family systems, iec(4).
    o Support for more SGI input and video devices on Octane and Origin
      systems, with iockbc(4), impact(4), and odyssey(4).
    o Improved PCI resource allocation; more hardware left unconfigured by
      the machine's firmware (including hotplugged hardware) should work now.
    o Support for recording/full-duplex added to mavb(4).
    o Improved support for USB audio devices in uaudio(4).
    o Improved support for bwi(4) devices on strict-alignment architectures
      like armish.
    o Eliminate usage of SCSI tagged queueing mechanisms other than simple
      queuing, thus avoiding incorrect implementations on various disk devices.
    o Eliminate spurious dhclient(8) error messages when the specified
      interface does not exist.
    o Eliminate spurious softraid(4) error messages for removable devices
      without media.

 - New tools:
    o newfs_ext2fs(8) for creating ext2 filesystems.
    o mkuboot(8) for creating U-Boot boot loader images.
    o midicat(1) MIDI server allowing MIDI programs to communicate
    o POSIX-compliant fuser(1) to identify process IDs holding a file open

 - Filesystem midlayer improvements:
    o Dynamic Buffer Cache now supported to a max size set with sysctl
      kern.bufcachepercent
    o Dynamic VFS name cache rewrite, now uses Red/Black trees instead of
      linked lists.
    o Numerous NFS client stability fixes.
    o Fix FAT32 mounting.
    o Fix cd9660 directory handling to eliminate looping and random
      truncation of directory entries.
    o Fix various internal locking problems with cd9660, udf, msdosfs
      and ffs file systems.

 - pf(4) improvements:
    o nat-to, rdr-to, binat-to options replace the nat, rdr and binat
      translation rules.
      changes for more info.
    o The route-to, reply-to, dup-to and fastroute options in pf.conf
      move to filteropts.
    o pf(4) can now translate packets between different routing domains.
    o Added -S and -L options to pfctl(8) to store and load pf state table
      from a file.
    o Added support for IPV4 and IPv6 divert sockets.

 - OpenBGPD, OpenOSPFD and other routing daemon improvements:
    o Update capability code in bgpd(8) to follow RFC 5492.
    o BGP MPLS VPN (RFC 4364) support added to the bgpd RIB.
    o In bgpd(8), implement the RFC4486 BGP Cease Notification
      Message subcodes.
    o It is now possible to enable/disable specific BGP capabilities.
    o Update bgpctl(8) irrfilter to support IPv6 and 4-byte AS numbers.
    o Minimal router-dead-time of 1 second and sub-second hello intervals
      added to ospfd(8). Additionally it is now possible to specify
      sub-second SPF timers for faster route fail-over.
    o ospf6d(8) is now installed by default. The RIB can be synced with
      the kernel routing table now. Support for AS-ext LSA has been added.
      This is still work-in-progress but testing is highly appreciated.
    o ldpd -- the MPLS label distribution protocol daemon -- is now
      installed by default. A custom kernel with option MPLS is needed
      to use it.

 - Generic network stack improvements:
    o brconfig is now integrated into ifconfig(8)
    o Added vether(4), a virtual Ethernet device.
    o Two bugs in IPsec/HMAC-SHA2 were fixed, resulting in an incompatibility
      with the HMAC-SHA-256/384/512 hash algorithms with previous versions
      of OpenBSD and other IPsec implementations sharing the bugs.
    o In dhcpd(8), echo back the Relay Agent Information option if present,
      and add support for the ipsec-tunnel hardware type.
    o Make dhcrelay(8) pick up the routing domain from the specified interface
      and use that rdomain for relaying the packets to the server.
    o Added support in dhcrelay(8) for RFC3046 &quot;DHCP-over-ipsec&quot;.
    o Make the tcpdump(8) BGP OPEN capability parser RFC 5492 compliant.
    o Added an exec command to route(8) to run a process and its children
      in a specified routing domain.
    o ifconfig(8) now deals with more than 64 alias addresses.
    o Various fixes to mbuf defragmenting and mbuf chain copying
      improve reliability.

 - Assorted improvements:
    o malloc(3) now has an S flag to turn on the options that help debugging
      and improve security.
    o Updated terminfo(3) database and ncurses(3) library.
    o Added support for lazy binding in ld.so(1) on hppa.
    o Added POSIX silent check option (-C) to sort(1).
    o Added POSIX extended regular expression support to sed(1) (-E option).
    o Added GNU-compatible macro prefix option (-P) to m4(1).
    o Make it possible to specify a port in resolv.conf(5).
    o Improved FILE locking support in stdio(3).
    o Added SO_SNDTIMEO and SO_RCVTIMEO support in pthreads(3).
    o cdio(1) no longer prints bogus information if no TOC is found on
      the disk.
    o New -v flag causes cdio(1) to print profile and feature information.
    o whois(1) no longer attempts to keep the memory of 6Bone alive.
    o Added per-application MIDI-controlled volume knob to aucat(1)
    o Added MMC and MTC support to aucat(1) making possible MIDI-to-audio
      synchronization.
    o Added mio_open(3) interface to access hardware and software MIDI ports
    o Many memory leaks found by parfait and eliminated.
    o Make handling of floppy disk disklabels more reliable by properly
      initializing starting label.

 - Install/Upgrade process changes:
    o Take more care to ensure all filesystems are umount'ed when restarting
      an install or upgrade.
    o If no possible root disk is found, keep checking until one appears.
    o The default ftp directory for -stable is now the release directory
      instead of the snapshot directory.
    o Selection of TZ during installs is no longer confused by
      trailing slashes.
    o If /etc/X11 is found during upgrades, add the X sets to the list
      of default sets to install.

 - OpenSSH 5.5:
    o New features:
      o SSH protocol 1 is disabled by default.
      o Remove the libsectok/OpenSC-based smartcard code and add support
        for PKCS#11 tokens.
      o Add support for certificate authentication of users and hosts
        using a new, minimal OpenSSH certificate format (not X.509).
      o Added a 'netcat mode' to ssh(1).
      o Add the ability to revoke keys in sshd(8) and ssh(1).
      o Rewrite the ssh(1) multiplexing support to support non-blocking
        operation of the mux master.
      o Add a 'read-only' mode to sftp-server(8) that disables open in
        write mode and all other fs-modifying protocol methods. (bz#430)
      o Allow setting an explicit umask on the sftp-server(8) commandline
        to override whatever default the user has. (bz#1229)
      o Many improvements to the sftp(1) client.
      o New RSA keys will be generated with a public exponent of 65537
        instead of the previous value 35.
      o Passphrase-protected SSH protocol 2 private keys are now protected
        with AES-128 instead of 3DES.
    o The following significant bugs have been fixed in this release:
      o Fixed a minor information leak of environment variables specified in
        authorized_keys if an attacker happens to know the public key in use.
      o When using ChrootDirectory, make sure we test for the existence of
        the user's shell inside the chroot and not outside. (bz#1679)
      o Cache user and group name lookups in sftp-server using
        user_from_[ug]id(3) to improve performance on hosts where these
        operations are slow. (bz#1495)
      o Fix problem that prevented passphrase reading from being interrupted
        in some circumstances. (bz#1590)
      o Ignore and log any Protocol 1 keys where the claimed size is not
        equal to the actual size.
      o Make HostBased authentication work with a ProxyCommand. (bz#1569)
      o Avoid run-time failures when specifying hostkeys via a relative path
        by prepending the current working directory in these cases. (bz#1290)
      o Do not prompt for a passphrase if we fail to open a keyfile, and log
        the reason why the open failed to debug. (bz#1693)
      o Document that the PubkeyAuthentication directive is allowed in a
        sshd_config(5) Match block. (bz#1577)
      o When converting keys, truncate key comments at 72 chars as per
        RFC4716. (bz#1630)
      o Do not allow logins if /etc/nologin exists but is not readable by
        the user logging in.
      o Output a debug log if sshd(8) can't open an existing
        authorized_keys. (bz#1694)
      o Quell tc[gs]etattr(3) warnings when forcing a tty (ssh -tt), since
        we usually don't actually have a tty to read/set. (bz#1686)
      o Prevent sftp(1) from crashing when given a &quot;-&quot; without a command;
        also, allow whitespace to follow a &quot;-&quot;. (bz#1691)
      o After sshd(8) receives a SIGHUP, ignore subsequent HUPs while
        sshd(8) re-execs itself; prevents two HUPs in quick succession
        from resulting in sshd(8) dying. (bz#1692)
      o Clarify in sshd_config(5) that StrictModes does not apply to
        ChrootDirectory; permissions and ownership are always checked
        when chrooting. (bz#1532)
      o Set close-on-exec on various descriptors so they don't get leaked
        to child processes. (bz#1643)
      o Fix very rare race condition in x11/agent channel allocation
      o Fix incorrect exit status when multiplexing and channel ID 0 is
        recycled. (bz#1570)
      o Fail with an error when an attempt is made to connect to a server
        with ForceCommand=internal-sftp with a shell session. (bz#1606)
      o Warn but do not fail if stat(2)ing the subsystem binary
        fails. (bz#1599)
      o Change &quot;Connecting to host...&quot; message to &quot;Connected to host.&quot; and
        delay it until after the sftp protocol connection has been
        established. (bz#1588)
      o Use the HostKeyAlias rather than the hostname specified on the
        commandline when prompting for passwords. (bz#1039)
      o Correct off-by-one in percent_expand(). (bz#1607)
      o Fix passing of empty options from scp(1) and sftp(1) to the
        underlying ssh(1); also add support for the stop option &quot;--&quot;.
      o Fix an incorrect magic number and typo in PROTOCOL. (bz#1688)
      o Don't escape backslashes when displaying the SSH2 banner. (bz#1533)
      o Don't unnecessarily dup() the in and out fds for
        sftp-server(8). (bz#1566)
      o Force use of the correct hash function for random-art signature
        display. (bz#1611)
      o Do not fall back to adding keys without constraints when the agent
        refuses the constrained add request. (bz#1612)
      o Fix a race condition in ssh-agent(1) that could result in a wedged
        or spinning agent. (bz#1633)
      o Flush stdio before exec() to ensure that everything has made it out
        before the streams go away. (bz#1596)
      o Set FD_CLOEXEC on in/out sockets in sshd(8). (bz#1706)

 - Over 5,800 ports, major robustness and speed improvements in package tools.
 - Many pre-built packages for each architecture:
    o i386: 5951
    o sparc64: 5745
    o alpha: 5641
    o sh: 768
    o amd64: 5879
    o powerpc: 5785
    o sparc: 4053
    o arm: 3711
    o hppa: 5500
    o vax: 1785
    o mips64: 3690
    o mips64el: 4316

 - Some highlights:
    o Gnome 2.28.2.
    o KDE 3.5.10.
    o Xfce 4.6.1.
    o MySQL 5.1.42.
    o PostgreSQL 8.4.2.
    o Postfix 2.6.5.
    o OpenLDAP 2.3.43.
    o Mozilla Firefox 3.0.18 and 3.5.8.
    o Mozilla Thunderbird 2.0.0.23.
    o OpenOffice.org 3.1.1.
    o Emacs 21.4 and 22.3
    o Vim 7.2.267.
    o PHP 5.2.12.
    o Python 2.4.6, 2.5.4 and 2.6.3.
    o Ruby 1.8.6.369.

 - As usual, steady improvements in manual pages and other documentation.

 - The system includes the following major components from outside suppliers:
    o Xenocara (based on X.Org 7.4 with xserver 1.6.5 + patches,
      freetype 2.3.9, fontconfig 2.6.0, Mesa 7.4.2, xterm 250 and more)
    o Gcc 2.95.3 (+ patches) and 3.3.5 (+ patches)
    o Perl 5.10.1 (+ patches)
    o Our improved and secured version of Apache 1.3, with SSL/TLS
      and DSO support
    o OpenSSL 0.9.8k (+ patches)
    o Groff 1.15
    o Sendmail 8.14.3, with libmilter
    o Bind 9.4.2-P2 (+ patches)
    o Lynx 2.8.6rel.5 with HTTPS and IPv6 support (+ patches)
    o Sudo 1.7.2
    o Ncurses 5.7
    o Latest KAME IPv6
    o Heimdal 0.7.2 (+ patches)
    o Arla 0.35.7
    o Binutils 2.15 (+ patches)
    o Gdb 6.3 (+ patches)

If you'd like to see a list of what has changed between OpenBSD 4.6
and 4.7, look at

        <a href="http://www.openbsd.org/plus47.html" class="moz-txt-link-freetext">http://www.OpenBSD.org/plus47.html</a>

Even though the list is a summary of the most important changes
made to OpenBSD, it still is a very very long list.

------------------------------------------------------------------------
- SECURITY AND ERRATA --------------------------------------------------

We provide patches for known security threats and other important
issues discovered after each CD release.  As usual, between the
creation of the OpenBSD 4.7 FTP/CD-ROM binaries and the actual 4.7
release date, our team found and fixed some new reliability problems
(note: most are minor and in subsystems that are not enabled by
default).  Our continued research into security means we will find
new security problems -- and we always provide patches as soon as
possible.  Therefore, we advise regular visits to

        <a href="http://www.openbsd.org/security.html" class="moz-txt-link-freetext">http://www.OpenBSD.org/security.html</a>
and
	<a href="http://www.openbsd.org/errata.html" class="moz-txt-link-freetext">http://www.OpenBSD.org/errata.html</a>

Security patch announcements are sent to the <a href="mailto:security-announce@OpenBSD.org" class="moz-txt-link-abbreviated">security-announce@OpenBSD.org</a>
mailing list.  For information on OpenBSD mailing lists, please see:

	<a href="http://www.openbsd.org/mail.html" class="moz-txt-link-freetext">http://www.OpenBSD.org/mail.html</a>

------------------------------------------------------------------------
- CD-ROM SALES ---------------------------------------------------------

OpenBSD 4.7 is also available on CD-ROM.  The 3-CD set costs $50 CDN and
is available via mail order and from a number of contacts around the
world.  The set includes a colourful booklet which carefully explains the
installation of OpenBSD.  A new set of cute little stickers is also
included (sorry, but our FTP mirror sites do not support STP, the Sticker
Transfer Protocol).  As an added bonus, the second CD contains an audio
track, a song entitled &quot;I'm still here&quot;.  MP3 and OGG versions of
the audio track can be found on the first CD.

Lyrics (and an explanation) for the songs may be found at:

    <a href="http://www.openbsd.org/lyrics.html#47" class="moz-txt-link-freetext">http://www.OpenBSD.org/lyrics.html#47</a>

Profits from CD sales are the primary income source for the OpenBSD
project -- in essence selling these CD-ROM units ensures that OpenBSD
will continue to make another release six months from now.

The OpenBSD 4.7 CD-ROMs are bootable on the following four platforms:

  o i386
  o amd64
  o macppc
  o sparc64

(Other platforms must boot from floppy, network, or other method).

For more information on ordering CD-ROMs, see:

        <a href="http://www.openbsd.org/orders.html" class="moz-txt-link-freetext">http://www.OpenBSD.org/orders.html</a>

The above web page lists a number of places where OpenBSD CD-ROMs
can be purchased from.  For our default mail order, go directly to:

        <a href="https://https.openbsd.org/cgi-bin/order" class="moz-txt-link-freetext">https://https.OpenBSD.org/cgi-bin/order</a>

All of our developers strongly urge you to buy a CD-ROM and support
our future efforts.  Additionally, donations to the project are
highly appreciated, as described in more detail at:

        <a href="http://www.openbsd.org/goals.html#funding" class="moz-txt-link-freetext">http://www.OpenBSD.org/goals.html#funding</a>

------------------------------------------------------------------------
- OPENBSD FOUNDATION ---------------------------------------------------

For those unable to make their contributions as straightforward gifts,
the OpenBSD Foundation (<a href="http://www.openbsdfoundation.org/" class="moz-txt-link-freetext">http://www.openbsdfoundation.org</a>) is a Canadian
not-for-profit corporation that can accept larger contributions and
issue receipts.  In some situations, their receipt may qualify as a
business expense writeoff, so this is certainly a consideration for
some organizations or businesses.  There may also be exposure benefits
since the Foundation may be interested in participating in press releases.
In turn, the Foundation then uses these contributions to assist OpenBSD's
infrastructure needs.  Contact the foundation directors at
<a href="mailto:directors@openbsdfoundation.org" class="moz-txt-link-abbreviated">directors@openbsdfoundation.org</a> for more information.

------------------------------------------------------------------------
- T-SHIRT SALES --------------------------------------------------------

The OpenBSD distribution companies also sell tshirts and polo shirts.
And our users like them too.  We have a variety of shirts available,
with the new and old designs, from our web ordering system at, as
described above.

The OpenBSD 4.7 t-shirts are available now.  We also sell our older
shirts, as well as a selection of OpenSSH t-shirts.

------------------------------------------------------------------------
- FTP INSTALLS ---------------------------------------------------------

If you choose not to buy an OpenBSD CD-ROM, OpenBSD can be easily
installed via FTP.  Typically you need a single small piece of boot
media (e.g., a boot floppy) and then the rest of the files can be
installed from a number of locations, including directly off the
Internet.  Follow this simple set of instructions to ensure that
you find all of the documentation you will need while performing
an install via FTP.  With the CD-ROMs, the necessary documentation
is easier to find.

1) Read either of the following two files for a list of ftp
   mirrors which provide OpenBSD, then choose one near you:

        <a href="http://www.openbsd.org/ftp.html" class="moz-txt-link-freetext">http://www.OpenBSD.org/ftp.html</a>
        <a href="ftp://ftp.openbsd.org/pub/OpenBSD/4.7/ftplist" class="moz-txt-link-freetext">ftp://ftp.OpenBSD.org/pub/OpenBSD/4.7/ftplist</a>

   As of May 19, 2010, the following ftp mirror sites have the 4.7 release:

	<a href="ftp://ftp.eu.openbsd.org/pub/OpenBSD/4.7/" class="moz-txt-link-freetext">ftp://ftp.eu.openbsd.org/pub/OpenBSD/4.7/</a>	Stockholm, Sweden
	<a href="ftp://ftp.bytemine.net/pub/OpenBSD/4.7/" class="moz-txt-link-freetext">ftp://ftp.bytemine.net/pub/OpenBSD/4.7/</a>         Oldenburg, Germany
	<a href="ftp://mirror.aarnet.edu.au/pub/OpenBSD/4.7/" class="moz-txt-link-freetext">ftp://mirror.aarnet.edu.au/pub/OpenBSD/4.7/</a>     Brisbane, Australia
	<a href="ftp://ftp.wu-wien.ac.at/pub/OpenBSD/4.7/" class="moz-txt-link-freetext">ftp://ftp.wu-wien.ac.at/pub/OpenBSD/4.7/</a>        Vienna, Austria
	<a href="ftp://ftp.usa.openbsd.org/pub/OpenBSD/4.7/" class="moz-txt-link-freetext">ftp://ftp.usa.openbsd.org/pub/OpenBSD/4.7/</a>	CO, USA
	<a href="ftp://ftp5.usa.openbsd.org/pub/OpenBSD/4.7/" class="moz-txt-link-freetext">ftp://ftp5.usa.openbsd.org/pub/OpenBSD/4.7/</a>	CA, USA
	<a href="ftp://obsd.cec.mtu.edu/pub/OpenBSD/4.7/" class="moz-txt-link-freetext">ftp://obsd.cec.mtu.edu/pub/OpenBSD/4.7/</a>         Michigan, USA

	The release is also available at the master site:

	<a href="ftp://ftp.openbsd.org/pub/OpenBSD/4.7/" class="moz-txt-link-freetext">ftp://ftp.openbsd.org/pub/OpenBSD/4.7/</a>	        Alberta, Canada

	However it is strongly suggested you use a mirror.

   Other mirror sites may take a day or two to update.

2) Connect to that ftp mirror site and go into the directory
   pub/OpenBSD/4.7/ which contains these files and directories.
   This is a list of what you will see:

        ANNOUNCEMENT     armish/          mvme68k/         sparc64/
        Changelogs/      ftplist          mvme88k/         src.tar.gz
        HARDWARE         hp300/           packages/        sys.tar.gz
        PACKAGES         hppa/            ports.tar.gz     tools/
        PORTS            i386/            root.mail        vax/
        README           landisk/         sgi/             xenocara.tar.gz
        alpha/           mac68k/          socppc/          zaurus/
        amd64/           macppc/          sparc/

   It is quite likely that you will want at LEAST the following
   files which apply to all the architectures OpenBSD supports.

        README          - generic README
        HARDWARE        - list of hardware we support
        PORTS           - description of our &quot;ports&quot; tree
        PACKAGES        - description of pre-compiled packages
        root.mail       - a copy of root's mail at initial login.
			  (This is really worthwhile reading).

3) Read the README file.  It is short, and a quick read will make
   sure you understand what else you need to fetch.

4) Next, go into the directory that applies to your architecture,
   for example, i386.  This is a list of what you will see:

	INSTALL.i386    cd47.iso        floppyB47.fs    pxeboot*
	INSTALL.linux   cdboot*         floppyC47.fs    xbase47.tgz
	MD5             cdbr*           game47.tgz      xetc47.tgz
	base47.tgz      cdemu47.iso     index.txt       xfont47.tgz
	bsd*            comp47.tgz      install47.iso   xserv47.tgz
	bsd.mp*         etc47.tgz       man47.tgz       xshare47.tgz
	bsd.rd*         floppy47.fs     misc47.tgz

   If you are new to OpenBSD, fetch <span class="moz-txt-underscore"><span class="moz-txt-tag">_</span>at least<span class="moz-txt-tag">_</span></span> the file INSTALL.i386
   and the appropriate floppy*.fs or install47.iso files.  Consult the
   INSTALL.i386 file if you don't know which of the floppy images
   you need (or simply fetch all of them).

   If you use the install47.iso file (roughly 200MB in size), then you
   do not need the various *.tgz files since they are contained on that
   one-step ISO-format install CD.

5) If you are an expert, follow the instructions in the file called
   README; otherwise, use the more complete instructions in the
   file called INSTALL.i386.  INSTALL.i386 may tell you that you
   need to fetch other files.

6) Just in case, take a peek at:

        <a href="http://www.openbsd.org/errata.html" class="moz-txt-link-freetext">http://www.OpenBSD.org/errata.html</a>

   This is the page where we talk about the mistakes we made while
   creating the 4.7 release, or the significant bugs we fixed
   post-release which we think our users should have fixes for.
   Patches and workarounds are clearly described there.

Note: If you end up needing to write a raw floppy using Windows,
      you can use &quot;fdimage.exe&quot; located in the pub/OpenBSD/4.7/tools
      directory to do so.

------------------------------------------------------------------------
- X.ORG FOR MOST ARCHITECTURES -----------------------------------------

X.Org has been integrated more closely into the system.  This release
contains X.Org 7.4.  Most of our architectures ship with X.Org, including
amd64, sparc, sparc64 and macppc.  During installation, you can install
X.Org quite easily.  Be sure to try out xdm(1) and see how we have
customized it for OpenBSD.

------------------------------------------------------------------------
- PORTS TREE -----------------------------------------------------------

The OpenBSD ports tree contains automated instructions for building
third party software.  The software has been verified to build and
run on the various OpenBSD architectures.  The 4.7 ports collection,
including many of the distribution files, is included on the 3-CD
set.  Please see the PORTS file for more information.

Note: some of the most popular ports, e.g., the Apache web server
and several X applications, come standard with OpenBSD.  Also, many
popular ports have been pre-compiled for those who do not desire
to build their own binaries (see BINARY PACKAGES, below).

------------------------------------------------------------------------
- BINARY PACKAGES WE PROVIDE -------------------------------------------

A large number of binary packages are provided.  Please see the PACKAGES
file (<a href="ftp://ftp.openbsd.org/pub/OpenBSD/4.7/PACKAGES" class="moz-txt-link-freetext">ftp://ftp.OpenBSD.org/pub/OpenBSD/4.7/PACKAGES</a>) for more details.

------------------------------------------------------------------------
- SYSTEM SOURCE CODE ---------------------------------------------------

The CD-ROMs contain source code for all the subsystems explained
above, and the README (<a href="ftp://ftp.openbsd.org/pub/OpenBSD/4.7/README" class="moz-txt-link-freetext">ftp://ftp.OpenBSD.org/pub/OpenBSD/4.7/README</a>)
file explains how to deal with these source files.  For those who
are doing an FTP install, the source code for all four subsystems
can be found in the pub/OpenBSD/4.7/ directory:

        xenocara.tar.gz     ports.tar.gz   src.tar.gz     sys.tar.gz

------------------------------------------------------------------------
- THANKS ---------------------------------------------------------------

Ports tree and package building by Jasper Lievisse Adriaanse, Michael Erdely,
Simon Bertrang, Stuart Henderson, Antoine Jacoutot, Robert Nagy,
Nikolay Sturm, and Christian Weisgerber.  System builds by Theo de Raadt,
Mark Kettenis, and Miod Vallat.  X11 builds by Todd Fries and Miod Vallat.
ISO-9660 filesystem layout by Theo de Raadt.

We would like to thank all of the people who sent in bug reports, bug
fixes, donation cheques, and hardware that we use.  We would also like
to thank those who pre-ordered the 4.7 CD-ROM or bought our previous
CD-ROMs.  Those who did not support us financially have still helped
us with our goal of improving the quality of the software.

Our developers are:

    Alexander Bluhm, Alexander Hall, Alexander von Gernler,
    Alexander Yurchenko, Alexandre Ratchov, Alexey Vatchenko,
    Anders Magnusson, Andreas Gunnarsson, Anil Madhavapeddy,
    Antoine Jacoutot, Ariane van der Steldt, Artur Grabowski,
    Austin Hook, Benoit Lecocq, Bernd Ahlers, Bob Beck, Bret Lambert,
    Can Erkin Acar, Chad Loder, Charles Longeau, Chris Kuethe,
    Christian Weisgerber, Claudio Jeker, Dale Rahn, Damien Bergamini,
    Damien Miller, Dariusz Swiderski, Darren Tucker,
    David Gwynne,  David Hill, David Krause, Edd Barrett, Eric Faurot,
    Esben Norby,  Fabien Romano, Federico G. Schwindt, Felix Kronlage,
    Gilles Chehade, Giovanni Bechis, Gordon Willem Klok,
    Henning Brauer, Ian Darwin, Igor Sobrado, Ingo Schwarze,
    Jacek Masiulaniec, Jacob Meuser, Jakob Schlyter, Janne Johansson,
    Jared Yanovich, Jason Dixon, Jason George, Jason McIntyre,
    Jason Meltzer, Jasper Lievisse Adriaanse, Jim Razmus II, Joel Sing,
    Joerg Goltermann, Johan Mson Lindman, Jolan Luff, Jonathan Armani,
    Jonathan Gray, Jordan Hargrave, Joshua Stein, Kenneth R Westerback,
    Kevin Lo, Kevin Steves, Kjell Wooding, Kurt Miller, Landry Breuil,
    Laurent Fanis, Marc Espie, Marco Peereboom, Marco Pfatschbacher,
    Marco S Hyman, Marcus Glocker, Marek Vasut, Mark Kettenis,
    Mark Uemura, Markus Friedl, Martin Reindl, Martynas Venckus,
    Mathieu Sauve-Frankel, Mats O Jansson, Matthias Kilian,
    Matthieu Herrb, Michael Erdely, Michael Knudsen, Michele Marchetto,
    Mike Larkin, Miod Vallat, Moritz Grimm, Moritz Jodeit,
    Nicholas Marriott, Nick Holland, Nikolay Sturm, Okan Demirmen,
    Oleg Safiullin, Otto Moerbeek, Owain Ainsworth, Paul de Weerd,
    Paul Irofti, Peter Hessler, Peter Stromberg, Peter Valchev,
    Philip Guenther, Pierre-Emmanuel Andre, Pierre-Yves Ritschard,
    Rainer Giedat, Reyk Floeter, Robert Nagy, Rui Reis,
    Ryan Thomas McBride, Simon Bertrang, Simon Perreault, Stefan Kempf,
    Stefan Sperling, Stephan A. Rickauer, Steven Mestdagh,
    Stuart Henderson, Takuya Asada, Ted Unangst, Theo de Raadt,
    Thordur I Bjornsson, Tobias Stoeckmann, Tobias Weingartner,
    Todd C. Miller, Todd Fries, Will Maier, William Yodlowsky,
    Xavier Santolaria, Yasuoka Masahiko, Yojiro Uo
</pre>
<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%2F05%2F26%2Fopenbsd-4-7-is-out%2F&amp;title=OpenBSD%204.7%20is%20out" id="wpa2a_38"><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/05/26/openbsd-4-7-is-out/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Enable Huawei E1750 in Ubuntu 10.04</title>
		<link>http://www.it-slav.net/blogs/2010/05/23/enable-huawei-e1750-in-ubuntu-10-04/</link>
		<comments>http://www.it-slav.net/blogs/2010/05/23/enable-huawei-e1750-in-ubuntu-10-04/#comments</comments>
		<pubDate>Sun, 23 May 2010 07:10:27 +0000</pubDate>
		<dc:creator>peter</dc:creator>
				<category><![CDATA[bash]]></category>
		<category><![CDATA[Cool things]]></category>
		<category><![CDATA[Geek stuff]]></category>
		<category><![CDATA[Hints]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[Huawei]]></category>

		<guid isPermaLink="false">http://www.it-slav.net/blogs/?p=1792</guid>
		<description><![CDATA[&#160; I&#8217;m the happay owner of a Huawei E1750 modem and it is real easy to get it running in Ubuntu. This guide will probably work with many other 3G USB&#160;modems. Just type from the command line: sudo apt-get install usb-modeswitch Plug in the modem Go to the Network manager and enter your Mobile Broadband [...]]]></description>
			<content:encoded><![CDATA[<p>&nbsp;</p>
<p>I&#8217;m the happay owner of a Huawei E1750 modem and it is real easy to get it running in Ubuntu. This guide will probably work with many other 3G USB&nbsp;modems.</p>
<p>Just type from the command line:</p>
<pre>
sudo apt-get install usb-modeswitch
</pre>
<p>Plug in the modem</p>
<p>Go to the Network manager and enter your Mobile Broadband credentials and now it works!</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%2F05%2F23%2Fenable-huawei-e1750-in-ubuntu-10-04%2F&amp;title=Enable%20Huawei%20E1750%20in%20Ubuntu%2010.04" id="wpa2a_40"><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/05/23/enable-huawei-e1750-in-ubuntu-10-04/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Android app for Nagios or op5 Monitor</title>
		<link>http://www.it-slav.net/blogs/2010/05/01/android-app-for-nagios-or-op5-monitor/</link>
		<comments>http://www.it-slav.net/blogs/2010/05/01/android-app-for-nagios-or-op5-monitor/#comments</comments>
		<pubDate>Sat, 01 May 2010 13:30:56 +0000</pubDate>
		<dc:creator>peter</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[Cool things]]></category>
		<category><![CDATA[english]]></category>
		<category><![CDATA[Geek stuff]]></category>
		<category><![CDATA[Hints]]></category>
		<category><![CDATA[Nagios]]></category>
		<category><![CDATA[op5 Monitor]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[NagMonDroid]]></category>
		<category><![CDATA[Nagroid]]></category>

		<guid isPermaLink="false">http://www.it-slav.net/blogs/?p=1764</guid>
		<description><![CDATA[&#160; With my new and fancy HTC Desire I wanted to look at my Nagios or op5 Monitor status. I&#160;have found two apps Nagroid and NagMonDroid. &#160; NagMonDroid did I&#160;not get working, probably because op5 Monitor only uses https as protocol. &#160; Nagroid works like a charm: &#160; The configuration is rather straightforward:]]></description>
			<content:encoded><![CDATA[<p>&nbsp;</p>
<p>With my new and fancy HTC Desire I wanted to look at my <a href="http://www.nagios.org">Nagios</a> or <a href="http://www.op5.com/op5/products/network-monitor">op5 Monitor</a> status. I&nbsp;have found two apps <a href="http://www.kiu.weite-welt.com/de.schoar.android//nagroid/help/">Nagroid</a> and <a href="http://www.simonmclaughlin.co.uk/page/Android_Apps/">NagMonDroid</a>.</p>
<p>&nbsp;<span id="more-1764"></span></p>
<p>NagMonDroid did I&nbsp;not get working, probably because op5 Monitor only uses https as protocol.</p>
<p>&nbsp;</p>
<p>Nagroid works like a charm:</p>
<p><a href="http://www.it-slav.net/blogs/wp-content/uploads/2010/05/nagroid.png"><img width="480" height="800" src="http://www.it-slav.net/blogs/wp-content/uploads/2010/05/nagroid.png" alt="" title="nagroid" class="aligncenter size-full wp-image-1765" /></a></p>
<p>&nbsp;</p>
<p>The configuration is rather straightforward:</p>
<p><a href="http://www.it-slav.net/blogs/wp-content/uploads/2010/05/nagroid-settings.png"><img width="480" height="800" class="aligncenter size-full wp-image-1768" title="nagroid-settings" alt="" src="http://www.it-slav.net/blogs/wp-content/uploads/2010/05/nagroid-settings.png" /></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%2F05%2F01%2Fandroid-app-for-nagios-or-op5-monitor%2F&amp;title=Android%20app%20for%20Nagios%20or%20op5%20Monitor" id="wpa2a_42"><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/05/01/android-app-for-nagios-or-op5-monitor/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Hint: Howto get Android SDK working on Ubuntu</title>
		<link>http://www.it-slav.net/blogs/2010/05/01/hint-howto-get-android-sdk-working-on-ubuntu/</link>
		<comments>http://www.it-slav.net/blogs/2010/05/01/hint-howto-get-android-sdk-working-on-ubuntu/#comments</comments>
		<pubDate>Sat, 01 May 2010 13:14:02 +0000</pubDate>
		<dc:creator>peter</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[Cool things]]></category>
		<category><![CDATA[english]]></category>
		<category><![CDATA[Geek stuff]]></category>
		<category><![CDATA[Hints]]></category>
		<category><![CDATA[screenshoots]]></category>

		<guid isPermaLink="false">http://www.it-slav.net/blogs/?p=1751</guid>
		<description><![CDATA[&#160; I wanted to use the Android SDK on my Ubuntu machine, mainly to grab screenshoots but also to play around with it. &#160; I followed the guidelines at this guide, but it did not work. DDM just show garbage as the device and when trying to get a screenshoot it complained with: 54:42 W/ddms: [...]]]></description>
			<content:encoded><![CDATA[<p>&nbsp;</p>
<p>I wanted to use the Android SDK on my Ubuntu machine, mainly to grab screenshoots but also to play around with it.</p>
<p>&nbsp;</p>
<p>I followed the guidelines at <a href="http://www.downloadsquad.com/2008/10/22/taking-screenshots-on-an-android-based-phone/">this</a> guide, but it did not work. DDM just show garbage as the device and when trying to get a screenshoot it complained with:</p>
<pre>
54:42 W/ddms: Unable to get frame buffer: device (????????????)
request rejected: insufficient permissions for device<span id="more-1751"></span>
</pre>
<p><a href="http://www.it-slav.net/blogs/wp-content/uploads/2010/05/ddm-fel.png"><img src="http://www.it-slav.net/blogs/wp-content/uploads/2010/05/ddm-fel.png" alt="" title="ddm-fel" class="aligncenter size-full wp-image-1752" style="width: 687px; height: 513px;" /></a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>After some googling i figured out that I had to hack my udev rules.</p>
<p>I added to /etc/udev/rules.d/51-android.rules</p>
<pre>
SUBSYSTEMS==&quot;usb&quot;, ATTRS{idVendor}==&quot;0bb4&quot;, ATTRS{idProduct}==&quot;0c87&quot;, MODE=&quot;0666&quot;
 </pre>
<pre>
and run

reload udev</pre>
<p>&nbsp;</p>
<p>The idVendor and&nbsp; idProduct was found by running lsusb:</p>
<pre>
# lsusb
Bus 002 Device 011: ID 0bb4:0c87 High Tech Computer Corp. 
</pre>
<p>&nbsp;</p>
<p>Now when starting DDM:</p>
<p><a href="http://www.it-slav.net/blogs/wp-content/uploads/2010/05/ddm-funkar.png"><img src="http://www.it-slav.net/blogs/wp-content/uploads/2010/05/ddm-funkar.png" alt="" title="ddm-funkar" class="aligncenter size-full wp-image-1753" style="width: 646px; height: 490px;" /></a></p>
<p>&nbsp;</p>
<p>And I&nbsp;can take screenshoots:</p>
<p><a href="http://www.it-slav.net/blogs/wp-content/uploads/2010/05/android-screenshoot.png"><img width="480" height="800" src="http://www.it-slav.net/blogs/wp-content/uploads/2010/05/android-screenshoot.png" alt="" title="android-screenshoot" class="aligncenter size-full wp-image-1754" /></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%2F05%2F01%2Fhint-howto-get-android-sdk-working-on-ubuntu%2F&amp;title=Hint%3A%20Howto%20get%20Android%20SDK%20working%20on%20Ubuntu" id="wpa2a_44"><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/05/01/hint-howto-get-android-sdk-working-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>2</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_46"><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>Ash hole luck</title>
		<link>http://www.it-slav.net/blogs/2010/04/23/ash-hole-luck/</link>
		<comments>http://www.it-slav.net/blogs/2010/04/23/ash-hole-luck/#comments</comments>
		<pubDate>Fri, 23 Apr 2010 18:34:51 +0000</pubDate>
		<dc:creator>peter</dc:creator>
				<category><![CDATA[Cool things]]></category>
		<category><![CDATA[ash hole]]></category>

		<guid isPermaLink="false">http://www.it-slav.net/blogs/?p=1731</guid>
		<description><![CDATA[&#160; I have not updated my blog lately because of heavy traveling. In Tuesday, after visiting GoOpen 2010, I took this picture at Gardemoen, Oslo. I was very lucky because my flight was DY3774 It seams like I was in luck and used an ash hole to get home:-)]]></description>
			<content:encoded><![CDATA[<p>&nbsp;</p>
<p>I have not updated my blog lately because of heavy traveling. In Tuesday, after visiting <a href="http://www.goopen.no/english/">GoOpen 2010</a>, I took this picture at Gardemoen, Oslo. I was very lucky because my flight was DY3774</p>
<p><a href="http://www.it-slav.net/blogs/wp-content/uploads/2010/04/gardemoen.png"><img src="http://www.it-slav.net/blogs/wp-content/uploads/2010/04/gardemoen.png" alt="" title="gardemoen" class="aligncenter size-full wp-image-1732" style="width: 681px; height: 228px;" /></a></p>
<p>It seams like I was in luck and used an ash hole to get home:-)</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%2F23%2Fash-hole-luck%2F&amp;title=Ash%20hole%20luck" id="wpa2a_48"><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/23/ash-hole-luck/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

