<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.2.3" -->
<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/"
	>

<channel>
	<title>Trygve Vea</title>
	<link>http://anticrap.net</link>
	<description></description>
	<pubDate>Mon, 05 May 2008 17:10:14 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2.3</generator>
	<language>en</language>
			<item>
		<title>My new hobby: Electronics</title>
		<link>http://anticrap.net/2008/03/21/my-new-hobby-electronics/</link>
		<comments>http://anticrap.net/2008/03/21/my-new-hobby-electronics/#comments</comments>
		<pubDate>Fri, 21 Mar 2008 02:30:24 +0000</pubDate>
		<dc:creator>Trygve</dc:creator>
		
		<category><![CDATA[Electronics]]></category>

		<category><![CDATA[Hobby]]></category>

		<category><![CDATA[Hardware]]></category>

		<guid isPermaLink="false">http://anticrap.net/2008/03/21/my-new-hobby-electronics/</guid>
		<description><![CDATA[This is my &#8220;Hello, world!&#8221; of electronics:



Ingredients:

2x Green LED&#8217;s
2x Red LED&#8217;s
1x Switch
1x 9V battery

Yep. It&#8217;s my first project, not aiming high at all  
]]></description>
			<content:encoded><![CDATA[<p>This is my &#8220;Hello, world!&#8221; of electronics:</p>
<p><object width="425" height="355">
<param name="movie" value="http://www.youtube.com/v/gCW9Iuk7GuA&#038;hl=en"></param>
<param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/gCW9Iuk7GuA&#038;hl=en" type="application/x-shockwave-flash" wmode="transparent" width="425" height="355"></embed></object></p>
<p>Ingredients:</p>
<ol>
<li>2x Green LED&#8217;s</li>
<li>2x Red LED&#8217;s</li>
<li>1x Switch</li>
<li>1x 9V battery</li>
</ol>
<p>Yep. It&#8217;s my first project, not aiming high at all <img src='http://anticrap.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://anticrap.net/2008/03/21/my-new-hobby-electronics/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Re: The REAL reason we use Linux</title>
		<link>http://anticrap.net/2008/03/16/re-the-real-reason-we-use-linux/</link>
		<comments>http://anticrap.net/2008/03/16/re-the-real-reason-we-use-linux/#comments</comments>
		<pubDate>Sun, 16 Mar 2008 15:27:12 +0000</pubDate>
		<dc:creator>Trygve</dc:creator>
		
		<category><![CDATA[Windows]]></category>

		<category><![CDATA[Debian]]></category>

		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://anticrap.net/2008/03/16/re-the-real-reason-we-use-linux/</guid>
		<description><![CDATA[Going through my Google Reader I came over a slashdot post, linking to a blog post, explaining why we use Linux for real. The claim is that the real reason we use Linux, is because it&#8217;s fun. That is to some extent true. For me, there were to initial reasons why I started to use [...]]]></description>
			<content:encoded><![CDATA[<p>Going through my Google Reader I came over a slashdot post, linking to a <a href="http://blog.anamazingmind.com/2008/03/real-reason-we-use-linux.html">blog post</a>, explaining why we use Linux for real. The claim is that the real reason we use Linux, is because it&#8217;s fun. That is to some extent true. For me, there were to initial reasons why I started to use Linux:</p>
<ol>
<li>It&#8217;s fun.</li>
<li>You get to control your own computer.</li>
<li>I get richer by the experience of using Linux.</li>
<li>A lot of the Linux-tinkering has made me a more advanced Windows-user as well. (I do benefit from this where I work)</li>
</ol>
<p>But, there ARE several issues with Linux. Poor commercial support (for instance, Nvidia still need to fix PureVideo support for Linux. Many hardware vendors do not want to write drivers for Linux, etc.). Sound has been an issue for a while, and is not problem free yet, although - ALSA is much better than it used to be, and the amount of applications that use OSS seems to be decreasing. But, with all these issues &#8212; why won&#8217;t I simply go back to Windows?</p>
<p>I feel like we should focus on why the Linux herd stays in Linux. For me - this is:</p>
<ol>
<li>Support for lots of stuff out of the box (at least true for Debian).
<ol>
<li>Want to burn an ISO-file? Right click -&gt; Write to Disc (In Windows, you need 3rd party software for this)</li>
<li>You have a bluetooth dongle? It&#8217;s plug and play basically. If you want OBEX support in Gnome, you only need to install gnome-vfs-obexftp, and you can browse your mobile devices at once.</li>
<li>Great packaging system. APT; Tons of Software to pick from, I just tell my distro to install it - and it will. I usually don&#8217;t need to interact with the installation - it &#8220;just works&#8221;. This is _HARD_ to beat. Having all kinds of software EASILY accessable, is a huge plus.
<ol>
<li>Updating the system includes everything installed through the package manager. For most users, their needs are covered by this.</li>
</ol>
</li>
</ol>
</li>
<li>It does not cost money. If you do not have a Windows-license, and want to use Windows you have two options:
<ol>
<li>Purchasing Windows. This costs 250 USD (1300 NOK) in Norway. That is actually a signifigant amount of cash for something you don&#8217;t really need.</li>
<li>Being a pirate.
<ol>
<li>Finding a working, OK, copy of Windows - without being stabbed by the Windows Genuine crap, is quite hard.</li>
</ol>
</li>
</ol>
</li>
</ol>
<p>As far as I can tell - The world don&#8217;t really need Windows. The only reason why it still has such a huge strangle-grip on it&#8217;s users is mostly because there are a lot of applications and/or games which are made to only run on Windows. The only Windows-app I run, is World of Warcraft - which happens to work fine in Wine.</p>
]]></content:encoded>
			<wfw:commentRss>http://anticrap.net/2008/03/16/re-the-real-reason-we-use-linux/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Cisco VPNClient hates Linux!</title>
		<link>http://anticrap.net/2007/10/17/cisco-vpnclient-hates-linux/</link>
		<comments>http://anticrap.net/2007/10/17/cisco-vpnclient-hates-linux/#comments</comments>
		<pubDate>Wed, 17 Oct 2007 19:36:07 +0000</pubDate>
		<dc:creator>Trygve</dc:creator>
		
		<category><![CDATA[Software]]></category>

		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://anticrap.net/2007/10/17/cisco-vpnclient-hates-linux/</guid>
		<description><![CDATA[Cisco Systems VPN Client Version 4.8.00 (0490)
Copyright (C) 1998-2005 Cisco Systems, Inc. All Rights Reserved.
Client Type(s): Linux
Running on: Linux 2.6.22-2-686 #1 SMP Fri Aug 31 00:24:01 UTC 2007 i686
Config file directory: /etc/opt/cisco-vpnclient
Initializing the VPN connection.
Secure VPN Connection terminated locally by the Client
Reason: Failed to establish a VPN connection.
There are no new notification messages at this [...]]]></description>
			<content:encoded><![CDATA[<blockquote><font size="3"><font color="#000000"><font face="MS Sans Serif">Cisco Systems VPN Client Version 4.8.00 (0490)<br />
Copyright (C) 1998-2005 Cisco Systems, Inc. All Rights Reserved.<br />
Client Type(s): Linux<br />
Running on: Linux 2.6.22-2-686 #1 SMP Fri Aug 31 00:24:01 UTC 2007 i686<br />
Config file directory: /etc/opt/cisco-vpnclient</p>
<p>Initializing the VPN connection.<br />
Secure VPN Connection terminated locally by the Client<br />
Reason: Failed to establish a VPN connection.<br />
There are no new notification messages at this time.</font></font></font></p></blockquote>
<p>Looks like a very reasonable error message, does it not? &#8230; No - there&#8217;s absolutely no information here which helps us debug the problem. HOWEVER! I&#8217;ve recognized that the following has helped to avoid the problem:</p>
<ul>
<li>Bring down network interfaces which you don&#8217;t intend to use. This error has been observed when a wired interface has been up, but without a connection - with wireless on.<em> ifdown eth0</em> solves the problem in some cases.</li>
<li>vpnc does not have this error. You should use vpnc because it does not require proprietary modules to work, and it is probably included in your distributions packet management system. In debian - installing vpnc is as simple as running &#8220;apt-get install vpnc&#8221;. If you have pcf-files for the cisco vpn client which you want to reuse, you can use pcf2vpnc to convert it. Download pcf2vpnc here: http://svn.unix-ag.uni-kl.de/vpnc/trunk/pcf2vpnc</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://anticrap.net/2007/10/17/cisco-vpnclient-hates-linux/feed/</wfw:commentRss>
		</item>
		<item>
		<title>ivtvfe - A frontend for ivtv-tune, initial release!</title>
		<link>http://anticrap.net/2007/10/15/ivtvfe-a-frontend-for-ivtv-tune-initial-release/</link>
		<comments>http://anticrap.net/2007/10/15/ivtvfe-a-frontend-for-ivtv-tune-initial-release/#comments</comments>
		<pubDate>Mon, 15 Oct 2007 19:41:57 +0000</pubDate>
		<dc:creator>Trygve</dc:creator>
		
		<category><![CDATA[Software]]></category>

		<category><![CDATA[Hardware]]></category>

		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://anticrap.net/2007/10/15/ivtvfe-a-frontend-for-ivtv-tune-initial-release/</guid>
		<description><![CDATA[Not really a whole lot to say about it.
Go to the ivtvfe page!
]]></description>
			<content:encoded><![CDATA[<p>Not really a whole lot to say about it.</p>
<p>Go to the <a href="/ivtvfe">ivtvfe page</a>!</p>
]]></content:encoded>
			<wfw:commentRss>http://anticrap.net/2007/10/15/ivtvfe-a-frontend-for-ivtv-tune-initial-release/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Gaming in Wine!</title>
		<link>http://anticrap.net/2007/10/14/gaming-in-wine/</link>
		<comments>http://anticrap.net/2007/10/14/gaming-in-wine/#comments</comments>
		<pubDate>Sun, 14 Oct 2007 03:12:15 +0000</pubDate>
		<dc:creator>Trygve</dc:creator>
		
		<category><![CDATA[Games]]></category>

		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://anticrap.net/2007/10/14/gaming-in-wine/</guid>
		<description><![CDATA[Most people know what Wine is, so I won&#8217;t give it much introduction. It&#8217;s simply a compatibility layer written for Linux, to make Windows applications able to run on a platform without Windows. For being such a difficult task, Wine is now starting to mature. Lately, I have tried to play some popular games in [...]]]></description>
			<content:encoded><![CDATA[<p>Most people know what Wine is, so I won&#8217;t give it much introduction. It&#8217;s simply a compatibility layer written for Linux, to make Windows applications able to run on a platform without Windows. For being such a difficult task, Wine is now starting to mature. Lately, I have tried to play some popular games in Wine to see how they perform. I&#8217;m gonna be brief, but the games I&#8217;ve written as working has been tested in-game for a couple of houres.</p>
<h2>My Setup</h2>
<ul>
<li>AMD Athlon(tm) 64 Processor 4000+</li>
<li>2GB RAM</li>
<li>nVidia GeForce 7900 GT (driver 100.14.03)</li>
<li>Debian testing (Lenny)</li>
<li>Wine 0.9.44</li>
</ul>
<h2>The games I have tried to make work are the following</h2>
<ul>
<li>Half-Life 2</li>
<li>Counter-Strike: Source</li>
<li>World of Warcraft: The Burning Crusade (2.2.3)</li>
<li>Warcraft III: The Frozen Throne (1.21)</li>
</ul>
<h2>Steam, Half-Life 2 and Counter-Strike: Source</h2>
<p>The prerequisites before installing Half-Life 2, is to install Steam. And to install Steam, one needs the gecko-plugin (for web-browsing), and some fonts. In addition to the msttcorefonts-package, you should get tahoma.ttf and put it in ~/.wine/drive_c/windows/fonts. This makes additional text readable both in and outside the game later on. You download the steam-installer msi-package from steampowered.com. You start the installer by running: wine msiexec /i &lt;themsifile&gt;. When Steam is installed, and you have the needed fonts, you should be able to log on to Steam and install Half-Life as you usually do. I don&#8217;t think it&#8217;s necessary to define anything more, as it works as you would expect it to work in Windows. This is what does NOT work:</p>
<ul>
<li>There&#8217;s an expected performance decrease.</li>
<li>When you play, you might experience that the sound starts to stagger for some seconds, and the game exits. When this happens, you will have trouble to restart the game. Logging off and on X solves the problem.</li>
<li>The game sometimes fails to start, &#8220;because an application is locking the registry&#8221;, restarting X solves the problem.</li>
<li>Steam is not a stable application in Wine. Browsing the shops and such is not recommended as Steam may hang unexpectedly at any time.</li>
<li>The community-stuff recently added to Steam does not work well, you&#8217;re not able to search for and add friends.</li>
</ul>
<p>For the casual player, this works, but it&#8217;s not awesome. There&#8217;s still things you wish were fixed, but some people are willing to live with these flaws. Let&#8217;s hope that Valve will create a Linux-port of these games soon!</p>
<h2>World of Warcraft: The Burning Crusade (2.2.3)</h2>
<p>The prerequisites before installing this game is pretty much not more than having the gecko-plugin installed, and the only real effect it has is that you can read the patch notes when the patching is done. As far as I can tell - the game works quite well. What does not work well is the following:</p>
<ul>
<li>When you try to exit the game, it hangs, and you have to kill the processes yourself (with the -9 flag)
<ul>
<li>As a result of this, you have to accept the patch notes every time you start the game. This can be worked around by editing the ~/.wine/drive_c/Program Files/World of Warcraft/WTF/config.wtf, and add the lines
<ul>
<li>SET readTOS &#8220;1&#8243;</li>
<li>SET readEULA &#8220;1&#8243;</li>
</ul>
</li>
</ul>
</li>
<li>There&#8217;s a noticable performance decrease compared to running the game natively. This is expected. You can cope with a lot of it by doing some reading on this site: <a href="http://wowwiki.com/Linux/Wine">http://wowwiki.com/Linux/Wine</a></li>
<li>There&#8217;s an error message in the blizzard launcher, making it seem like there&#8217;s an error.</li>
<li>Occasionally in-game, you may experience a hang-situation which makes audio stagger and the PC seems unresponsive for up to 5 seconds. This can be provoced by accessing things outside of the game (other applications and the desktop).</li>
</ul>
<p>World of Warcraft is totally playable in Wine, and if you&#8217;re a casual player - the only reason to not stop running the Windows-version should be the performance decrease, and that your hardware can&#8217;t handle it well.</p>
<h2>Warcraft III: The Frozen Throne</h2>
<p>This game works quite well. It installs flawlessly, and it plays quite well. What does not work well is the following:</p>
<ul>
<li>Probably a performance decrease, but I can&#8217;t notice, the game isn&#8217;t brand new, and my hardware handles it quite well.</li>
<li>Poking around at desktop-items makes everything slow and unresponsive. Multitasking while playing this game is not a good idea - pay attention to the game and you&#8217;ll be fine.</li>
<li>The installer blocks the audio device, so launching the game from the installer makes the game run without sound - exiting the installer and launching the game manually (from the desktop shortcut if you have one) is one way to work around this.</li>
</ul>
<h2>Conclusion</h2>
<p>Linux is becoming more gamer-friendly as the market share goes up. More companies are looking at making Linux-ports of their games, and Wine is becoming a more mature product as development goes by. Even though Wine is a product which makes some Windows-titles playable in Linux, we seriously want real Linux-ports of these games most. If EA would port The Sims-series to Linux, it would probably make noticable changes to the market share - including my girlfriend <img src='http://anticrap.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Here&#8217;s some useless screenshots <img src='http://anticrap.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p align="center"><a href="http://anticrap.net/wp-content/uploads/2007/10/warcraft3-virker.png" title="Warcraft 3: The Frozen Throne - Entire game played"><img src="http://anticrap.net/wp-content/uploads/2007/10/warcraft3-virker.thumbnail.png" alt="Warcraft 3: The Frozen Throne - Entire game played" /></a><a href="http://anticrap.net/wp-content/uploads/2007/10/wine-worldofwarcraft.png" title="World of Warcraft in Wine"><img src="http://anticrap.net/wp-content/uploads/2007/10/wine-worldofwarcraft.thumbnail.png" alt="World of Warcraft in Wine" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://anticrap.net/2007/10/14/gaming-in-wine/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Guide: Installing Debian GNU/Linux</title>
		<link>http://anticrap.net/2007/09/27/installing-debian-gnulinux/</link>
		<comments>http://anticrap.net/2007/09/27/installing-debian-gnulinux/#comments</comments>
		<pubDate>Thu, 27 Sep 2007 18:15:13 +0000</pubDate>
		<dc:creator>Trygve</dc:creator>
		
		<category><![CDATA[Debian]]></category>

		<category><![CDATA[Linux]]></category>

		<category><![CDATA[Guides]]></category>

		<guid isPermaLink="false">http://anticrap.net/2007/09/27/installing-debian-gnulinux/</guid>
		<description><![CDATA[This guide is supposed to explain to you how to install the Debian GNU/Linux Operating System. I&#8217;m going to try to be very precise on how this is done - so this guide is considered a newbie-guide. The intention of this guide is, in addition to be a step-by-step walk through on how to install [...]]]></description>
			<content:encoded><![CDATA[<p>This guide is supposed to explain to you how to install the Debian GNU/Linux Operating System. I&#8217;m going to try to be very precise on how this is done - so this guide is considered a newbie-guide. The intention of this guide is, in addition to be a step-by-step walk through on how to install Linux, also to be a sort of &#8220;heads up&#8221; for what the user should expect before he or she starts installing. If you have any questions regarding any of the steps in the guide, feel free to ask any questions below. Let&#8217;s move on!</p>
<h2>Before you begin</h2>
<p>You need the following before you begin.</p>
<ul>
<li>A computer or virtual machine to install on</li>
<li><a href="http://www.debian.org/releases/stable/debian-installer/">A Debian CD</a>. This guide will use the &#8216;netinst&#8217; image. If you are unsure on which architecture you want to download for, it is probably &#8216;i386&#8242;.</li>
</ul>
<p>If you chose to use the netinst CD, you need an internet connection. If you don&#8217;t use the net-inst CD, you should still be able to install Debian by following this guide - but some steps will probably look different.</p>
<h2>The beginning</h2>
<p>The first step is to load the CD in the CD-tray, and restart the computer. Make sure that it boots from the CD - you might have to enter the BIOS to change this (this guide does not cover this part at this point, if anyone feel it&#8217;s necessary, please request it in the comments). You should be presented with the following image:</p>
<p align="center"><a href="http://anticrap.net/wp-content/uploads/2007/09/splash.png" title="Booting Debian CD, Splash Screen"><img src="http://anticrap.net/wp-content/uploads/2007/09/splash.png" alt="Booting Debian CD, Splash Screen" /></a></p>
<p>Hit &#8220;Enter&#8221;. At this point you should see some text scroll over your screen, while the Debian Installer is loading. You should be met by a dialog which asks you to &#8216;Choose language&#8217;.</p>
<p align="center"><a href="http://anticrap.net/wp-content/uploads/2007/09/language.png" title="Debian Installer, Choose language"><img src="http://anticrap.net/wp-content/uploads/2007/09/language.png" alt="Debian Installer, Choose language" /></a></p>
<p>In my experience, English is the most complete translation to date. I&#8217;m Norwegian, so I&#8217;ve tried to pick Norwegian - but I had to accept that a bunch of my packages were in Danish and Swedish. To me that was more of an annoyance, so I&#8217;ve picked English ever since. You should pick what you prefer, but I&#8217;m giving you a &#8220;heads up&#8221;, that all packages might not exist in a language which applies to you. After you&#8217;ve picked your prefered language, you&#8217;re met with a dialog which asks you where you&#8217;re located - and most likely with a suggestion of countries based on your previous choice.</p>
<p align="center"><a href="http://anticrap.net/wp-content/uploads/2007/09/language2.png" title="Debian Installer, Choose language part 2"><img src="http://anticrap.net/wp-content/uploads/2007/09/language2.png" alt="Debian Installer, Choose language part 2" /></a></p>
<p>At this point, it&#8217;s recommended that you pick the country where you are located. Since I&#8217;m Norwegian, and I pick Norway, I will have the correct timezone and network mirrors suggested automatically by Debian Installer - and this will probably save me some trouble later. If you&#8217;re not from any of the locations initially suggested, pick &#8220;Other&#8221;, and browse to the correct location. I pick Other, followed by Norway. Again, another dialog. This time we&#8217;re asked what keyboard layout to use.</p>
<p align="center"><a href="http://anticrap.net/wp-content/uploads/2007/09/keyboard.png" title="Debian Installer, Choose keyboard layout"><img src="http://anticrap.net/wp-content/uploads/2007/09/keyboard.png" alt="Debian Installer, Choose keyboard layout" /></a></p>
<p>At this point you should just pick what applies to your keyboard. I pick Norwegian. At this point the Debian Installer starts loading a bunch of components, and trying to configure the network. We assume that the automatic configuration went well, or that you know what network settings you need to make the computer have Internet access.</p>
<p>You are now met with a dialog which asks you to define a hostname for the system. As the dialog says, it is a single word that identifies your system to the network. I&#8217;m gonna be very boring, and name mine &#8220;debianbox&#8221;. In the next dialog box, you are asked to specify a domain name. If you are setting up a private network, you can make something up, but if you own a domain, and intend to use it for your server, it is pretty safe to fill it in now. I&#8217;m gonna input &#8220;example.org&#8221;. You are now met with questions on how you will partition your disks.</p>
<p align="center"><a href="http://anticrap.net/wp-content/uploads/2007/09/partition.png" title="Debian Installer, Partition disks"><img src="http://anticrap.net/wp-content/uploads/2007/09/partition.png" alt="Debian Installer, Partition disks" /></a></p>
<p>If you have an existing Windows-installation on the disk, and want to keep it, you have to pick Manual and do some changes manually. I&#8217;m sorry to say that this guide does not cover what to do in this situation yet. If you want to keep your existing OS, you should stop following this guide now. If you have nothing to lose on the disk, and want Linux on this computer - stay with us and pick &#8220;Guided - use entire disk&#8221;. You are now met with another question - which disk to partition.</p>
<p align="center"><a href="http://anticrap.net/wp-content/uploads/2007/09/partition2.png" title="Debian Installer, Partition disks - Select disk"><img src="http://anticrap.net/wp-content/uploads/2007/09/partition2.png" alt="Debian Installer, Partition disks - Select disk" /></a></p>
<p>As you can see, I only have one disk present - so I don&#8217;t have much of a choice. Pick the disk drive you want to install Linux on. Another dialog appears - this time you should decide what &#8220;Partitioning scheme&#8221; you want.</p>
<p align="center"><a href="http://anticrap.net/wp-content/uploads/2007/09/partition3.png" title="Debian Installer, Partition disks - Select Partitioning Scheme"><img src="http://anticrap.net/wp-content/uploads/2007/09/partition3.png" alt="Debian Installer, Partition disks - Select Partitioning Scheme" /></a></p>
<p>For most small servers, and workstations, &#8220;All files in one partition&#8221; is totally OK. Explaining the advantages of choosing a different scheme is not covered by this guide. I pick &#8220;All files in one partition&#8221;. You are now presented with an overview of your currently configured partitions and mount points. Since we don&#8217;t cover why you would want to change any of this, you can safely pick &#8220;Finish partitioning and write changes to disk&#8221;. You are again presented with another confirmation box which wants you to confirm to write the changes to disk. Pick &#8220;Yes&#8221;.</p>
<p align="center"><a href="http://anticrap.net/wp-content/uploads/2007/09/password.png" title="Debian Installer, Root Password"><img src="http://anticrap.net/wp-content/uploads/2007/09/password.png" alt="Debian Installer, Root Password" /></a></p>
<p>You are now asked to pick a root-password. The root-password, is basically the password you use when you want to make administrative changes on your computer. This might be installing new software, or making changes to system services. You should set something safe as a root-password. Input the password, and press enter. You have to do it again, to verify that you typed correct.</p>
<p>You should now create your first non-administrative user. This is the user account which you will log on with remotely. What you fill in is optional, but your full name would make sense. I fill in &#8220;Trygve Vea&#8221;. Next it asks for a username. I&#8217;m gonna take the advice given by the dialog, and use my first name. Again, asked for a password - this time for the new user. You should pick a password which is different from the root-user. The reason is, that if you should have an accident, and someone breach into your system with your non-administrative user - they WILL try to use the same password to authenticate as root. If they succeed, your entire system is compromised. - Setting different passwords will not &#8220;stop the bad guys&#8221; - but it can limit the damage they can do.</p>
<p>Debian Installer is installing the base system. This takes a little while, depending on the speed of your computer and CD-drive. When the process is over, you are asked if you want to use a network mirror.</p>
<p align="center"><a href="http://anticrap.net/wp-content/uploads/2007/09/networkmirror.png" title="Debian Installer, Configure the package manager"><img src="http://anticrap.net/wp-content/uploads/2007/09/networkmirror.png" alt="Debian Installer, Configure the package manager" /></a></p>
<p>If you have a decent Internet connection, you should pick &#8220;Yes&#8221;. If you&#8217;re using the &#8216;netinst&#8217; CD, you should definitly pick &#8220;Yes&#8221;. I pick &#8220;Yes&#8221;. The installer guides you to find a good mirror - I&#8217;m gonna pick Norway, but you should try to pick the country you live in, or a country near you. If there&#8217;s a mirror in the country you picked, you get a box which asks you which mirror you want to use. I&#8217;m gonna pick &#8220;ftp.no.debian.org&#8221; for me, since that&#8217;s my only choice. I am now asked to fill out proxy-information. If you don&#8217;t know if you&#8217;re behind a proxy or not - then you&#8217;re probably not - press enter to continue without filling the info.</p>
<p>The package manager is now gathering information from the mirror you choose. When this is over, you are asked to participate in the package user survey. This is totally optional, and can be changed later. I&#8217;m gonna pick &#8220;Yes&#8221;, but what you choose is irrelevant. You now need to tell the installer what kind of software you want.</p>
<p align="center"><a href="http://anticrap.net/wp-content/uploads/2007/09/softwareselection.png" title="Debian Installer, Software selection"><img src="http://anticrap.net/wp-content/uploads/2007/09/softwareselection.png" alt="Debian Installer, Software selection" /></a></p>
<p>If you&#8217;re installing this on your workstation, you probably want a &#8220;Desktop Environment&#8221;. &#8220;Standard System&#8221; should be checked regardless if it&#8217;s a server or a workstation. If it&#8217;s a laptop, it&#8217;s an advantage to check the &#8220;Laptop&#8221;-setting, for additional software related to laptops. I&#8217;m gonna install a &#8220;Standard system&#8221; for now.</p>
<p>The installation proceeds. After a short while, you are asked if you would like to install the GRUB boot loader on the master boot record. You usually want that. Pick yes. Again, some short installation procedure will run, and you will be notified that the installation is complete! Press continue, take out the CD, and your system will reboot. If you did not install a Desktop Environment, and get something similar to the image below, you should be OK. If you did install a Desktop Environment, and get a more graphical logon-screen - you should also be OK.</p>
<p align="center"><a href="http://anticrap.net/wp-content/uploads/2007/09/firstboot.png" title="Debian GNU/Linux: First boot"><img src="http://anticrap.net/wp-content/uploads/2007/09/firstboot.png" alt="Debian GNU/Linux: First boot" /></a></p>
<p>There&#8217;s only one thing left - and that&#8217;s a slight change of the apt-sources. (Before you continue, if you installed with a Desktop Environment, you want to press CTRL+ALT+F1 to get to the terminal which looks similar to the ones in the pictures). Log on as root (username root), and the password you specified earlier in this guide for your administrative user. Type the following:</p>
<p><code>nano /etc/apt/sources.list</code></p>
<p>You should now see something which looks similar to this:</p>
<p align="center"><a href="http://anticrap.net/wp-content/uploads/2007/09/sourceslist.png" title="Editing sources.list with nano"><img src="http://anticrap.net/wp-content/uploads/2007/09/sourceslist.png" alt="Editing sources.list with nano" /></a></p>
<p>This file contains the sources your system will use when looking for software to install and/or update. Since the software on the CD eventually will become outdated (if not already), and you hopefully have an acceptable internet connection - we want to remove the CD from the list. Just erase the lines which contain &#8220;cdrom&#8221;. When you&#8217;ve done this, press CTRL+X, followed by Y, followed by enter. You should now see something similar to this:</p>
<p align="center"><a href="http://anticrap.net/wp-content/uploads/2007/09/sourceslistwritten.png" title="Editing sources.list with nano: Successfully written"><img src="http://anticrap.net/wp-content/uploads/2007/09/sourceslistwritten.png" alt="Editing sources.list with nano: Successfully written" /></a></p>
<p>Now you should type the following:</p>
<p><code>apt-get update</code></p>
<p>When this is done running, your apt-sources is updated, and future package installations will not ask for your to insert your CD. Good luck with your Debian GNU/Linux system. If you need further assistance on how to do certain things, you can always request a guide on the guide-page.</p>
]]></content:encoded>
			<wfw:commentRss>http://anticrap.net/2007/09/27/installing-debian-gnulinux/feed/</wfw:commentRss>
		</item>
		<item>
		<title>This is the new home of my blog</title>
		<link>http://anticrap.net/2007/09/24/this-is-the-new-home-of-my-blog/</link>
		<comments>http://anticrap.net/2007/09/24/this-is-the-new-home-of-my-blog/#comments</comments>
		<pubDate>Mon, 24 Sep 2007 14:40:51 +0000</pubDate>
		<dc:creator>Trygve</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://anticrap.net/2007/09/24/this-is-the-new-home-of-my-blog/</guid>
		<description><![CDATA[Due to a unstable server at home, I&#8217;m moving the blog to a webhotel. Starting kind of from scratch, but will be populating this place with stuff I hope will be useful to others. Yep 
]]></description>
			<content:encoded><![CDATA[<p>Due to a unstable server at home, I&#8217;m moving the blog to a webhotel. Starting kind of from scratch, but will be populating this place with stuff I hope will be useful to others. Yep <img src='http://anticrap.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
			<wfw:commentRss>http://anticrap.net/2007/09/24/this-is-the-new-home-of-my-blog/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Guide: Headless Bittorrent-client with RSS support and webinterface</title>
		<link>http://anticrap.net/2007/08/30/headless-bittorrent-client-with-rss-support-and-webinterface/</link>
		<comments>http://anticrap.net/2007/08/30/headless-bittorrent-client-with-rss-support-and-webinterface/#comments</comments>
		<pubDate>Thu, 30 Aug 2007 20:19:32 +0000</pubDate>
		<dc:creator>Trygve</dc:creator>
		
		<category><![CDATA[Bittorrent]]></category>

		<category><![CDATA[Debian]]></category>

		<category><![CDATA[Linux]]></category>

		<category><![CDATA[Guides]]></category>

		<guid isPermaLink="false">http://anticrap.net/2007/08/30/headless-bittorrent-client-with-rss-support-and-webinterface/</guid>
		<description><![CDATA[Bittorrent is one of many ways to download (and share) various stuff in. If you for some reason are lucky enough to have your own little server running, it&#8217;s not a bad idea to make the server do the job - and have your workstation use its resources on other tasks. When I wanted to [...]]]></description>
			<content:encoded><![CDATA[<p>Bittorrent is one of many ways to download (and share) various stuff in. If you for some reason are lucky enough to have your own little server running, it&#8217;s not a bad idea to make the server do the job - and have your workstation use its resources on other tasks. When I wanted to put this on my server, I also wanted to make it have RSS support and to be controlled through a webinterface. At first, I made a poor solution which made bittornado monitor the torrents I put in a specified directory - and downloaded the torrents. It was running in a screen, and I dumped the output to a textfile which was available on my webserver.</p>
<p>I said poor solution, and I&#8217;m gonna stand by the fact that it was poor. It was easy though, and it worked. But because of a recent servercrash, I need to set things up again. This make me want more. I want &#8230; RSS&#8230; and I want it to be CONTROLLED through the webinterface. This can be done with Azureus! Here&#8217;s a quick how-to:</p>
<p>What you need: A server running Linux - my howto covers Debian, but it will probably work in Ubuntu as well - and probably other distros using apt-get.</p>
<p>Install the package &#8220;azureus&#8221; and &#8220;screen&#8221; (you need to be root):</p>
<p><code># apt-get install azureus screen</code></p>
<p>Now, if the package installation went well - you want to download the rssfeed, and the azhtmlwebui plugins.</p>
<ol>
<li><a href="http://azureus.sourceforge.net/plugin_details.php?plugin=rssfeed">rssfeed</a></li>
<li><a href="http://azureus.sourceforge.net/plugin_details.php?plugin=azhtmlwebui">azhtmlwebui</a></li>
</ol>
<p>These plugins are fairly simple to install. Start azureus once (as the user you intend to run azureus as - YOU DON&#8217;T WANT TO RUN AZUREUS AS ROOT!) by running</p>
<p><code># azureus --ui=console</code></p>
<p>Type &#8220;quit&#8221; shortly after it starts, just to let it build up the files it needs in your homedirectory. It&#8217;s a simple structure, and you want to put the plugins there. Unpack the zip files with the plugins you downloaded, and put them in /home/youruser/.azureus/plugins/rssfeed/ and /home/youruser/.azureus/plugins/azhtmlwebui.</p>
<p>Now we&#8217;re ready to start azureus for the first time with the plugins. Again, run the following as the user - again: don&#8217;t be root. I can&#8217;t stress this enough.</p>
<p><code># azureus --ui=console</code></p>
<p>Note, at this point you already have a working webinterface. You can access it on its default port 6886. Just use http://ipaddress:6886 in your browser, and you’re in. But you would probably want to add a couple of security features, such as authentication and change the default port. This can be done with the following commands (in the console interface):</p>
<p><code>set Plugin.azhtmlwebui.User username<br />
set "Plugin.azhtmlwebui.Password Enable" 1<br />
set Plugin.azhtmlwebui.Password yourpassword password<br />
set Plugin.azhtmlwebui.Port 13001</code></p>
<p>These four commands turned on the authentication mechanism, with the user &#8220;username&#8221;, and the password &#8220;yourpassword&#8221;. It also changed the port to 13001. This means that http://serverip:13001 would ask you for a username and password before the interface opens. So now, the service is secured with basic authentication. If you want to be able to upload something through the webinterface, you would also have to run the following:</p>
<p><code>set General_sDefaultSave_Directory /save/directory<br />
set "Use default data dir" 1</code></p>
<p>This enabled uploading through the webinterface, and added /save/directory as the default location of new downloads. Now we should have a completely working webinterface. The next thing we need to do is to set up the rssfeed plugin. If you don&#8217;t want this, you should just quit azureus (type quit), and do:</p>
<p><code># screen -d -m azureus --ui=console</code></p>
<p>Azureus is now up and running in a screen - if you want to &#8220;attach&#8221; to the application, you should run</p>
<p><code># screen -x</code></p>
<p>You can detach by typing CTRL+a followed by a press of &#8216;d&#8217;. This is very neat for other purposes too, for example running an IRC-client in a screen - you can just ssh to the box from anywhere and have access to the same IRC-session <img src='http://anticrap.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Now, back to setting up rssfeed. There&#8217;s a catch. This plugin requires to be configured with a GUI. Yes. I&#8217;m not kidding. This means that you need to install the client on a workstation with a GUI - I must confess I haven&#8217;t tested this on a Windows workstation, but I&#8217;ll guess it works just as well. Install the plugin with the internal plugin installer in the application, or use the same procedure as mentioned earlier in this guide. At this point I&#8217;m gonna presume that you have the GUI up, with the plugin installed. Let&#8217;s continue:</p>
<p>In the Plugins-menu, click &#8220;RSSFeed Scanner&#8221;. Click the &#8220;Options&#8221;-tab. Here you can add the various RSS Feed URLs. This should be torrent download URLs. This means that the &lt;guid&gt;-tag should contain the .torrent-file to download. Most torrent sites provide these rss-feeds. Add a RSS-feed by pressing the green + next to the box containing the RSS Feed URLs. Give it a name, type in an URL, a directory is optional. Check for &#8220;Enabled&#8221;, and click &#8220;Save&#8221;. At this point, the RSS Feed is added. Now you want to add some filters - &#8220;What do I want to get from this feed?&#8221;.</p>
<p>Now, click the green + next to the &#8220;Filters&#8221;-box. Give it a name - a directory is optional here as well. In the filter-field, you can type the name of what you want to download, but instead of spaces I would recommend you to use dots (.). Check &#8220;Filter is a Regular Expression&#8221;. This means that the dots counts as wildcards - which would mean that the filter &#8220;pure.pwnage&#8221; would validate both &#8220;Pure Pwnage 1&#215;11.torrent&#8221; and &#8220;pure.pwnage.1&#215;10.lol.torrent&#8221;. This is useful if you want to make sure that you get what you&#8217;re looking for. I want to set &#8220;Set State to&#8221; to &#8220;Queued&#8221;, but that&#8217;s your decision. Tell it which feeds it&#8217;s gonna use, and change the Type to the appropriate one. RSSFeed has a neat function when it comes to TV Shows. You can tell it to start from season X, and end in season Y. It will make sure that it does not download any duplicates. It&#8217;s pretty neat! Check for Enabled, and click &#8220;Save&#8221;. At this point you should give the filter a test - type in a text in the &#8220;Test match&#8221; and click &#8220;Test&#8221; to see if it&#8217;s a valid title of something you want to match. If it&#8217;s green, and it&#8217;s in the feed - it&#8217;s going to be downloaded the next time the feed is checked.</p>
<p>OK! If you&#8217;ve done everything correct so far, you have a file in your home directory under  .azureus/plugins/rssfeed/ named rssfeed.options. Copy this file over to the same directory on the server. Start azureus the way previously mentioned in this guide and everything should work. You now have RSS-support in your headless bittorrent client <img src='http://anticrap.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> The catch is the configuration of the RSSFeed plugin - I hope this will improve in later versions of rssfeed or Azureus.</p>
]]></content:encoded>
			<wfw:commentRss>http://anticrap.net/2007/08/30/headless-bittorrent-client-with-rss-support-and-webinterface/feed/</wfw:commentRss>
		</item>
		<item>
		<title>could not open default font &#8216;fixed&#8217;</title>
		<link>http://anticrap.net/2007/08/11/could-not-open-default-font-fixed/</link>
		<comments>http://anticrap.net/2007/08/11/could-not-open-default-font-fixed/#comments</comments>
		<pubDate>Sat, 11 Aug 2007 03:51:38 +0000</pubDate>
		<dc:creator>Trygve</dc:creator>
		
		<category><![CDATA[Upgrade broke this...]]></category>

		<category><![CDATA[Debian]]></category>

		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://anticrap.net/2007/08/11/could-not-open-default-font-fixed/</guid>
		<description><![CDATA[I&#8217;m a Debian user. I love Debian - it&#8217;s a distro I&#8217;m very pleased with. However, if you use the stable version of Debian, you may feel that you&#8217;re using old software. If you use the testing version of Debian, you&#8217;re doing it on your own risk - and your system might break during a [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m a <a href="http://www.debian.org">Debian</a> user. I love Debian - it&#8217;s a distro I&#8217;m very pleased with. However, if you use the stable version of Debian, you may feel that you&#8217;re using old software. If you use the testing version of Debian, you&#8217;re doing it on your own risk - and your system might break during a upgrade attempt.This just happened to me 30 minutes ago - I had to do some research on how to solve this. What I&#8217;ve done is PROBABLY valid for other distros as well - but I&#8217;ve just tested this on Debian Testing (Lenny).</p>
<p><strong>Symptoms: Starting X.ORG does not work. You get the following error in the end of your xorg.0.log:</strong></p>
<p><code>Fatal server error:<br />
could not open default font 'fixed'</code></p>
<p><strong>Cause: You have no fonts.alias files with the &#8216;fixed&#8217; alias defined</strong></p>
<p>I just did a dist-upgrade. What happened, was that the fonts.alias from xfonts-base was missing after the upgrade.</p>
<p><strong>Resolution:</strong></p>
<p>Simply removing and installing the package is not always sufficient. What I suggest you try is the following:</p>
<p><code># dpkg --purge x-window-systems-core xorg xfonts-base<br />
# apt-get install xfonts-base</code></p>
<p>If you&#8217;re still experiencing problems - you should check the following:</p>
<p><code># find /usr/share/fonts/ -iname 'fonts.alias' -exec grep -H "^fixed "  {} \;</code></p>
<p>If the command does not return any lines of output, the cause is still valid. However, if the output is for instance;</p>
<p><code>/usr/share/fonts/X11/misc/fonts.alias:fixed        -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso8859-1</code></p>
<p>You should check that /usr/share/fonts/X11/misc/ is included as a font-path in your xorg.conf.</p>
<p>I hope that helps - please feel free to leave a comment <img src='http://anticrap.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
			<wfw:commentRss>http://anticrap.net/2007/08/11/could-not-open-default-font-fixed/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Asus MyCinema P7131 in Linux</title>
		<link>http://anticrap.net/2007/07/29/asus-mycinema-p7131-in-linux/</link>
		<comments>http://anticrap.net/2007/07/29/asus-mycinema-p7131-in-linux/#comments</comments>
		<pubDate>Sun, 29 Jul 2007 01:16:29 +0000</pubDate>
		<dc:creator>Trygve</dc:creator>
		
		<category><![CDATA[Hardware]]></category>

		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://anticrap.net/2007/07/29/asus-mycinema-p7131-in-linux/</guid>
		<description><![CDATA[There seems to lack good documentation on how to make this card work in Linux. For me - it worked almost out of the box. For one the driver was ready in the stock kernel I use. But it wasn&#8217;t loaded with the correct options, and the card didn&#8217;t work the way one would want [...]]]></description>
			<content:encoded><![CDATA[<p>There seems to lack good documentation on how to make this card work in Linux. For me - it worked almost out of the box. For one the driver was ready in the stock kernel I use. But it wasn&#8217;t loaded with the correct options, and the card didn&#8217;t work the way one would want it to (didn&#8217;t see anything but black/white lines on composite input).</p>
<p>Performing</p>
<p><code># rmmod saa7134<br />
# modprobe saa7134 card=65 tuner=54<br />
# modprobe saa7134-alsa</code></p>
<p>seems to do the trick for my card. Other stuff that might be interesting for you;</p>
<p><strong>LSPCI;</strong></p>
<p>01:05.0 Multimedia controller: Philips Semiconductors SAA7133/SAA7135 Video Broadcast Decoder (rev d1)</p>
<p><strong>KERN.LOG;</strong></p>
<p><code>Jul 28 14:34:02 kvisle kernel: saa7130/34: v4l2 driver version 0.2.14 loaded<br />
Jul 28 14:34:02 kvisle kernel: saa7133[0]: found at 0000:01:05.0, rev: 209, irq: 21, latency: 32, mmio: 0xfdfff000<br />
Jul 28 14:34:02 kvisle kernel: saa7133[0]: subsystem: 1043:4845, board: V-Stream Studio TV Terminator [card=65,insmod option]<br />
Jul 28 14:34:02 kvisle kernel: saa7133[0]: board init: gpio is 0<br />
Jul 28 14:34:02 kvisle kernel: input: saa7134 IR (V-Stream Studio TV  as /class/input/input6<br />
Jul 28 14:34:02 kvisle kernel: tuner 2-004b: chip found @ 0x96 (saa7133[0])<br />
Jul 28 14:34:02 kvisle kernel: tuner 2-004b: setting tuner address to 61<br />
Jul 28 14:34:02 kvisle kernel: tuner 2-004b: type set to tda8290+75a<br />
Jul 28 14:34:02 kvisle kernel: tuner 2-004b: setting tuner address to 61<br />
Jul 28 14:34:02 kvisle kernel: tuner 2-004b: type set to tda8290+75a<br />
Jul 28 14:34:02 kvisle kernel: saa7133[0]: i2c eeprom 00: 43 10 45 48 54 20 1c 00 43 43 a9 1c 55 d2 b2 92<br />
Jul 28 14:34:02 kvisle kernel: saa7133[0]: i2c eeprom 10: 00 ff e2 0f ff 20 ff ff ff ff ff ff ff ff ff ff<br />
Jul 28 14:34:02 kvisle kernel: saa7133[0]: i2c eeprom 20: 01 40 01 02 03 01 01 03 08 ff 00 88 ff ff ff ff<br />
Jul 28 14:34:02 kvisle kernel: saa7133[0]: i2c eeprom 30: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff<br />
Jul 28 14:34:02 kvisle kernel: saa7133[0]: i2c eeprom 40: ff 22 00 c2 96 ff 02 30 15 ff ff ff ff ff ff ff<br />
Jul 28 14:34:02 kvisle kernel: saa7133[0]: i2c eeprom 50: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff<br />
Jul 28 14:34:02 kvisle kernel: saa7133[0]: i2c eeprom 60: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff<br />
Jul 28 14:34:02 kvisle kernel: saa7133[0]: i2c eeprom 70: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff<br />
Jul 28 14:34:05 kvisle kernel: saa7133[0]: registered device video0 [v4l2]<br />
Jul 28 14:34:05 kvisle kernel: saa7133[0]: registered device vbi0<br />
Jul 28 14:34:05 kvisle kernel: saa7133[0]: registered device radio0<br />
Jul 28 14:34:09 kvisle kernel: saa7134 ALSA driver for DMA sound loaded<br />
Jul 28 14:34:09 kvisle kernel: saa7133[0]/alsa: saa7133[0] at 0xfdfff000 irq 21 registered as card -1</code></p>
<p>And as a little treat in the end; If you want to play the sound over the PCI bus, instead of using a loopback cable, you can do it with sox (requires you to be tuned in to something with a suitable application);</p>
<p><code># sox -t alsa hw:1 -t alsa -w default</code></p>
]]></content:encoded>
			<wfw:commentRss>http://anticrap.net/2007/07/29/asus-mycinema-p7131-in-linux/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
