<?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>loxley.se &#187; Linux</title>
	<atom:link href="http://loxley.se/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://loxley.se</link>
	<description>use the source luke</description>
	<lastBuildDate>Sun, 05 Sep 2010 11:13:32 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>NDAS driver on Ubuntu Karmic 9.10</title>
		<link>http://loxley.se/2009/11/18/ndas-driver-on-ubuntu-karmic-9-10/</link>
		<comments>http://loxley.se/2009/11/18/ndas-driver-on-ubuntu-karmic-9-10/#comments</comments>
		<pubDate>Wed, 18 Nov 2009 09:44:35 +0000</pubDate>
		<dc:creator>loxley</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[9.10]]></category>
		<category><![CDATA[karmic]]></category>
		<category><![CDATA[ndas]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://loxley.se/?p=589</guid>
		<description><![CDATA[I just bought a ASRock ION 330 and had some problems installing the NDAS driver with Ubuntu Karmic Koala 9.10. It seems that the NDAS source doesn&#8217;t compile very well on the kernel shipped with Ubuntu 9.10. Luckily I found some patched packages for AMD64 when browsing through the wiki at http://code.ximeta.com. I really didn&#8217;t [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://loxley.se/wp-content/uploads/2009/11/Valore_ION_330_DB.jpg"><img class="alignleft size-medium wp-image-591" title="Valore_ION_330_DB" src="http://loxley.se/wp-content/uploads/2009/11/Valore_ION_330_DB-300x208.jpg" alt="Valore_ION_330_DB" width="162" height="113" /></a>I just bought a ASRock ION 330 and had some problems installing the NDAS driver with Ubuntu Karmic Koala 9.10. It seems that the <a title="NDAS source linux64" href="http://code.ximeta.com/dev/current/linux64/" target="_blank">NDAS source</a> doesn&#8217;t compile very well on the kernel shipped with Ubuntu 9.10. Luckily I found some <a title="NDAS packages for Ubuntu 9.10" href="http://code.ximeta.com/trac-ndas/ticket/1113" target="_blank">patched packages for AMD64</a> when browsing through the wiki at <a title="Ximeta code repository" href="http://code.ximeta.com" target="_blank">http://code.ximeta.com</a>. I really didn&#8217;t put much faith in that it would work, but surprisingly it worked right out of the box!</p>
<p>Regarding the ASRock ION 330 I must say that it&#8217;s a wonderful piece of computer, so small in size but so much under the &#8220;hood&#8221;. Go buy one!</p>
]]></content:encoded>
			<wfw:commentRss>http://loxley.se/2009/11/18/ndas-driver-on-ubuntu-karmic-9-10/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sony Vaio brightness on Ubuntu Karmic solved</title>
		<link>http://loxley.se/2009/11/05/sony-vaio-brightness-on-ubuntu-karmic-solved/</link>
		<comments>http://loxley.se/2009/11/05/sony-vaio-brightness-on-ubuntu-karmic-solved/#comments</comments>
		<pubDate>Thu, 05 Nov 2009 10:19:02 +0000</pubDate>
		<dc:creator>loxley</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[brightness]]></category>
		<category><![CDATA[karmic]]></category>
		<category><![CDATA[sony vaio]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://loxley.se/?p=588</guid>
		<description><![CDATA[Yes! Finally Ubuntu Karmic (9.10) recognizes the FN keys + F5 and F6 on my Sony Vaio AR71S. This has been annoying me ever since the Intrepid release. It still doesn&#8217;t work right out of the box because you need to add sony-brightness-up and sony-brightness-down in /etc/acpi/events, but it&#8217;s no big deal as long as [...]]]></description>
			<content:encoded><![CDATA[<p>Yes! Finally Ubuntu Karmic (9.10) recognizes the FN keys + F5 and F6 on my Sony Vaio AR71S. This has been annoying me ever since the Intrepid release. It still doesn&#8217;t work right out of the box because you need to add sony-brightness-up and sony-brightness-down in /etc/acpi/events, but it&#8217;s no big deal as long as the key events are recognized.</p>
<p>To get the key events just use acpi_listen and press down FN+F5, it will output something like this:<br />
<code><br />
sony/hotkey SNC 00000001 00000010 (key combo pressed)<br />
sony/hotkey SNC 00000001 0000003b (key combo released)<br />
</code></p>
<p>And when pressing FN+F6 we get this:<br />
<code><br />
sony/hotkey SNC 00000001 00000011 (key combo pressed)<br />
sony/hotkey SNC 00000001 0000003b (key combo released)<br />
</code></p>
<p>These events we&#8217;ll put in sony-brightness-up/down and my down script looks like this:<br />
<code><br />
event=sony/hotkey SNC 00000001 00000010<br />
action=/usr/bin/nvclock -S -12<br />
</code></p>
<p>I&#8217;m using nvclock because when using smartdimmer the intervals where just to low when dimming. I put a interval in nvclock of -12 which is reasonable. That&#8217;s it!</p>
]]></content:encoded>
			<wfw:commentRss>http://loxley.se/2009/11/05/sony-vaio-brightness-on-ubuntu-karmic-solved/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>New way to detect laptop user presence</title>
		<link>http://loxley.se/2009/10/16/new-way-to-detect-laptop-user-presence/</link>
		<comments>http://loxley.se/2009/10/16/new-way-to-detect-laptop-user-presence/#comments</comments>
		<pubDate>Fri, 16 Oct 2009 07:28:11 +0000</pubDate>
		<dc:creator>loxley</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[display]]></category>
		<category><![CDATA[laptop]]></category>
		<category><![CDATA[power]]></category>
		<category><![CDATA[sonar]]></category>

		<guid isPermaLink="false">http://loxley.se/?p=583</guid>
		<description><![CDATA[Some researchers are experimenting with a new way of detecting the presence of a laptop user using sonar technique. The goal is to shut off the display direcly when the user leaves the computer, compare that to the slow way of reading timeouts from mouse and keyboard. You can get a better overview and download [...]]]></description>
			<content:encoded><![CDATA[<p><img class="size-thumbnail wp-image-585  alignleft" title="Sonar" src="http://loxley.se/wp-content/uploads/2009/10/sonar-150x150.jpg" alt="Sonar" width="96" height="96" /></p>
<p>Some <a title="ESP - The Empathic Systems Project" href="http://empathicsystems.org/" target="_blank">researchers</a> are experimenting with a new way of detecting the presence of a laptop user using <a title="Sonar user presence detection" href="http://stevetarzia.com/sonar/" target="_blank">sonar technique</a>. The goal is to shut off the display direcly when the user leaves the computer, compare that to the slow way of reading timeouts from mouse and keyboard.</p>
<p>You can get a better overview and download the actual <a title="SonarPM" href="http://stevetarzia.com/sonar/download.php" target="_blank">source code</a> on their project site.</p>
]]></content:encoded>
			<wfw:commentRss>http://loxley.se/2009/10/16/new-way-to-detect-laptop-user-presence/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu mail-notification with OpenSSL support</title>
		<link>http://loxley.se/2009/10/04/ubuntu-mail-notification-with-openssl-support/</link>
		<comments>http://loxley.se/2009/10/04/ubuntu-mail-notification-with-openssl-support/#comments</comments>
		<pubDate>Sun, 04 Oct 2009 16:46:30 +0000</pubDate>
		<dc:creator>loxley</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[jaunty]]></category>
		<category><![CDATA[mail-notification]]></category>
		<category><![CDATA[openssl]]></category>
		<category><![CDATA[ssl]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://loxley.se/?p=479</guid>
		<description><![CDATA[I wanted to use mail-notification for my home and work mailboxes, but I found out that the SSL/TLS support was left out due to licensing matters. As I&#8217;m using SSL on my mailboxes I needed to rebuild the package to use OpenSSL. So if you need SSL support with mail-notification(amd64) you can grab it here. [...]]]></description>
			<content:encoded><![CDATA[<p>I wanted to use mail-notification for my home and work mailboxes, but I found out that the SSL/TLS support was left out due to licensing matters. As I&#8217;m using SSL on my mailboxes I needed to rebuild the package to use OpenSSL. So if you need SSL support with mail-notification(amd64) you can grab it <a title="mail-notification with OpenSSL support" href="http://apt-get.se/ubuntu" target="_blank">here</a>.</p>
<p>Add the following to /etc/apt/sources.list:</p>
<blockquote><p><code>http://apt-get.se/ubuntu aptgetse-jaunty main</code></p></blockquote>
<p>Get my public key for apt-secure:</p>
<blockquote><p><code>wget -q http://apt-get.se/ubuntu/aptgetse.asc -O- | sudo apt-key add -</code></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://loxley.se/2009/10/04/ubuntu-mail-notification-with-openssl-support/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu 9.04  released</title>
		<link>http://loxley.se/2009/04/23/ubuntu-904-released/</link>
		<comments>http://loxley.se/2009/04/23/ubuntu-904-released/#comments</comments>
		<pubDate>Thu, 23 Apr 2009 21:03:00 +0000</pubDate>
		<dc:creator>loxley</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[9.04]]></category>
		<category><![CDATA[jaunty]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://loxley.se/?p=418</guid>
		<description><![CDATA[So, it&#8217;s finally here, Ubuntu 9.04 aka Jaunty Jackalope. Go grab it, it&#8217;s amazing!]]></description>
			<content:encoded><![CDATA[<p>So, it&#8217;s finally here, <a title="Ubuntu 9.04 aka Jaunty Jackalope" href="http://www.ubuntu.com/news/ubuntu-9.04-desktop" target="_blank">Ubuntu 9.04</a> aka Jaunty Jackalope. Go <a title="Jaunty download" href="http://www.ubuntu.com/getubuntu/download" target="_blank">grab it</a>, it&#8217;s amazing!</p>
]]></content:encoded>
			<wfw:commentRss>http://loxley.se/2009/04/23/ubuntu-904-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>GNU/kFreeBSD</title>
		<link>http://loxley.se/2009/04/07/gnukfreebsd/</link>
		<comments>http://loxley.se/2009/04/07/gnukfreebsd/#comments</comments>
		<pubDate>Tue, 07 Apr 2009 07:27:20 +0000</pubDate>
		<dc:creator>loxley</dc:creator>
				<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[kernel]]></category>
		<category><![CDATA[kfreebsd]]></category>

		<guid isPermaLink="false">http://loxley.se/?p=380</guid>
		<description><![CDATA[Wow! Debian gets FreeBSD kernel support. Yes, the new architectures are called kfreebsd-i386 and kfreebsd-amd64 aka GNU/kFreeBSD i386 and amd64. They are available in unstable and experimental but as they are starting out empty and only importing what is needed you&#8217;ll not be able to use it immediately. But I think it&#8217;s a cool thing [...]]]></description>
			<content:encoded><![CDATA[<p>Wow! Debian gets <a title="FreeBSD kernel support" href="http://lists.debian.org/debian-devel-announce/2009/04/msg00001.html" target="_blank">FreeBSD kernel support</a>. Yes, the new architectures are called kfreebsd-i386 and kfreebsd-amd64 aka GNU/kFreeBSD i386 and amd64. They are available in unstable and experimental but as they are starting out empty and only importing what is needed you&#8217;ll not be able to use it immediately. But I think it&#8217;s a cool thing and looking forward to what will happen with it.</p>
]]></content:encoded>
			<wfw:commentRss>http://loxley.se/2009/04/07/gnukfreebsd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setting up VLANs on Debian</title>
		<link>http://loxley.se/2009/03/13/setting-up-vlans-on-debian/</link>
		<comments>http://loxley.se/2009/03/13/setting-up-vlans-on-debian/#comments</comments>
		<pubDate>Fri, 13 Mar 2009 21:54:07 +0000</pubDate>
		<dc:creator>loxley</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[vlan]]></category>

		<guid isPermaLink="false">http://loxley.se/?p=278</guid>
		<description><![CDATA[Today I spent the day building a firewall that we will use for our new honeypot. On this firewall I&#8217;ve set up 6 vlans going from 101-106 and they will be going out on one nic as trunk. The reason for having vlans in the first place is that we don&#8217;t want one whole honeypot [...]]]></description>
			<content:encoded><![CDATA[<p>Today I spent the day building a firewall that we will use for our new honeypot. On this firewall I&#8217;ve set up 6 vlans going from 101-106 and they will be going out on one nic as trunk. The reason for having vlans in the first place is that we don&#8217;t want one whole honeypot infected with the same type of zombies, this way they can&#8217;t infect eachother. Setting up vlans on a Debian is really easy as it comes with all the tools needed, like the vlan package and the way it handles interfaces. I&#8217;ll show you how it&#8217;s done here.<br />
<span id="more-278"></span><br />
First we install the vlan package:</p>
<p><code>apt-get install vlan</code></p>
<p>Then we head over to /etc/network/interfaces and start editing that file. I used eth0 for my trunk interface, just replace with whatever floats the boat.</p>
<p><code>auto eth0<br />
iface eth0 inet static<br />
address 10.1.1.1<br />
netmask 255.255.255.0<br />
vlan_raw_device eth0<br />
up echo "Name-Type: VLAN_NAME_TYPE_PLUS_VID_NO_PAD" &gt; /proc/net/vlan/config</code></p>
<p>Or if you just want to bring up eth0 without an IP use this instead.</p>
<p><code>auto eth0<br />
iface eth0 inet manual<br />
up ifconfig eth0 0.0.0.0 up<br />
up echo "Name-Type: VLAN_NAME_TYPE_PLUS_VID_NO_PAD" &gt; /proc/net/vlan/config<br />
down ifconfig eth0 down</code></p>
<p>The first example sets the native vlan1 but it&#8217;s really not necessary, or recommended. The &#8220;Name-Type&#8221; part sets how the vlan will be displayed and refered to as when you run ifconfig or put rules on it with iptables. Using this naming convention a vlan id of 101 would be refered to as &#8220;vlan101&#8243;. You can run &#8220;vconfig&#8221; to see what name types that are available.</p>
<p><code>iface vlan101 inet static<br />
address 10.1.101.1<br />
netmask 255.255.255.0<br />
broadcast 10.1.101.255<br />
mtu 1500<br />
vlan_raw_device eth0<br />
up echo 1 &gt; /proc/sys/net/ipv4/conf/vlan101/arp_filter<br />
up echo 2 &gt; /proc/sys/net/ipv4/conf/vlan101/arp_ignore<br />
up echo 1 &gt; /proc/sys/net/ipv4/conf/vlan101/rp_filter</code></p>
<p>That&#8217;s all there&#8217;s to it, now go trunking those vlans to your Cisco and access them! <img src='http://loxley.se/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://loxley.se/2009/03/13/setting-up-vlans-on-debian/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Debian GNU/Linux 5.0 Lenny ready for release</title>
		<link>http://loxley.se/2009/02/11/debian-50-lenny-ready-for-release/</link>
		<comments>http://loxley.se/2009/02/11/debian-50-lenny-ready-for-release/#comments</comments>
		<pubDate>Wed, 11 Feb 2009 08:44:05 +0000</pubDate>
		<dc:creator>loxley</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[lenny]]></category>

		<guid isPermaLink="false">http://loxley.se/?p=180</guid>
		<description><![CDATA[According to the Debian february newsletter Lenny seems to be ready for release on the 14th of February during the weekend. This means that it&#8217;s been frozen and will just accept critical bug fixes until then. The developers would like people to try out the daily builds of it and file any bugs that may [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://loxley.se/wp-content/uploads/2009/02/lenny.jpg"><img class="alignright size-thumbnail wp-image-184" title="lenny" src="http://loxley.se/wp-content/uploads/2009/02/lenny-150x150.jpg" alt="lenny" width="90" height="90" /></a>According to the Debian february <a title="Debian february newsletter" href="http://www.debian.org/News/project/2009/02/" target="_blank">newsletter</a> Lenny seems to be <a title="Lenny ready for release" href="http://lists.debian.org/debian-devel-announce/2009/02/msg00000.html" target="_blank">ready for release</a> on the 14th of February during the weekend. This means that it&#8217;s been frozen and will just accept critical bug fixes until then. The developers would like people to try out the <a title="Debian daily builds" href="http://cdimage.debian.org/cdimage/daily-builds/" target="_blank">daily builds</a> of it and file any bugs that may occur. FYI, Lenny is the character from Toy Story that is a pair of binoculars with feet.</p>
]]></content:encoded>
			<wfw:commentRss>http://loxley.se/2009/02/11/debian-50-lenny-ready-for-release/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
