<?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>/home/kd35a</title>
	<atom:link href="http://kd35a.se/feed/" rel="self" type="application/rss+xml" />
	<link>http://kd35a.se</link>
	<description>Yarr!</description>
	<lastBuildDate>Thu, 10 Nov 2011 14:00:54 +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>Dovecot and Sieve</title>
		<link>http://kd35a.se/2011/08/dovecot-and-sieve/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=dovecot-and-sieve</link>
		<comments>http://kd35a.se/2011/08/dovecot-and-sieve/#comments</comments>
		<pubDate>Wed, 17 Aug 2011 16:06:57 +0000</pubDate>
		<dc:creator>kd35a</dc:creator>
				<category><![CDATA[server]]></category>
		<category><![CDATA[dovecot]]></category>
		<category><![CDATA[mail]]></category>
		<category><![CDATA[postfix]]></category>
		<category><![CDATA[sieve]]></category>

		<guid isPermaLink="false">http://kd35a.se/?p=237</guid>
		<description><![CDATA[This will be a short post on how to get Postfix, Dovecot and Sieve working together. First I will assume you have set up Postfix and Dovecot. If not, use a guide like this one, from Linode. This guide is written for Ubuntu 10.04 LTS Server, but could be useful under other distributions as well. [...]]]></description>
			<content:encoded><![CDATA[<p>This will be a short post on how to get Postfix, Dovecot and Sieve working together. First I will assume you have set up Postfix and Dovecot. If not, use a guide like <a href="http://library.linode.com/email/postfix/dovecot-system-users-ubuntu-10.04-lucid">this one, from Linode</a>. This guide is written for Ubuntu 10.04 LTS Server, but could be useful under other distributions as well.</p>

<p>Next thing is to assure all your mail that Postfix receives goes through Dovecot. Look in <span style="font-family:monospace;">/etc/postfix/main.cf</span>, and see that <span style="font-family:monospace;">mailbox_command</span> is properly set:</p>
<pre class="brush: bash; title: ; notranslate">mailbox_command = /usr/lib/dovecot/deliver -c /etc/dovecot/conf.d/01-dovecot-postfix.conf -n -m &quot;${EXTENSION}&quot;</pre>

<p>Next we want to assure that Dovecot uses Sieve. Open <span style="font-family:monospace;">/etc/dovecot/conf.d/01-dovecot-postfix.conf</span> and make sure you have the following in the file, otherwise append it to the end of the file:</p>
<pre class="brush: bash; title: ; notranslate">plugin {
        sieve=~/.dovecot.sieve
        sieve_dir=~/sieve
}</pre>

<p>Now go to your home directory. There you should create a folder called &#8216;sieve&#8217;. Now create a file &#8216;.dovecot.sieve&#8217; in your home folder. This file should contain your scripts. For example I like to sort out all notification-mail I get from Facebook to a special folder:</p>
<pre class="brush: bash; title: ; notranslate">require &quot;fileinto&quot;;
if address :is &quot;From&quot; [&quot;update+m5_m5___@facebookmail.com&quot;, &quot;notification+m5_m5___@facebookmail.com&quot;]
{
	fileinto &quot;Facebook&quot;;
}</pre>

<p>It should be noted that I&#8217;m not completely sure about the sieve-folder. From <a href="http://wiki.dovecot.org/LDA/Sieve#Include_scripts">http://wiki.dovecot.org/LDA/Sieve#Include_scripts</a> it looks like you should put your scripts in that folder, and then link them from .dovecot.sieve. This is probably nice to do when you have a lot of scripts for sorting your mail. But I&#8217;m going to continue using .dovecot.sieve for my scripts, and if it gets nasty I will have to sort it out later.</p>]]></content:encoded>
			<wfw:commentRss>http://kd35a.se/2011/08/dovecot-and-sieve/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FTPES with vsftpd</title>
		<link>http://kd35a.se/2011/06/ftpes-with-vsftpd/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=ftpes-with-vsftpd</link>
		<comments>http://kd35a.se/2011/06/ftpes-with-vsftpd/#comments</comments>
		<pubDate>Wed, 01 Jun 2011 22:38:07 +0000</pubDate>
		<dc:creator>kd35a</dc:creator>
				<category><![CDATA[server]]></category>
		<category><![CDATA[ftp]]></category>
		<category><![CDATA[ftpes]]></category>
		<category><![CDATA[ftps]]></category>
		<category><![CDATA[ssl]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[vsftpd]]></category>

		<guid isPermaLink="false">http://kd35a.se/?p=202</guid>
		<description><![CDATA[I&#8217;m going to travel soon, and wanted an opportunity to safely backup my pictures during my travel to my server with RAIDed (1) disks. And of course this needs to be secured with SSL ;) Now we want our certificates and keys organized a bit different than with lighttpd: Now edit your /etc/vsftpd.conf-file to look [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m going to travel soon, and wanted an opportunity to safely backup my pictures during my travel to my server with RAIDed (1) disks. And of course this needs to be secured with SSL ;)</p>

<pre class="brush: plain; title: ; notranslate">$ sudo apt-get install vsftpd</pre>

<p>Now we want our certificates and keys organized a bit different than with <a href="http://kd35a.se/2011/05/new-server/">lighttpd</a>:</p>

<pre class="brush: plain; title: ; notranslate">server_name.crt - the certificate for your server
server_name.key - the key associated with the above certificate
startssl_or_other_ca.pem - this file should contain the all the certificates in the chain from your CA, in the case with StartSSL it's two: root CA-cert and a class 1-signing-cert</pre>

<p>Now edit your /etc/vsftpd.conf-file to look something like this (this works for me with StartSSL at least):</p>

<pre class="brush: plain; title: ; notranslate">[...]
anonymous_enable=NO
[...]
ssl_enable=YES
rsa_cert_file=/etc/ssl/vsftpd/server_name.crt
rsa_private_key_file=/etc/ssl/vsftpd/server_name.key
ca_certs_file=/etc/ssl/vsftpd/startssl_or_other_ca.pem
ssl_ciphers=ALL:!ADH:!EXPORT:!SSLv2:RC4+RSA:+HIGH:+MEDIUM

force_local_data_ssl=YES
force_local_logins_ssl=YES</pre>

<p>The line with &#8221;ssl_ciphers=ALL:!ADH:!EXPORT:!SSLv2:RC4+RSA:+HIGH:+MEDIUM&#8221; uses the configuration found at <a href="https://www.startssl.com/?app=21">StartSSLs site about Apache-configuration</a>.</p>

<p>Notice that the ca_certs_file-option <a href="http://vsftpd.beasts.org/vsftpd_conf.html#lbAG">only works in version 2.0.6 and up</a>. I don&#8217;t know how this is made in earlier versions of vsftpd.</p>]]></content:encoded>
			<wfw:commentRss>http://kd35a.se/2011/06/ftpes-with-vsftpd/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>New server</title>
		<link>http://kd35a.se/2011/05/new-server/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=new-server</link>
		<comments>http://kd35a.se/2011/05/new-server/#comments</comments>
		<pubDate>Mon, 16 May 2011 01:26:38 +0000</pubDate>
		<dc:creator>kd35a</dc:creator>
				<category><![CDATA[Okategoriserade]]></category>

		<guid isPermaLink="false">http://kd35a.se/?p=183</guid>
		<description><![CDATA[So, my new server is up and running :) It&#8217;s an old node from HPC2N which found it&#8217;s way to me via some nice people (thanks Sikevux, and MMN-o from Umeå Hackerspace!). Until this day I have used Apache as my web-server. But after reading about lighttpd, and some friends telling me to try it [...]]]></description>
			<content:encoded><![CDATA[<p>So, my new server is up and running :) It&#8217;s an old node from <a href="http://www.hpc2n.umu.se/">HPC2N</a> which found it&#8217;s way to me via some nice people (thanks <a href="http://sikevux.se/">Sikevux</a>, and <a href="http://blog.mmn-o.se/">MMN-o</a> from <a href="http://umeahackerspace.se/">Umeå Hackerspace</a>!).</p>

<p>Until this day I have used <a href="http://httpd.apache.org/">Apache</a> as my web-server. But after reading about <a href="http://www.lighttpd.net/">lighttpd</a>, and some friends telling me to try it out, I now have done some initial configuration.</p>

<p>First out: SSL-certificate. To create a SSL-key, and to generate a Certificate signing request (CSR), run the following in a terminal.</p>

<pre class="brush: bash; title: ; notranslate">$ openssl req -new -newkey rsa:4096 -keyout ssl.key -out ssl.csr</pre>

<p>This creates a 4096-bit RSA-key (ssl.key), and a CSR (ssl.csr).</p>

<p>After this we want it to be signed by a certificate authority, and my choice is <a href="https://www.startssl.com/">StartSSL</a>. They sign class 1 certificates for free. After you have created an account, go to the control panel, click &#8221;Validations Wizard&#8221; and choose &#8221;Domain Name Validation&#8221; and follow their instructions. Now you can go to &#8221;Certificates Wizard&#8221; in the control panel, choose &#8221;Web Server SSL/TLS Certificate&#8221;.</p>

<p>Now click &#8221;Skip&#8221;, because you already have a key! Paste the contents the file ssl.csr into the field, and then follow the instructions. After this you&#8217;ll just have to wait for StartSSL to accept (or decline) your CSR.</p>

<p>Now you hopefully have a signed certificate (saved in a file called ssl.crt) and your key, now you just need StartSSLs intermediate certificates. <a href="https://www.startssl.com/certs/sub.class1.server.ca.pem">This one</a>, and <a href="https://www.startssl.com/certs/ca.pem">this one</a>. Lighttpd doesn&#8217;t like those files to be separated, so we&#8217;ll combine them into one:</p>

<pre class="brush: bash; title: ; notranslate">$ cat ca.pem sub.class1.server.ca.pem &gt; startssl.pem
$ cat ssl.key ssl.crt &gt; ssl.pem</pre>

<p>Because i will host a lot of virtual hosts on this machine, I created a file <span style="font-family: monospace;">/etc/lighttpd/vhosts.conf</span>, which i include in the main configuration file by adding:</p>

<pre class="brush: bash; title: ; notranslate"># Here are all the virtual hosts specified
include &quot;vhosts.conf&quot;</pre>

<p>to the end of <span style="font-family: monospace;">/etc/lighttpd/lighttpd.conf</span> (Ubuntu 10.04 LTS).</p>

<p><span style="font-family: monospace;">/etc/lighttpd/vhosts.conf</span> looks like this:</p>

<pre class="brush: bash; title: ; notranslate">$HTTP[&quot;host&quot;] =~ &quot;example.com$&quot; {
    server.document-root = &quot;/var/www&quot;
}

$SERVER[&quot;socket&quot;] == &quot;0.0.0.0:443&quot; {
        ssl.engine = &quot;enable&quot;
        ssl.ca-file = &quot;[path to certs folder]/startssl.pem&quot;
        ssl.pemfile = &quot;[path to certs folder]/ssl.pem&quot;
        server.document-root = &quot;/var/www&quot;

        $HTTP[&quot;host&quot;] =~ &quot;example.com$&quot; {
                server.document-root = &quot;/var/www&quot;
        }

#       $HTTP[&quot;host&quot;] =~ &quot;example2.com$&quot; {
#               server.document-root = &quot;/var/vhosts/example2.com&quot;
#               ssl.ca-file = &quot;[path to certs folder]/startssl.pem&quot;
#               ssl.pemfile = &quot;[path to certs folder]/ssl2.pem&quot;
#       }
}</pre>

<p>In the end I included an example of what to do when adding more vhosts that want different certificates. Please observe that the handling of multiple domains and their SSL-certificates using a single IP needs to be done using <a href="http://en.wikipedia.org/wiki/Server_Name_Indication">SNI</a>, which does not always work.</p>]]></content:encoded>
			<wfw:commentRss>http://kd35a.se/2011/05/new-server/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Sanitize a hacked Joomla-site</title>
		<link>http://kd35a.se/2011/05/sanitize-a-hacked-joomla-site/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=sanitize-a-hacked-joomla-site</link>
		<comments>http://kd35a.se/2011/05/sanitize-a-hacked-joomla-site/#comments</comments>
		<pubDate>Tue, 03 May 2011 22:29:55 +0000</pubDate>
		<dc:creator>kd35a</dc:creator>
				<category><![CDATA[Okategoriserade]]></category>
		<category><![CDATA[hacked]]></category>
		<category><![CDATA[joomla]]></category>
		<category><![CDATA[sanitize]]></category>

		<guid isPermaLink="false">http://kd35a.se/?p=180</guid>
		<description><![CDATA[A friend of mine and me did some work with sanitizing a hacked Joomla-page today, for the second time. This time we went a little bit deeper, and have hopefully found the entry-point for the hackers and fixed it. Read more here.]]></description>
			<content:encoded><![CDATA[A <a href="http://blog.kejsarmakten.se/">friend of mine</a> and me did some work with sanitizing a hacked Joomla-page today, for the second time. This time we went a little bit deeper, and have hopefully found the entry-point for the hackers and fixed it. Read more <a href="http://blog.kejsarmakten.se/all/software/2011/01/14/malware-in-joomla.html">here</a>.]]></content:encoded>
			<wfw:commentRss>http://kd35a.se/2011/05/sanitize-a-hacked-joomla-site/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dell E6410</title>
		<link>http://kd35a.se/2011/04/dell-e6410/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=dell-e6410</link>
		<comments>http://kd35a.se/2011/04/dell-e6410/#comments</comments>
		<pubDate>Tue, 05 Apr 2011 01:02:45 +0000</pubDate>
		<dc:creator>kd35a</dc:creator>
				<category><![CDATA[Okategoriserade]]></category>
		<category><![CDATA[dell]]></category>
		<category><![CDATA[e6410]]></category>
		<category><![CDATA[Maverick Meerkat]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[ubuntu 10.10]]></category>

		<guid isPermaLink="false">http://kd35a.se/?p=157</guid>
		<description><![CDATA[I have recently (ok, a while a go, but I&#8217;ve been slow with updating this page) bought a new laptop, replacing the MacBook. I went for the Dell E6410 with a Core i7, 8GB RAM and a nVidia NVS 3100M graphic card. Of course went Windows 7 out the door fairly quickly, and in went [...]]]></description>
			<content:encoded><![CDATA[<p>I have recently (ok, a while a go, but I&#8217;ve been slow with updating this page) bought a new laptop, replacing the MacBook. I went for the Dell E6410 with a Core i7, 8GB RAM and a nVidia NVS 3100M graphic card. Of course went Windows 7 out the door fairly quickly, and in went Ubuntu 10.10 x86_64.</p>

<p>
Unfortunately did not everything work out of the box (though Ubuntu made a lot better than Windows, not even the CD-player worked out of the box there&#8230;), so here i will try to collect some tips:
</p>
<p>
<strong>First of: graphics</strong>
<br />
When first booting Ubuntu, you will get a blank screen. This is caused by some collision between the nVidia graphic card, and the i915 graphic card that is built in in the Core i7. When booting up the Ubuntu CD, choose the language you wish to use, and then press F6 to get the advanced settings. Mark the option <span style="font-family: monospace;">&#8221;nomodeset&#8221;</span>, and continue the install as normal.
</p>
<p>
After installation is finished, hold down shift while booting up, and the Grub menu will come up. Select the default entry, and press &#8221;e&#8221;, replace <span style="font-family: monospace;">&#8221;quiet splash&#8221;</span> with <span style="font-family: monospace;">&#8221;nomodeset&#8221;</span> and continue booting.
</p>
<p>
Now when booted up, install the proprietary drivers for the nVidia-card, and edit in the file <span style="font-family: monospace;">&#8221;/etc/default/grub&#8221;</span> so that you get <span style="font-family: monospace;">&#8216;GRUB_CMDLINE_LINUX_DEFAULT=&#8221;quiet splash nouveau.modeset=0 acpi_sleep=nonvs&#8221;&#8216;</span>. Now run <span style="font-family: monospace;">&#8221;sudo update-grub&#8221;</span>, and everything should work as you want.
</p>
<p>
<strong>SD-card reader</strong>
<br />
The next problem is the SD-card reader. Add the file <a href="https://bugs.launchpad.net/ubuntu/+source/linux/+bug/605043/comments/7">linked from here</a> to <span style="font-family: monospace;">&#8221;/etc/modprobe.d/&#8221;</span>:
<pre class="brush: plain; title: ; notranslate">$ sudo wget https://launchpadlibrarian.net/53259856/latitude-e6510-cardreader.conf -O /etc/modprobe.d/latitude-e6510-cardreader.conf</pre>
And now run:
<pre class="brush: plain; title: ; notranslate">$ sudo rmmod sdhci_pci
$ sudo rmmod sdhci
$ sudo modprobe sdhci_pci</pre>
</code>
</p>
<p>
If anything is unclear, or you think I forgot something important, feel free to leave a comment :)
</p>]]></content:encoded>
			<wfw:commentRss>http://kd35a.se/2011/04/dell-e6410/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Mailen hackad</title>
		<link>http://kd35a.se/2010/12/mailen-hackad/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=mailen-hackad</link>
		<comments>http://kd35a.se/2010/12/mailen-hackad/#comments</comments>
		<pubDate>Tue, 28 Dec 2010 19:43:02 +0000</pubDate>
		<dc:creator>kd35a</dc:creator>
				<category><![CDATA[Okategoriserade]]></category>
		<category><![CDATA[lösenord]]></category>

		<guid isPermaLink="false">http://kd35a.se/?p=136</guid>
		<description><![CDATA[Jahap, då kom den dagen även för mig&#8230; :( Ikväll så skickade jag detta mail till en del av mina kontakter: Dagens läxa? Fler säkerhetsnivåer på lösenord. Jag har redan idag ett flertal säkerhetsnivåer, men tydligen så litade jag lite för mycket på någon sida/server jag inte skulle litat på. Dags att hitta fler nivåer, [...]]]></description>
			<content:encoded><![CDATA[<p>
Jahap, då kom den dagen även för mig&#8230; :(
</p>

<p>
Ikväll så skickade jag detta mail till en del av mina kontakter:
</p>
<pre class="brush: plain; title: ; notranslate">I bought some items from a commercial site, because of the unique
channel of purchases,
product prices unexpected, I think you can go to see: [skit-sida som inte är värd en länk] ,
high-quality products can also attract you.</pre>

<p>
Dagens läxa? Fler säkerhetsnivåer på lösenord. Jag har redan idag ett flertal säkerhetsnivåer, men tydligen så litade jag lite för mycket på någon sida/server jag inte skulle litat på.
</p>

<p>
Dags att hitta fler nivåer, samtidigt som ens teflonminne ska kunna komma ihåg dom&#8230; Här ska det filosoferas över natt på olika sätt att organisera sina lösenord, samtidigt som man har flera säkerhetsnivåer (alpha, alphanum+tecken etc.).
</p>]]></content:encoded>
			<wfw:commentRss>http://kd35a.se/2010/12/mailen-hackad/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>WiFi on the Ben NanoNote</title>
		<link>http://kd35a.se/2010/11/wifi-on-the-ben-nanonote/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=wifi-on-the-ben-nanonote</link>
		<comments>http://kd35a.se/2010/11/wifi-on-the-ben-nanonote/#comments</comments>
		<pubDate>Mon, 01 Nov 2010 18:25:32 +0000</pubDate>
		<dc:creator>kd35a</dc:creator>
				<category><![CDATA[Okategoriserade]]></category>
		<category><![CDATA[NanoNote]]></category>
		<category><![CDATA[SDW-823]]></category>
		<category><![CDATA[spectec]]></category>
		<category><![CDATA[WiFi]]></category>
		<category><![CDATA[wpa_supplicant]]></category>

		<guid isPermaLink="false">http://kd35a.se/?p=104</guid>
		<description><![CDATA[I&#8217;m writing this in English so that I can reach more people. Just the other day I got my hands on a Ben NanoNote. It&#8217;s a really fantastic little machine with a MIPS-processor, 32MB RAM and 2GB flash. It runs a modified OpenWRT (linux) out of the box. The problem is that it has no [...]]]></description>
			<content:encoded><![CDATA[<p>
I&#8217;m writing this in English so that I can reach more people.
</p>
<p>
Just the other day I got my hands on a <a href="http://en.qi-hardware.com/wiki/Ben_NanoNote">Ben NanoNote</a>. It&#8217;s a really fantastic little machine with a MIPS-processor, 32MB RAM and 2GB flash. It runs a modified OpenWRT (linux) out of the box. The problem is that it has no integrated WiFi. But you can solve that problem with inserting a SDIO WiFi-card, in my case a <a href="http://www.spectec.com.tw/sdw-823.html">SPECTEC SDW-823</a>.
</p>
<p>
On the <a href="http://en.qi-hardware.com/wiki/Ben_NanoNote_Wi-Fi">projects wiki</a> they try to guide you how to get everything to work, but it isn&#8217;t very good written in my opinion. So here I guide you through my process:
</p>
<p>
<strong>1.</strong> Download this file: <a href="http://downloads.qi-hardware.com/software/ks7010-firmware-20100217.tar.bz2">http://downloads.qi-hardware.com/software/ks7010-firmware-20100217.tar.bz2</a>, and pack it up. You will find two files, <span style="font-family: monospace;">ks7010sd.rom</span> and <span style="font-family: monospace;">ks79xx.cfg</span>, put those in <span style="font-family: monospace;">/lib/firmware</span> on the NanoNote.
</p>
<p>
<strong>2.</strong> When I first put the WiFi-card in my NanoNote, the kernel flooded with messages like this in my terminals:
</p><pre class="brush: plain; title: ; notranslate">[ 9262.380000] jz4740-mmc jz4740-mmc.0: Sparse irq: 80
[ 9262.390000] /home/xiangfu/PanGu/openwrt-xburst/build_dir/linux-xburst_qi_lb60/ks7010/ks7010_sdio.c:ks_sdio_interrupt[573]
[ 9262.400000] jz4740-mmc jz4740-mmc.0: Sparse irq: 80
[ 9262.410000] /home/xiangfu/PanGu/openwrt-xburst/build_dir/linux-xburst_qi_lb60/ks7010/ks7010_sdio.c:ks_sdio_interrupt[639]
[ 9262.420000] /home/xiangfu/PanGu/openwrt-xburst/build_dir/linux-xburst_qi_lb60/ks7010/ks7010_sdio.c:ks_sdio_interrupt[639]
[ 9262.430000] /home/xiangfu/PanGu/openwrt-xburst/build_dir/linux-xburst_qi_lb60/ks7010/ks7010_sdio.c:ks_sdio_interrupt[647]
[ 9262.440000] /home/xiangfu/PanGu/openwrt-xburst/build_dir/linux-xburst_qi_lb60/ks7010/ks7010_sdio.c:ks_sdio_interrupt[651]</pre><p>
I didn&#8217;t get any good answers on the meaning of those (if you know better, please add a comment), but I found <a href="http://projects.qi-hardware.com/index.php/p/ben-nanonote/issues/86/">this</a>. So, open <span style="font-family: monospace;">/etc/config/system</span> in your favorite text-editor, and add an extra line with <span style="font-family: monospace;">option conloglevel 4</span>. Mine looks like this:
</p><pre class="brush: plain; title: ; notranslate">config system
        option hostname BenNanoNote
        option timezone UTC
        option conloglevel 4</pre><p>
</p>
<p>
<strong>3.</strong> Next we want to add a network to wpa_supplicant. Edit <span style="font-family: monospace;">/etc/wpa_supplicant/wpa_supplicant.conf</span> as you want it. Mine looks like this:
</p><pre class="brush: plain; title: ; notranslate">ctrl_interface=/var/run/wpa_supplicant

network={
        ssid=&quot;my-ap&quot;
        bssid=xx:xx:xx:xx:xx:xx
        scan_ssid=1
        key_mgmt=WPA-PSK
        proto=WPA2
        psk=&quot;my-password&quot;
}</pre><p>
</p>
<p>
<strong>4.</strong> Shut down your NanoNote with <span style="font-family: monospace;">halt</span>, and put in your WiFi-module, and start it up again. Now when you type <span style="font-family: monospace;">iwconfig</span> you should get something like:
</p><pre class="brush: plain; title: ; notranslate">lo        no wireless extensions.
usb0      no wireless extensions.
eth0      IEEE 802.11b/g  ESSID:&quot;default&quot;  
         Mode:Managed  Frequency:2.457 GHz  Access Point: Not-Associated   
         Bit Rate:11 Mb/s   
         RTS thr:off   Fragment thr:off
         Encryption key:off
         Power Management:off
         Link Quality=0/100  Signal level=0 dBm  Noise level=0 dBm
         Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
         Tx excessive retries:0  Invalid misc:0   Missed beacon:0</pre><p>
</p>
<p>
<strong>5.</strong> Execute <span style="font-family: monospace;">wpa_supplicant -Dwext -ieth0 -c /etc/wpa_supplicant/wpa_supplicant.conf</span>. If you don&#8217;t get any errors, you can go on. Otherwise, try to read out what&#8217;s wrong. Add a <span style="font-family: monospace;">-d</span>-argument for debugging-output, <span style="font-family: monospace;">-dd</span> for even more. It&#8217;s probably your <span style="font-family: monospace;">wpa_supplicant.conf</span> that&#8217;s wrong if earlier steps succeeded.
</p>
<p>
<strong>6.</strong> Now you just want an IP-address: <span style="font-family: monospace;">udhcpc eth0</span> . By this time you should probably be up and running :) Try for example <span style="font-family: monospace;">ping -c 4 www.google.com</span> to see if the connection works as intended.
</p>]]></content:encoded>
			<wfw:commentRss>http://kd35a.se/2010/11/wifi-on-the-ben-nanonote/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Kryptera</title>
		<link>http://kd35a.se/2010/07/kryptera/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=kryptera</link>
		<comments>http://kd35a.se/2010/07/kryptera/#comments</comments>
		<pubDate>Sat, 31 Jul 2010 15:01:18 +0000</pubDate>
		<dc:creator>kd35a</dc:creator>
				<category><![CDATA[Okategoriserade]]></category>
		<category><![CDATA[kryptera]]></category>
		<category><![CDATA[truecrypt]]></category>

		<guid isPermaLink="false">http://kd35a.se/?p=99</guid>
		<description><![CDATA[Såja, då har det införskaffats en ny disk till servern, och självklart ska den krypteras. (Hej Pirate Pontén! *vinkar*) Och det har hittills gått smidigare än vad jag trodde det skulle göra. Ladda ner en .tar.gz-fil från TrueCrypts hemsida, packa upp och köra binärfilen, sen vad det bara att börja skapa en krypterad partion :)]]></description>
			<content:encoded><![CDATA[<p>Såja, då har det införskaffats en <a href="http://www.prisjakt.nu/produkt.php?p=527179">ny disk</a> till servern, och självklart ska den <a href="http://www.truecrypt.org/">krypteras</a>. (Hej Pirate Pontén! *vinkar*)</p>
<p>Och det har hittills gått smidigare än vad jag trodde det skulle göra. Ladda ner en .tar.gz-fil från <a href="http://www.truecrypt.org/downloads">TrueCrypts hemsida</a>, packa upp och köra binärfilen, sen vad det bara att börja skapa en krypterad partion :)</p>
]]></content:encoded>
			<wfw:commentRss>http://kd35a.se/2010/07/kryptera/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Starta och stoppa Firefox</title>
		<link>http://kd35a.se/2010/01/starta-och-stoppa-firefox/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=starta-och-stoppa-firefox</link>
		<comments>http://kd35a.se/2010/01/starta-och-stoppa-firefox/#comments</comments>
		<pubDate>Sun, 31 Jan 2010 22:38:00 +0000</pubDate>
		<dc:creator>kd35a</dc:creator>
				<category><![CDATA[Okategoriserade]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[script]]></category>

		<guid isPermaLink="false">http://dev.kd35a.se/?p=22</guid>
		<description><![CDATA[Firefox må vara bra, men det drar en del resurser. Detta resulterar i att min MacBook ibland måste dra på fläktarna, inte särskilt kul när man ska försöka sova :p (stänga av datorn, vad är det?) Lösningen har hittills varit ganska rå: ps ax &#124; grep &#8221;Firefox&#8221; och sedan kill -STOP PID, där PID är [...]]]></description>
			<content:encoded><![CDATA[Firefox må vara bra, men det drar en del resurser. Detta resulterar i att min MacBook ibland måste dra på fläktarna, inte särskilt kul när man ska försöka sova :p (stänga av datorn, vad är det?)

Lösningen har hittills varit ganska rå: <span style="font-family: monospace;">ps ax | grep &#8221;Firefox&#8221;</span> och sedan <span style="font-family: monospace;">kill -STOP PID</span>, där PID är Firefox&#8217;s process-ID, och sedan med argumentet <span style="font-family: monospace;">-CONT</span> för att starta igen. Efter ett tag blir man dock lite trött på att skriva allt detta, och löser det hela med ett script:

<pre class="brush: bash; title: ; notranslate">#!/bin/bash

if [ $1 == &quot;start&quot; ]
then
 ps ax | grep &quot;Firefox&quot; | grep -v &quot;grep&quot; | awk '{ print $1 }' | xargs  kill -CONT
elif [ $1 == &quot;stop&quot; ]
then
 ps ax | grep &quot;Firefox&quot; | grep -v &quot;grep&quot; | awk '{ print $1 }' | xargs  kill -STOP
fi</pre>]]></content:encoded>
			<wfw:commentRss>http://kd35a.se/2010/01/starta-och-stoppa-firefox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Svart tisdag</title>
		<link>http://kd35a.se/2009/12/svart-tisdag/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=svart-tisdag</link>
		<comments>http://kd35a.se/2009/12/svart-tisdag/#comments</comments>
		<pubDate>Tue, 01 Dec 2009 12:02:00 +0000</pubDate>
		<dc:creator>kd35a</dc:creator>
				<category><![CDATA[Okategoriserade]]></category>
		<category><![CDATA[fra]]></category>
		<category><![CDATA[svalan har lyft]]></category>

		<guid isPermaLink="false">http://dev.kd35a.se/?p=21</guid>
		<description><![CDATA[(Via Infallsvinkel)Detta är ett öppet och gemensamt blogginlägg – kopiera och publicera på din blogg.]]></description>
			<content:encoded><![CDATA[(Via <a href="http://infallsvinkel.wordpress.com/2009/12/01/svart-tisdag/">Infallsvinkel</a>)<br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://stoppafralagen.nu/"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 450px; height: 368px;" src="http://infallsvinkel.files.wordpress.com/2009/11/idag-borjar-fra-lagen-galla.jpg?w=450&amp;h=368" alt="" border="0" /></a><em>Detta är ett öppet och gemensamt blogginlägg – kopiera och publicera på din blogg.</em>]]></content:encoded>
			<wfw:commentRss>http://kd35a.se/2009/12/svart-tisdag/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

