<?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>funzt.info</title>
	<atom:link href="http://www.funzt.info/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://www.funzt.info</link>
	<description>Nerd alert!</description>
	<lastBuildDate>Thu, 28 Mar 2013 20:55:03 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>Arch Linux</title>
		<link>http://www.funzt.info/?p=1060</link>
		<comments>http://www.funzt.info/?p=1060#comments</comments>
		<pubDate>Sun, 23 Dec 2012 18:46:15 +0000</pubDate>
		<dc:creator>gerrit</dc:creator>
				<category><![CDATA[Arch]]></category>
		<category><![CDATA[HOWTO]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Arch Linux]]></category>

		<guid isPermaLink="false">http://www.funzt.info/?p=1060</guid>
		<description><![CDATA[Though I was tempted to switch to Ubuntu&#8216;s latest release on my &#8220;main&#8221; computer I decided to give Arch Linux the promotion. Not that there&#8217;s anything wrong with &#8220;Quantal&#8221; aka &#8220;Ubuntu 12.10&#8243; &#8211; with the exception of the newly introduced shopping lens &#8211; but I wanted something different again. I ran Arch Linux some time [...]]]></description>
				<content:encoded><![CDATA[<p><a href="https://www.archlinux.org/" target="_blank"><img class="alignleft size-full wp-image-1084" alt="archlinux-logo-dark" src="http://i0.wp.com/www.funzt.info/wp-content/uploads/2012/12/archlinux-logo-dark.jpg?resize=180%2C60" data-recalc-dims="1" /></a></p>
<p>Though I was tempted to switch to <a title="Ubuntu" href="http://www.ubuntu.com/" target="_blank">Ubuntu</a>&#8216;s latest release on my &#8220;main&#8221; computer I decided to give <a title="Arch Linux" href="https://www.archlinux.org/" target="_blank">Arch Linux</a> the promotion. Not that there&#8217;s anything wrong with &#8220;Quantal&#8221; aka &#8220;Ubuntu 12.10&#8243; &#8211; with the exception of the newly introduced <em>shopping lens</em> &#8211; but I wanted something different again. I ran Arch Linux some time ago and liked it a lot. It then came to my attention that it was missing one (at least for me) essential feature: package signing. There has been quite some discussion about this matter and I think it was this August when package signing became default for Arch&#8217;s package manager. Of course you can argue about the importance but <em>I</em> like to know that packages are as the package maintainer wanted them to be and that nobody messed with them while stored on all the different mirrors. However, I wanted to give it shot.</p>
<p><span id="more-1060"></span><br />
Arch Linux is kind of unique among linux distros:</p>
<ol>
<li>It&#8217;s not based on or forked from any other distro (though there are distros based on or forked from Arch Linux, i.e.: <a title="ArchBang" href="http://archbang.org/" target="_blank">ArchBang</a>, <a title="Cinnarch" href="http://www.cinnarch.com/" target="_blank">Cinnarch</a> or <a title="The Chakra Project" href="http://chakra-linux.org/" target="_blank">Chakra</a>).</li>
<li>It has a rolling release cycle, so it&#8217;s install once and then upgrade the system through time.</li>
<li>It has its own unique package manager called <em>pacman</em>.</li>
<li>No fancy installer, all very, very simple and basic &#8211; not in a bad way! (If you want something to run &#8211; make it run!)</li>
<li>It is what I think the best <a title="ArchWiki" href="https://wiki.archlinux.org/" target="_blank">documented</a> linux distro (of course this mandatory in order to get things running <img src='http://i2.wp.com/www.funzt.info/wp-includes/images/smilies/icon_wink.gif?w=625' alt=';-)' class='wp-smiley' data-recalc-dims="1" />  ) and I refer to its wiki even if I have problems with other distros</li>
</ol>
<p>From the above you may already guess Arch Linux is not meant for beginners. In order to install and/or use it you should be comfortable using the command line and an editor like <em>nano</em> or <em>vi</em>. Secondly, you should be able to read Arch&#8217;s excellent <a title="Arch Wiki" href="https://wiki.archlinux.org/" target="_blank">wiki</a>! While installing Arch Linux you should have a second PC/notebook/smartphone/tablet at hand to read the installation guide &#8211; or print it out first&#8230; (and I don&#8217;t mean that as a joke) You&#8217;ll be rewarded in a very fast and clean operating system with up-to-date software.</p>
<h1>Installation</h1>
<p>To get things running grab the latest installation media from <a title="Arch Linux - Downloads" href="https://www.archlinux.org/download/" target="_blank">here</a> and burn the image to CD or copy to usbstick or whatever you do to get something bootable out of it. Then boot it! <img src='http://i2.wp.com/www.funzt.info/wp-includes/images/smilies/icon_wink.gif?w=625' alt=';-)' class='wp-smiley' data-recalc-dims="1" />  As the installation is for both supported architectures (x86 or x86_64) you may choose your desired one right away and once done you&#8217;ll face yourself in a command shell logged in as <em>root</em>. Now pay close attention to Arch&#8217;s &#8220;<a title="Beginners' Guide" href="https://wiki.archlinux.org/index.php/Beginners%27_Guide" target="_blank">Beginners&#8217; Guide</a>&#8220;, especially the &#8220;<a title="Beginners' Guide - Installation" href="https://wiki.archlinux.org/index.php/Beginners%27_Guide#Installation" target="_blank">Installation</a>&#8221; part. (I use my Android tablet for that &#8211; until I have X and a browser running in Arch <img src='http://i2.wp.com/www.funzt.info/wp-includes/images/smilies/icon_wink.gif?w=625' alt=';-)' class='wp-smiley' data-recalc-dims="1" />  ). Arch used to have some <em>ncurses</em> based installer but as it wasn&#8217;t maintained anymore it was removed and now you&#8217;ll have to do each step manually. I&#8217;ll sum up the <strong><em>for me</em></strong> important steps here (it&#8217;s all from Arch&#8217;s Wiki &#8211; if you do a fresh install you should go by instructions given there, as your mileage will vary!!):</p>
<ol>
<li>change keyboard layout to fit your language, i.e. German:<br />
<code># loadkeys de</code></li>
<li>change language (again German as example):<br />
<code>vi /etc/locale.gen</code><br />
remove comment for<br />
<code>en_US.UTF-8 UTF-8<br />
de_DE.UTF-8 UTF-8</code><br />
then:<br />
<code># locale-gen<br />
# export LANG=de_DE.UTF-8</code></li>
<li>network connection (at least if you have a wired connection to your DSL router) should already be established, check by:<br />
<code># ping -c 3 www.google.com</code><br />
if not, see <a title="Beginners' Guide - Network connection" href="https://wiki.archlinux.org/index.php/Beginners%27_Guide#Wired" target="_blank">here</a></li>
<li>partition your disk: mine already has partitions which I&#8217;d like to use, so I&#8217;ll skip this step &#8211; if you need it, see <a title="Beginners' Guide - Prepare disk" href="https://wiki.archlinux.org/index.php/Beginners%27_Guide#Prepare_the_storage_drive" target="_blank">here</a></li>
<li>create a filesystem, in my case:<br />
<code># mkfs.ext4 -L "/" /dev/sda1<br />
# mkfs.ext4 -L "/home" /dev/sda3</code></li>
<li>Usually also the swap device is configured here, but they seem to have omitted this part and moved it <a title="Swap - ArchWiki" href="https://wiki.archlinux.org/index.php/Swap" target="_blank">here</a>. Nevertheless, I create a swap space at this point as I have a dedicated partition for that:<br />
<code># mkswap /dev/sda2<br />
# swapon /dev/sda2</code></li>
<li>mount the stuff:<br />
<code># mount /dev/sda1 /mnt<br />
# mkdir /mnt/home<br />
# mount /dev/sda3 /mnt/home</code></li>
<li>edit pacman&#8217;s mirror list:<br />
<code># vi /etc/pacman.d/mirrorlist</code><br />
(I removed all non-German mirrors)</li>
<li>install the base system by:<br />
<code># pacstrap -i /mnt base base-devel</code><br />
(takes a few minutes)</li>
<li>generate <em>fstab</em> for your new system:<br />
<code># genfstab -p /mnt &gt;&gt; /mnt/etc/fstab</code><br />
and check it by<br />
<code># vi /mnt/etc/fstab</code><br />
=&gt; only &#8220;/&#8221; should have &#8220;1&#8243; as last column!</li>
<li>chroot to the new system:<br />
<code># arch-chroot /mnt</code></li>
<li>now change the language again (this time for the installed system):<br />
<code># vi /etc/locale.gen</code><br />
Remove comment for desired language (German here and I always keep English as well), i.e.:<br />
<code>en_US.UTF-8 UTF-8<br />
de_DE.UTF-8 UTF-8</code><br />
and run<br />
<code># locale-gen<br />
# echo LANG=de_DE.UTF-8 &gt; /etc/locale.conf<br />
# export LANG=de_DE.UTF-8<br />
# loadkeys de</code></li>
<li>set keys for console:<br />
<code># vi /etc/vconsole.conf</code><br />
insert:<br />
<code>KEYMAP=de<br />
FONT=<br />
FONT_MAP=</code></li>
<li>set the timezone (example for Germany and hardware clock set to UTC):<br />
<code># ln -s /usr/share/zoneinfo/Europe/Berlin /etc/localtime<br />
# hwclock --systohc --utc</code></li>
<li>set hostname:<br />
<code># echo YOUR_HOSTNAME &gt; /etc/hostname</code><br />
editing <code>/etc/hosts</code> does not seem to be required anymore, but I still have my hostname in the two <em>localhost </em>lines as well</li>
<li>enable network (example for dynamic IP with wired connection):<br />
<code>systemctl enable dhcpcd@eth0.service</code></li>
<li>configure package manager &#8211; usually there&#8217;s nothing to do, but if you&#8217;re running x86_64 you might want to consider enabling the <em>multilib</em> repository by removing the comments in <code>/etc/pacman.conf</code> and then refreshing the local package databases by:<br />
<code># pacman -Syy</code></li>
<li>create initial ramdisk:<br />
<code># mkinitcpio -p linux</code></li>
<li>set root password and create a user (with it&#8217;s own primary group):<br />
<code># passwd<br />
# groupadd YOUR_USERNAME<br />
# useradd -g YOUR_USERNAME -s /bin/bash -m -c "YOUR_FULL_NAME" YOUR_USERNAME<br />
# passwd YOUR_USERNAME<br />
</code></li>
<li>install bootloader (example for non-EFI firmware, non-GPT partition table and <em>sda</em> as boot device):<br />
<code># pacman -S grub-bios<br />
# grub-install --target=i386-pc --recheck /dev/sda<br />
# cd /usr/share/locale/en@quot/LC_MESSAGES &amp;&amp; cp grub.mo /boot/grub/locale/en.mo<br />
# cd </code></li>
<li>edit grub configuration: if you want to see boot messages remove <em>&#8220;quiet&#8221;</em> from <code>GRUB_CMDLINE_LINUX_DEFAULT</code> in <code>/etc/default/grub</code>, then run<br />
<code># grub-mkconfig -o /boot/grub/grub.cfg</code></li>
<li>now exit from change root, umount partitions and reboot:<br />
<code># exit<br />
# unmount /mnt/home<br />
# umnount /mnt<br />
# reboot</code></li>
<li>welcome to your new Arch Linux installation!</li>
</ol>
<p>You now have a very basic installation which needs some additions to do it&#8217;s everyday job.</p>
<h1>Customization</h1>
<h2>Firewall</h2>
<p>Though connected by router I like to run a basic firewall configuration. To make this easy install <em>ufw</em>:</p>
<p><code># pacman -S ufw<br />
# ufw default deny<br />
# ufw enable<br />
# systemctl enable ufw.service</code></p>
<h2>X server</h2>
<p>First thing I do is getting X to work. For that I&#8217;d like to use Nvidia&#8217;s binary driver. Install X:</p>
<p><code># pacman -S xorg-server xorg-xinit xorg-server-utils mesa xorg-twm xorg-xclock xterm ttf-dejavu<br />
</code></p>
<p>Install Nvidia driver:</p>
<p><code># pacman -S nvidia lib32-nvidia-utils</code></p>
<p>(<em>lib32-nvidia-utils</em> recommended for x86_64)</p>
<p>This will blacklist the <em>nouveau</em> driver automatically. Though not installed I&#8217;d recommend rebuilding the init ramdisk now:</p>
<p><code># mkinitcpio -p linux</code></p>
<p>Run the Nvidia configuration untility:</p>
<p><code># nvidia-xconfig</code></p>
<p>This will create <code>/etc/X11/xorg.conf</code>. Now edit this file and remove everything with the exception of</p>
<p><code>Section "Device"<br />
Identifier     "Device0"<br />
Driver         "nvidia"<br />
VendorName     "NVIDIA Corporation"<br />
Option         "NoLogo" "true"<br />
EndSection</code></p>
<p>(The <em>&#8220;NoLogo&#8221;</em> part is optional). Then reboot.<br />
Install input drivers (if not already installed):</p>
<p><code># pacman -S xf86-input-evdev xf86-input-synaptics</code></p>
<p>(<em>xf86-input-synaptics</em> needed for touchpads only)</p>
<p>Change X keyboard layout, i.e. German:</p>
<p><code># vi /etc/X11/xorg.conf.d/10-evdev.conf</code></p>
<p>Search for &#8216;<code>Identifier "evdev keyboard catchall"</code>&#8216; and add:</p>
<p><code>Option "XkbLayout" "de"<br />
Option "XkbVariant" "nodeadkeys"</code></p>
<p>Test X: login in as your regular user (not <em>root</em>!) and run</p>
<p><code># startx</code></p>
<p>This should bring up xterm. Exit from all terminals and you&#8217;ll be back to command line. X is working!</p>
<h2>Audio</h2>
<p>Install alsa:</p>
<p><code># pacman -S alsa-utils</code></p>
<p>Login as your user (not root!) and run</p>
<p><code># alsamixer</code></p>
<p>unmute the main channel (press &#8220;m&#8221;). It should work then without any further doing.</p>
<h2>Choose a desktop environment</h2>
<p>I decided to go for <a title="GNOME - ArchWiki" href="https://wiki.archlinux.org/index.php/GNOME" target="_blank">Gnome</a>, but of course there is <a title="KDE - ArchWiki" href="https://wiki.archlinux.org/index.php/KDE" target="_blank">KDE</a>, <a title="Xfce - ArchWiki" href="https://wiki.archlinux.org/index.php/Xfce" target="_blank">Xfce</a> or <a title="LXDE - ArchWiki" href="https://wiki.archlinux.org/index.php/LXDE" target="_blank">LXDE</a> as well. So, if you&#8217;d like to install Gnome as well:</p>
<p><code># pacman -S gnome gnome-extra</code></p>
<p>Enable GDM login manager:</p>
<p><code># systemctl enable gdm.service</code></p>
<p>You might also want to consider installing <em>networkmanager</em>:</p>
<p><code># pacman -S --needed networkmanager network-manager-applet<br />
# systemctl disable dhcpcd@eth0.service &amp;&amp; systemctl enable NetworkManager</code></p>
<p>For details and/or desktop customization please refer to <a title="GNOME - ArchWiki" href="https://wiki.archlinux.org/index.php/Gnome" target="_blank">Arch Wiki</a>. Also, it&#8217;s a good idea to install/enable <em>acpid</em>:</p>
<p><code># pacman -S --needed acpid &amp;&amp; systemctl enable acpid.service</code></p>
<p>Now reboot.</p>
<h2>Grub</h2>
<p>Now as we installed the Nvidia driver the boot process will show an ugly big font. To make it look nicer add</p>
<p><code>GRUB_GFXPAYLOAD_LINUX=1280x800x32</code></p>
<p>to <code>/etc/default/grub</code></p>
<p>(you have to be sure that resolution is supported by your video adapter &#8211; check by <code>vbeinfo</code>, s. <a title="GRUB2 - ArchWiki" href="https://wiki.archlinux.org/index.php/GRUB2#Visual_Configuration" target="_blank">here</a>), then run</p>
<p><code># grub-mkconfig -o /boot/grub/grub.cfg</code></p>
<p>Now it&#8217;s time to reboot and this time you may login to your newly installed desktop environment!</p>
<h2>Packages</h2>
<p>If you&#8217;re missing software it&#8217;s likely you&#8217;ll find it in Arch&#8217;s repositories. Check it out on their <a title="Arch Linux - Package Database" href="https://www.archlinux.org/packages/" target="_blank">web page</a> or just search via <em>pacman</em>:</p>
<p><code># pacman -Ss &lt;PACKAGE&gt;</code></p>
<p>If you do not find it there, you might want to to take a look at &#8220;AUR&#8221; (<strong>A</strong>rch <strong>U</strong>ser <strong>R</strong>epository) <a title="AUR" href="https://aur.archlinux.org/" target="_blank">here</a>. There you can find a lot of additional software, but be aware that this is contributed by users and packages are not maintained by Arch developers.<br />
And this is one of the nicest things about Arch: it&#8217;s package building mechanism is quite simple and straight forward! All you basically need is a PKGBUILD file. The information within this file is used to download the source code, check it&#8217;s md5 sum, compile it and finally build the software package to make it installable via <em>pacman</em>. In order to build a package from AUR this is what you want to do:</p>
<ul>
<li>search for the package in <a title="AUR" href="https://aur.archlinux.org/" target="_blank">AUR</a></li>
<li>download the tar ball (hyperlink to your right)</li>
<li>create your package directory (i.e. ~/mypackages)</li>
<li>unpack the tar ball within this directory</li>
<li>check the content (and I mean <em>open</em> the files in a text editor and see what they are actually doing!)</li>
<li>install the dependencies (&#8220;depends=(&#8230;)&#8221; part in PKGBUILD file, you won&#8217;t need any &#8220;dev&#8221; packages as it seems that Arch packages already contain their header files)</li>
<li>open a terminal, change to the directory of the unpacked tarball (where the PKGFILE is) and run (NOT as root): <code># makepkg</code></li>
<li>once the package is ready install it (of course as root): <code># pacman -U /path/to/package.xz</code></li>
</ul>
<p>From the above you see it&#8217;s advisable that you&#8217;re aware of what you&#8217;re doing and that you understand  what the PKGBUILD files (and probably other install files) will do in order not to harm your system. But after all it&#8217;s no rocket science! There also seems to be a front end for AUR called <a title="AUR - yaourt" href="https://aur.archlinux.org/packages/yaourt/" target="_blank">yaourt</a>, but i never checked it out.You can find some information on building Arch packages <a title="Arch Build System - ArchWiki" href="https://wiki.archlinux.org/index.php/Arch_Build_System" target="_blank">here</a>. You will also find some information on Arch&#8217;s ABS (Arch Build System), which is kind of similar to <a title="The FreeBSD Project" href="http://www.freebsd.org/" target="_blank">FreeBSD</a>&#8216;s ports system. You can easily re-compile Arch packages with options which suit you more.</p>
<p>If you want to learn more about <a title="pacman - ArchWiki" href="https://wiki.archlinux.org/index.php/Pacman" target="_blank">pacman</a>: check the wiki!</p>
<h1>Conclusion</h1>
<p>All together Arch is not meant for absolute Linux beginners, it&#8217;s for those who either already have some Linux/Unix knowledge and for those willing to read the wiki and learn. Installation takes a little longer than common &#8220;live installers&#8221; and of course you need some more tweaking but once this is done you&#8217;ll keep it up-to-date for a &#8220;life time&#8221; &#8211; without re-installing. You should take a look at their news page from time to time to see if there are any troubles updating (keep in mind this <em>is</em> a rolling release distro!). I personally never had any big issues with Arch (so far! <img src='http://i2.wp.com/www.funzt.info/wp-includes/images/smilies/icon_wink.gif?w=625' alt=';-)' class='wp-smiley' data-recalc-dims="1" />  ) and it runs very stable. Just read the wiki!!!</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.funzt.info/?feed=rss2&#038;p=1060</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Debian Wheezy</title>
		<link>http://www.funzt.info/?p=1030</link>
		<comments>http://www.funzt.info/?p=1030#comments</comments>
		<pubDate>Thu, 23 Aug 2012 16:10:43 +0000</pubDate>
		<dc:creator>gerrit</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.funzt.info/?p=1030</guid>
		<description><![CDATA[Recently the Debian project released the first beta of it&#8217;s to be Debian 7.0 aka &#8220;Wheezy&#8221; installer. Reason for me &#8211; of course &#8211; to check it out! So I grabbed the Beta 1 net-installer image and said goodbye to Fedora 16 on my Acer Aspire 5570Z. Fedora served very well but as soon as [...]]]></description>
				<content:encoded><![CDATA[<p>Recently the <a title="Debian" href="http://www.debian.org/" target="_blank">Debian</a> project released the first beta of it&#8217;s to be <em>Debian 7.0</em> aka <em>&#8220;Wheezy&#8221;</em> <a title="Debian-Installer" href="http://www.debian.org/devel/debian-installer/" target="_blank">installer</a>. Reason for me &#8211; of course &#8211; to check it out! So I grabbed the Beta 1 net-installer image and said goodbye to Fedora 16 on my Acer Aspire 5570Z. Fedora served very well but as soon as something works it starts boring me&#8230; <img src='http://i2.wp.com/www.funzt.info/wp-includes/images/smilies/icon_wink.gif?w=625' alt=';-)' class='wp-smiley' data-recalc-dims="1" /><br />
<span id="more-1030"></span></p>
<p>As with the latest <a title="Ubuntu" href="http://www.ubuntu.com/" target="_blank">Ubuntu</a> release 12.04 you&#8217;re kinda screwed if your hardware is equipped with a Broadcom wireless network controller like my old Acer Aspire:</p>
<p><code>gerrit@komet:~$ lspci | grep -i broadcom<br />
0a:03.0 Network controller: Broadcom Corporation BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller (rev 02)</code></p>
<p>In this case the shipped kernel 3.2.0 won&#8217;t boot. There are several bug reports for this issue (i.e. <a title="Launchpad" href="https://bugs.launchpad.net/ubuntu/+source/linux/+bug/972823" target="_blank">here</a> at Launchpad) and it seems not related to Debian or Ubuntu but is caused by an upstream kernel bug. It&#8217;s solved in later kernel releases (&gt; kernel 3.2). Don&#8217;t worry the Broadcom network controller will work in the installed system though. So, plug in you&#8217;re wired network controller and once the Debian installer boot screen is ready hit the &#8220;Tab&#8221; key and add:</p>
<p><code>b43.blacklist=yes</code></p>
<p>Be aware of the English keyboard layout! <img src='http://i0.wp.com/www.funzt.info/wp-includes/images/smilies/icon_smile.gif?w=625' alt=':-)' class='wp-smiley' data-recalc-dims="1" />  Then hit &#8220;Enter&#8221; to boot. The further installation is very straight forwarded, not any different from previous Debian installers, consisting of the usual language selection, partition layout, adding a user, etc. &#8211; and it worked very well. Once the installer finished (might take a while as there are quite some packages to download), it&#8217;ll prompt you to reboot.</p>
<p>I think this next step might not be necessary as the installer seemed to take care of blacklisting the <em>b43</em> module in the installed system already but I didn&#8217;t know that (by the way: Ubuntu fails to do so). To make sure my newly installed system was booting I hit &#8220;e&#8221; key at the grub bootloader screen and again added to the kernel line:</p>
<p><code>b43.blacklist=yes</code></p>
<p>Then hit &#8220;F10&#8243; to continue booting. Now the system should come up and you may login.</p>
<p>The Debian installer still defaults to <a title="Gnome" href="http://www.gnome.org/" target="_blank">Gnome</a> (3.4.2) as desktop. That might be changed to <a title="Xfce" href="http://www.xfce.org/" target="_blank">Xfce</a> in the near future according to this <a title="Git tasksel" href="http://anonscm.debian.org/gitweb/?p=tasksel/tasksel.git;a=commit;h=2a962cc65cdba010177f27e8824ba10d9a799a08" target="_blank">commit</a> to <em>tasksel</em> though. However, I&#8217;m fine with Gnome 3 as I got pretty much used to it and like it! On my ancient Acer Aspire it&#8217;s takes a while loading but from then on it&#8217;s OK (1GB of RAM is a little small nowadays&#8230;). If you like to install a different desktop environment you may do so now or before installation by hitting &#8220;Tab&#8221; key at the installer&#8217;s boot screen and then entering:</p>
<p><code>desktop=kde</code></p>
<p>or</p>
<p><code>desktop=xfce</code></p>
<p>for example.</p>
<p>Back to our little WLAN problem related to the <em>b43</em> module: to enable your Broadcom wireless network controller you need to install the proper firmware which then get&#8217;s kernel 3.2 to boot without issues. To do so, enable &#8220;contrib&#8221; and &#8220;non-free&#8221; in your /etc/apt/sources.list by just adding them to your mirrors, i.e.:</p>
<p><code>deb http://ftp.de.debian.org/debian/ wheezy main contrib non-free<br />
deb-src http://ftp.de.debian.org/debian/ wheezy main contrib non-free</code></p>
<p><code>deb http://security.debian.org/ wheezy/updates main contrib non-free<br />
deb-src http://security.debian.org/ wheezy/updates main contrib non-free</code></p>
<p>Now run (as root):</p>
<p><code>apt-get install b43-fwcutter firmware-b43-installer</code></p>
<p>Once installed load the module (as root):</p>
<p><code>modprobe b43</code></p>
<p>&#8230;and you should be able to configure WLAN via networkmanager. To make this persitent, check if the installer generated a file called &#8220;/etc/modprobe.d/blacklist.local.conf&#8221; and have a look at it. In my case:</p>
<p><code>gerrit@komet:~$ cat /etc/modprobe.d/blacklist.local.conf<br />
# Local module settings<br />
# Created by the Debian installer</code></p>
<p>#blacklist b43</p>
<p>Comment out the &#8220;blacklist b43&#8243; part (already done above) or simply delete the file and reboot:</p>
<ol>
<li>system should boot without trouble now</li>
<li>WLAN should be operational</li>
</ol>
<p>As always with Debian I like to tweak a few things but that depends what you prefer (or not):</p>
<p><span style="text-decoration: underline;">Firewall</span></p>
<p>I like to have iptables configured and that without going too deep:</p>
<p><code>apt-get install ufw gufw<br />
ufw default deny<br />
ufw enable</code></p>
<p><span style="text-decoration: underline;">Vim</span></p>
<p>Install the complete version of vim and make it default editor:</p>
<p><code>apt-get install vim<br />
update-alternatives --config editor</code></p>
<p><span style="text-decoration: underline;">Boot font</span></p>
<p>I hate changing fonts during boot process:</p>
<p><code>dpkg-reconfigure console-setup</code></p>
<p>Keep everything as is except the boot font type.</p>
<p><span style="text-decoration: underline;">Gnome 3</span></p>
<p>Install gnome-tweak-tool and some extensions to change fonts, icons, themes etc:</p>
<p><code>apt-get install gnome-tweak-tool gnome-shell-extensions</code></p>
<p>Log out of Gnome and re-login, then run gnome-tweak-tool and see what it does!</p>
<p>Here are two screenshots from my Gnome 3 desktop using <a title="Zukitwo GNOME-Look.org" href="http://gnome-look.org/content/show.php/Zukitwo?content=140562&amp;PHPSESSID=dae4b338952de638384e14cc80714654" target="_blank">Zukitwo</a> shell and GTK theme together with Gome-brave icon theme (from &#8220;gnome-colors&#8221; package):</p>
<div id="attachment_1037" class="wp-caption alignnone" style="width: 310px"><a href="http://www.funzt.info/?attachment_id=1037" rel="attachment wp-att-1037"><img class="size-medium wp-image-1037" title="gnome3_1" src="http://i1.wp.com/www.funzt.info/wp-content/uploads/2012/08/gnome3_1.png?resize=300%2C187" alt="" data-recalc-dims="1" /></a><p class="wp-caption-text">Zukitwo Gnome theme</p></div>
<div id="attachment_1038" class="wp-caption alignnone" style="width: 310px"><a href="http://www.funzt.info/?attachment_id=1038" rel="attachment wp-att-1038"><img class="size-medium wp-image-1038" title="gnome3_2" src="http://i1.wp.com/www.funzt.info/wp-content/uploads/2012/08/gnome3_2.png?resize=300%2C187" alt="" data-recalc-dims="1" /></a><p class="wp-caption-text">Zukitwo Gnome theme</p></div>
<p>Though Debian Wheezy still is the testing branch of Debian it run&#8217;s pretty stable and I don&#8217;t think that there will be any big issues until it&#8217;s final release (at least not for a desktop user). I do tend to be a little cautious when updating:</p>
<ul>
<li>I do not use any GUI tools for package management, but simply &#8220;<code>apt-get</code>&#8220;</li>
<li>keep an eye on what &#8220;<code>apt-get dist-upgrade</code>&#8221; is telling you</li>
<li>
<address>while applying bigger updates I tend to quit X (<code>/etc/init.d/gdm3 stop</code>)</address>
</li>
</ul>
<p>I&#8217;m not sure if any of the above is necessary but coming from <a title="aptosid.com" href="http://aptosid.com/" target="_blank">aptosid</a> (based on &#8220;unstable&#8221;) I think it won&#8217;t do no harm either! <img src='http://i2.wp.com/www.funzt.info/wp-includes/images/smilies/icon_wink.gif?w=625' alt=';-)' class='wp-smiley' data-recalc-dims="1" /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.funzt.info/?feed=rss2&#038;p=1030</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>GTK G-Rays2: Debian/Ubuntu packages</title>
		<link>http://www.funzt.info/?p=998</link>
		<comments>http://www.funzt.info/?p=998#comments</comments>
		<pubDate>Mon, 11 Jun 2012 18:45:21 +0000</pubDate>
		<dc:creator>gerrit</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Debian packages]]></category>

		<guid isPermaLink="false">http://www.funzt.info/?p=998</guid>
		<description><![CDATA[Still I like to make use of my WBT-201 GPS logging device by Wintec. (I might have mentioned this before ). Wintec does not provide software for Linux and the latest version for Windows is from 2008. However, there still is this nice peace of software by Jonathan Hudson called &#8220;GTK G-Rays2&#8220;. He recently released [...]]]></description>
				<content:encoded><![CDATA[<p>Still I like to make use of my WBT-201 GPS logging device by <a title="Wintec GPS Vertrieb" href="http://www.wintec-gps.de/" target="_blank">Wintec</a>. (I might have mentioned this before <img src='http://i2.wp.com/www.funzt.info/wp-includes/images/smilies/icon_wink.gif?w=625' alt=';-)' class='wp-smiley' data-recalc-dims="1" />  ). Wintec does not provide software for Linux and the latest version for Windows is from 2008. However, there still is this nice peace of software by Jonathan Hudson called &#8220;<a title="WBT-201 GPS and Linux" href="http://www.zen35309.zen.co.uk/gps/" target="_blank">GTK G-Rays2</a>&#8220;. He recently released a 2.x version as source, now supporting GTK3 but doesn&#8217;t provide packages for <a title="Ubuntu" href="http://www.ubuntu.com/" target="_blank">Ubuntu</a> anymore. So based on his former 1.x packages I did my worst and built them for Ubuntu 12.04. I also built <a title="Debian" href="http://www.debian.org/" target="_blank">Debian</a> packages for Debian Squeeze, but of course they are still version 1.x based.</p>
<p><span id="more-998"></span>If you&#8217;d like to install GTK G-Rays2 for Ubuntu 12.04 just add my Launchpad ppa and go ahead:</p>
<p><code>sudo add-apt-repository ppa:dabang/ppa<br />
sudo apt-get update<br />
sudo apt-get install gtk-g-rays2</code></p>
<p>Or just download from <a title="My Launchpad ppa" href="https://launchpad.net/~dabang/+archive/ppa/+packages" target="_blank">Launchpad</a> and install manually.</p>
<p>You can find the Debian packages here (the archive contains a signed md5sum file, see my key <a title="GPG key | funzt.info" href="http://www.funzt.info/?page_id=140" target="_blank">here</a>):</p>
<ul>
<li><a href="http://www.funzt.info/?attachment_id=1001" rel="attachment wp-att-1001">GTK G-Rays2 for Debian Squeeze (amd64)</a></li>
<li><a href="http://www.funzt.info/?attachment_id=1002" rel="attachment wp-att-1002">GTK G-Rays2 for Debian Squeeze (i386)</a></li>
</ul>
<p>You might want to install <a title="GPSBabel" href="http://www.gpsbabel.org/" target="_blank">gpsbabel</a> as well (this already comes with Debian&#8217;s/Ubuntu&#8217;s default repositories):</p>
<p><code>sudo apt-get install gpsbabel</code></p>
<p>Before you can make use of GTK G-Rays2 you need to put a new udev rule in place &#8211; otherwise only root would have access to the device. So, create a file called</p>
<p><code>/etc/udev/rules.d/90-wintec.rules</code></p>
<p>which has the following content:</p>
<p><code># rules for Wintec WBT-201 GPS device<br />
ATTRS{idVendor}=="10c4", ATTRS{idProduct}=="ea60", MODE="0666"</code></p>
<p>Then restart udev (or simply reboot), plug in your WBT-201 and run GTK G-Rays2!</p>
<p>Here&#8217;s a screenshot (without device attached):</p>
<div id="attachment_1003" class="wp-caption alignnone" style="width: 310px"><a href="http://www.funzt.info/?attachment_id=1003" rel="attachment wp-att-1003"><img class="size-medium wp-image-1003" title="gtk-g-rays2" alt="gtk-g-rays2" src="http://i2.wp.com/www.funzt.info/wp-content/uploads/2012/06/gtk-g-rays2.png?resize=300%2C229" data-recalc-dims="1" /></a><p class="wp-caption-text">gtk-g-rays2 (gtk3)</p></div>
<p>To download GPS tracks go to &#8220;File -&gt; Save as &#8230;&#8221;.</p>
<p>Credit goes to <a title="zen35309.zen.co.uk" href="http://www.zen35309.zen.co.uk/gps/" target="_blank">Jonathan Hudson</a> for writing this nice tool and providing packages for Ubuntu 10.10. All of the above is based on these &#8211; thanks!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.funzt.info/?feed=rss2&#038;p=998</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Pimping Unity&#8217;s indicator panel</title>
		<link>http://www.funzt.info/?p=970</link>
		<comments>http://www.funzt.info/?p=970#comments</comments>
		<pubDate>Sat, 09 Jun 2012 13:44:25 +0000</pubDate>
		<dc:creator>gerrit</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Unity]]></category>

		<guid isPermaLink="false">http://www.funzt.info/?p=970</guid>
		<description><![CDATA[With Unity becoming Ubuntu&#8216;s default desktop we had to say goodbye to all those nice applets we got used to (or at least I did) while running Gnome 2.x. I&#8217;m especially thinking about sensor-, CPU- and system-monitor-applets. Those applets are not available anymore for Unity. Instead it&#8217;s making use of indicators. So I just fired [...]]]></description>
				<content:encoded><![CDATA[<p>With <a title="Unity" href="http://unity.ubuntu.com/" target="_blank">Unity</a> becoming <a title="Ubuntu" href="http://www.ubuntu.com/" target="_blank">Ubuntu</a>&#8216;s default desktop we had to say goodbye to all those nice applets we got used to (or at least <em>I</em> did) while running <a title="GNOME" href="http://www.gnome.org/" target="_blank">Gnome</a> <a title="MATE" href="http://mate-desktop.org/" target="_blank">2.x</a>. I&#8217;m especially thinking about sensor-, CPU- and system-monitor-applets. Those applets are not available anymore for Unity. Instead it&#8217;s making use of <a title="Indicators" href="http://unity.ubuntu.com/projects/appindicators/" target="_blank">indicators</a>. So I just fired up <a title="SynapticHowto" href="https://help.ubuntu.com/community/SynapticHowto" target="_blank">synaptic</a> (still don&#8217;t like <em>Ubuntu Software Center</em>) and searched for &#8220;indicator&#8221; &#8211; and I pretty much found what I was looking for. <img src='http://i0.wp.com/www.funzt.info/wp-includes/images/smilies/icon_smile.gif?w=625' alt=':-)' class='wp-smiley' data-recalc-dims="1" /> </p>
<p><span id="more-970"></span></p>
<p>Some of the indicators just start automatically the next time you log into Unity, others have to be started manually the first time. Let&#8217;s have a look at them:</p>
<p><span style="text-decoration: underline;">Multiload indicator</span></p>
<p>This indicator is basically the system-monitor-applet from Gnome. You can configure it to show CPU/RAM/swap/whatever. Install it by</p>
<p><code># sudo apt-get install indicator-multiload</code></p>
<p>Then open dash, search for &#8220;multiload&#8221; and run it. You will see a nice graph indicating CPU load. By clicking on it a menu shows up and you&#8217;re free to configure it. This is how it looks like:<br />
<a href="http://www.funzt.info/?attachment_id=976" rel="attachment wp-att-976"><img class="alignnone size-full wp-image-976" title="multiload" src="http://i2.wp.com/www.funzt.info/wp-content/uploads/2012/06/multiload.png?resize=123%2C52" alt="multiload" data-recalc-dims="1" /></a></p>
<p><span style="text-decoration: underline;">CPU frequency</span></p>
<p>If you like to control CPU frequency scaling via indicator install this one:</p>
<p><code># sudo apt-get install indicator-cpufreq</code></p>
<p>It shows and let&#8217;s you control the current setting (ondemand, powersave, performance) of your CPU and will automatically show up once you&#8217;ve re-logged in again:<br />
<a href="http://www.funzt.info/?attachment_id=977" rel="attachment wp-att-977"><img class="alignnone size-medium wp-image-977" title="cpufrequ" src="http://i0.wp.com/www.funzt.info/wp-content/uploads/2012/06/cpufrequ.png?resize=128%2C300" alt="cpufrequ" data-recalc-dims="1" /></a></p>
<p><span style="text-decoration: underline;">Weather indicator</span></p>
<p>Missed the weather forecast in your panel? Just install this one!</p>
<p><code># sudo apt-get install indicator-weather</code></p>
<p>You have to start the weather indicator manually once by searching for &#8220;weather&#8221; in dash. From there you may choose your location and get the weather forecast henceforth:<br />
<a href="http://www.funzt.info/?attachment_id=982" rel="attachment wp-att-982"><img class="alignnone size-medium wp-image-982" title="weather" src="http://i0.wp.com/www.funzt.info/wp-content/uploads/2012/06/weather.png?resize=300%2C188" alt="weather" data-recalc-dims="1" /></a></p>
<p><span style="text-decoration: underline;">Sensors indicator</span></p>
<p>If you like to have a close eye on your computer&#8217;s sensor readings this is for you:</p>
<p><code># sudo apt-get install psensor</code></p>
<p>I&#8217;m not sure but I think this will also pull <em>lm-sensors</em> and <em>hddtemp</em> (don&#8217;t know because I install those by default). hddtemp will ask if to start as daemon. Just say yes and keep all the defaults. lm-sensors has to be configured manually first by running:</p>
<p><code># sudo sensors-detect</code></p>
<p>I tend to just go with the defaults there as well and then let the setup modify <em>/etc/modules</em> automatically. Now search for &#8220;psensor&#8221; in dash and run it. It may take a short while (and will during all future logins) but then it&#8217;ll show up and you can configure the sensor readings:</p>
<p><a href="http://www.funzt.info/?attachment_id=983" rel="attachment wp-att-983"><img class="alignnone size-medium wp-image-983" title="psensors" src="http://i1.wp.com/www.funzt.info/wp-content/uploads/2012/06/psensors.png?resize=185%2C300" alt="psensors" data-recalc-dims="1" /></a></p>
<p>Though it&#8217;s getting rather crowded in the panel now I&#8217;m quite happy with this! <img src='http://i2.wp.com/www.funzt.info/wp-includes/images/smilies/icon_wink.gif?w=625' alt=';-)' class='wp-smiley' data-recalc-dims="1" />  For the lazy ones, copy this to install them all:</p>
<p><code># sudo apt-get install indicator-multiload indicator-cpufreq indicator-weather psensor</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.funzt.info/?feed=rss2&#038;p=970</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>EncFS &amp; Dropbox for Linux/Android/Windows/MacOSX</title>
		<link>http://www.funzt.info/?p=910</link>
		<comments>http://www.funzt.info/?p=910#comments</comments>
		<pubDate>Fri, 27 Apr 2012 12:43:56 +0000</pubDate>
		<dc:creator>gerrit</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[HOWTO]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.funzt.info/?p=910</guid>
		<description><![CDATA[Nowadays there are a lot of possibilities of storing documents online &#8211; which is quite handy if you need to have stuff available on different devices or share it with others. I think one of the first who managed to make this quite easy and even supported all major OS&#8217;s was Dropbox. So I take [...]]]></description>
				<content:encoded><![CDATA[<p>Nowadays there are a lot of possibilities of storing documents online &#8211; which is quite handy if you need to have stuff available on different devices or share it with others. I think one of the first who managed to make this quite easy and even supported all major OS&#8217;s was Dropbox. So I take Dropbox as example but this should work with Microsoft&#8217;s SkyDrive and Google Drive as well. You have to put a certain amount of trust in these companies and when it comes to data a little more sensitive it&#8217;s advisable to encrypt it before uploading. My first approach was a <a title="TrueCrypt" href="http://www.truecrypt.org/" target="_blank">TrueCrypt</a> container and this of course works very well but when I stumbled upon <a title="encfs" href="http://www.arg0.net/encfs" target="_blank">EncFS</a> I seconded TrueCrypt. The combination of Dropbox and EncFS works on all my OS&#8217;s: Linux, Windows, MacOSX and Android &#8211; isn&#8217;t that great? <img src='http://i0.wp.com/www.funzt.info/wp-includes/images/smilies/icon_smile.gif?w=625' alt=':-)' class='wp-smiley' data-recalc-dims="1" /><br />
Let me state this right at the beginning: I gathered almost everything in this post from others and I will indicate the original source. I just wanted to put it all together &#8211; next time I need it I know where to look!</p>
<p><span id="more-910"></span></p>
<p><strong>Linux</strong></p>
<p>Let&#8217;s start with my main OS and set up everything from here. I got all I needed to know from the guys at <a title="Web Upd8" href="http://www.webupd8.org/" target="_blank">WebUpd8</a> &#8211; thanks for that! They concentrate on <a title="Ubuntu" href="http://www.ubuntu.com/" target="_blank">Ubuntu</a> mostly but of course you can &#8220;translate&#8221; their howto&#8217;s to <a title="Fedora Project" href="http://fedoraproject.org/" target="_blank">Fedora</a> as well. So, if you&#8217;re running Ubuntu/Debian go ahead with their original post from <a title="Web Upd8 - Encrypt Your Private Dropbox Data" href="http://www.webupd8.org/2011/06/encrypt-your-private-dropbox-data-with.html" target="_blank">here</a>.</p>
<p>To install EncFS simply run:</p>
<p><code># yum install fuse-encfs cryptkeeper</code></p>
<p><em>Cryptkeeper</em> is a nice GUI for EncFS but installation is optional. Once installed create the Dopbox folder which will hold your encrypted stuff, i.e.:</p>
<p><code># mkdir ~/Dropbox/mystuff</code></p>
<p>and the folder where files are going to be mounted un-encrypted, i.e.:</p>
<p><code># mkdir ~/Private</code></p>
<p>Now setup EncFS by:</p>
<p><code># encfs ~/Dropbox/mystuff ~/Private</code></p>
<p>I followed recommendations by <a title="WebUpd8" href="http://www.webupd8.org/2011/06/encrypt-your-private-dropbox-data-with.html" target="_blank">WebUpd8</a> and selected &#8220;p&#8221; for paranoia mode. Choose a password and you&#8217;re set!</p>
<p>Using Debian I had to add my user to the &#8220;fuse&#8221; group before I could run <em>encfs</em> commands. So run as root:</p>
<p><code># usermod -aG fuse </code></p>
<p>Now start <em>cryptkeeper </em>(either by command line or by choosing the menu entry) and you&#8217;ll find a new icon in your notification bar:</p>
<div id="attachment_919" class="wp-caption alignnone" style="width: 244px"><a href="http://www.funzt.info/?attachment_id=919" rel="attachment wp-att-919"><img class="size-full wp-image-919" title="notify" src="http://i0.wp.com/www.funzt.info/wp-content/uploads/2012/04/notify.png?resize=234%2C41" alt="cryptkeeper" data-recalc-dims="1" /></a><p class="wp-caption-text">cryptkeeper</p></div>
<p>Right clicking the icon will give you some setting options. If you&#8217;re running <a title="Gnome" href="http://www.gnome.org/" target="_blank">Gnome</a> you should be fine. If you&#8217;re running <a title="KDE" href="http://www.kde.org/" target="_blank">KDE</a> you might want to replace <em>nautilus</em> with <em>dolphin</em> as filemanager. Left clicking the icon will let you choose to import an already setup EncFS folder. Choose this and add your folders created before. Now you can mount your encrypted filesystem by simply clicking the icon and selecting the filesystem. You might want to add <em>cryptkeeper</em> to your startup programs (run <em>gnome-session-properties</em> for this).<br />
Once your EncFS is mounted you can drop files into your <code>~/Private</code> folder and you will see them encrypted in <code>~/Dropbox/mystuff</code>.</p>
<p>There is one (hidden) file though called &#8220;.encfs6.xml&#8221; (something like the public key for your encryption) and the guys at WebUpd8 suggest to exclude it from being synced to Dropbox. Doing so will have two consequences:</p>
<ol>
<li>you&#8217;ll have to copy this file manually to all other machines</li>
<li>you won&#8217;t be able to decrypt stuff on Android devices</li>
</ol>
<p>However, if you&#8217;d like to do that, first copy the file somewhere else (as it&#8217;s going to be deleted) and then exclude it, i.e.:</p>
<p><code># cp ~/Dropbox/mystuff/.encfs6.xml ~/Downloads<br />
# dropbox exclude add ~/Dropbox/mystuff/.encfs6.xml<br />
# cp ~/Downloads/.encfs6.xml ~/Dropbox/mystuff</code></p>
<p>To reverse this run</p>
<p><code># dropbox exclude remove ~/Downloads/.encfs6.xml</code></p>
<p>and the file will be synced again. (Maybe keep a backup of this file&#8230;)</p>
<p>So far so good. As I have a bunch of notebooks running different OS&#8217;s (sometimes I don&#8217;t know why myself&#8230;) and an Android phone I need to be able to decrypt stuff on those devices as well. And this is the beauty of this stuff: there are ports for every OS! <img src='http://i0.wp.com/www.funzt.info/wp-includes/images/smilies/icon_smile.gif?w=625' alt=':-)' class='wp-smiley' data-recalc-dims="1" /> </p>
<p><strong>Android</strong></p>
<p>Of course you need the Dropbox Android app installed. Then install &#8220;<a title="cryptonite" href="http://code.google.com/p/cryptonite/" target="_blank">Cryptonite</a>&#8220;, which is a nice app for handling EncFS plus it&#8217;s open source and free! Just search for <em>cryptonite</em> in Google&#8217;s Play Store and install it. (In our setup you do not need a rooted device for that to work.) Now just run <em>cryptonite</em> and link it to your Dropbox account, choose &#8220;all folders&#8221;, then select the <em>mystuff</em> folder, type your password and done!</p>
<p>You might want to reed the &#8220;<a title="cryptonite - security considerations" href="http://code.google.com/p/cryptonite/wiki/SecurityConsiderations" target="_blank">Security Considerations</a>&#8221; though.</p>
<p><strong>Windows</strong></p>
<p>My &#8220;gamer&#8221; notebook runs Windows 7 and I found some nice instructions on <a title="Das Administrative Universum" href="http://d24m.de/" target="_blank">d24m.de</a>. I followed the howto given <a title="encfs unter Windows installieren" href="http://d24m.de/2011/07/22/howto-encfs-unter-windows-installieren/" target="_blank">here</a> (in German). You basically need something like fuse which comes for Windows as &#8220;<a title="Dokan" href="http://dokan-dev.net/en/" target="_blank">Dokan</a>&#8220;. So download and install the latest Dokan library from <a title="Dokan Download" href="http://dokan-dev.net/en/download/" target="_blank">here</a> (by the time of writing version 0.60). Then get EncFS for Windows from <a title="encfs port" href="http://members.ferrara.linux.it/freddy77/encfs.html" target="_blank">here</a>. It&#8217;s a zip archive which can be extracted anywhere you want. Maybe <code>C:\Program Files\encfs</code> is a good idea. Now run <em>encfsw.exe</em> and you&#8217;ll a see a new key icon in your panel which works pretty much like <em>cryptkeeper</em> with Linux!</p>
<div id="attachment_930" class="wp-caption alignnone" style="width: 310px"><a href="http://www.funzt.info/?attachment_id=930" rel="attachment wp-att-930"><img class="size-medium wp-image-930" title="encfs" src="http://i1.wp.com/www.funzt.info/wp-content/uploads/2012/04/encfs.png?resize=300%2C280" alt="encfs" data-recalc-dims="1" /></a><p class="wp-caption-text">EncFS for Windows</p></div>
<p>Choose &#8220;Open/Create&#8221; to import your <em>Dropbox\mystuff</em> folder and type your password. From there on you can simply mount your encrypted folder by selecting the &#8220;Mount &#8230;&#8221; option. Also look into &#8220;Preferences&#8221; as this will let you autostart <em>encfsw.exe</em>.</p>
<p><strong>MacOSX (Lion)</strong></p>
<p>Again you&#8217;ll need fuse to make EncFS work. There is a project named <a title="macfuse" href="http://code.google.com/p/macfuse/" target="_blank">MacFuse</a> but it doesn&#8217;t seem to get a lot of attention lately and thus a 64bit version (which is required for Lion) is not available. Luckily there is a fork called <a title="Fuse4X" href="http://fuse4x.org/" target="_blank">Fuse4X</a> and it works pretty good on Lion. So download the latest version from <a title="Fuse4X" href="http://fuse4x.org/" target="_blank">here</a> (by the time of writing 0.90) and install it. Next you&#8217;ll need EncFS compiled against Fuse4X &#8211; you&#8217;ll find it <a title="LisaNet" href="http://www.lisanet.de/?p=128" target="_blank">here</a> at <a title="LisaNet" href="http://www.lisanet.de/" target="_blank">LisaNet</a> (German). Again, download and install. I havn&#8217;t found a GUI so you&#8217;ll have to use command line to mount the encrypted folder (yeah, I know that&#8217;s a tough one for a default Mac user&#8230; <img src='http://i2.wp.com/www.funzt.info/wp-includes/images/smilies/icon_wink.gif?w=625' alt=';-)' class='wp-smiley' data-recalc-dims="1" />  ). Create a folder as mount point first and open a terminal (or do both in the terminal):</p>
<p><code># cd<br />
# mkdir Private<br />
# encfs ~/Dropbox/mystuff ~/Private</code></p>
<p>Open Finder and you&#8217;ll see all decrypted files mounted as &#8220;fuse4x volume&#8230;&#8221;:</p>
<div id="attachment_943" class="wp-caption alignnone" style="width: 294px"><a href="http://www.funzt.info/?attachment_id=943" rel="attachment wp-att-943"><img class="size-full wp-image-943" title="fusemac" src="http://i1.wp.com/www.funzt.info/wp-content/uploads/2012/04/fusemac.png?resize=284%2C291" alt="fusemac" data-recalc-dims="1" /></a><p class="wp-caption-text">fuse4x</p></div>
<p>You&#8217;ll find the original howto for Mac OSX Lion again at <a title="Encfs mit Fuse4X unter MacOSX installieren" href="http://d24m.de/2011/08/15/encfs-mit-fuse4x-unter-mac-os-x-installieren/" target="_blank">d24m</a> (in German) &#8211; thanks!</p>
<p>That&#8217;s about it. Now you can use encrypted Dropbox folder(s) on every OS (Sorry, don&#8217;t know about iOS though&#8230;). Thanks again for those nice howtos at <a title="WebUpd8" href="http://www.webupd8.org/" target="_blank">WebUpd8</a> and <a title="Das Administrative Universum" href="http://d24m.de/" target="_blank">d24m.de</a>! And of coures a big thanks to all those porting free software to proprietary operating systems! <img src='http://i0.wp.com/www.funzt.info/wp-includes/images/smilies/icon_smile.gif?w=625' alt=':-)' class='wp-smiley' data-recalc-dims="1" /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.funzt.info/?feed=rss2&#038;p=910</wfw:commentRss>
		<slash:comments>15</slash:comments>
		</item>
		<item>
		<title>Kernel-remover for Fedora</title>
		<link>http://www.funzt.info/?p=873</link>
		<comments>http://www.funzt.info/?p=873#comments</comments>
		<pubDate>Mon, 09 Apr 2012 18:04:29 +0000</pubDate>
		<dc:creator>gerrit</dc:creator>
				<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://www.funzt.info/?p=873</guid>
		<description><![CDATA[Once you have Fedora running for while you&#8217;ll gather a bunch of kernel updates on your harddrive &#8211; and it&#8217;s likely you&#8217;ll need none of the old ones anymore. So from time to time I tend to clean up and remove old kernel packages keeping only the two latest updates. This procedure involves checking for [...]]]></description>
				<content:encoded><![CDATA[<p>Once you have <a title="Fedora Project" href="http://fedoraproject.org/" target="_blank">Fedora</a> running for while you&#8217;ll gather a bunch of kernel updates on your harddrive &#8211; and it&#8217;s likely you&#8217;ll need none of the old ones anymore. So from time to time I tend to clean up and remove old kernel packages keeping only the two latest updates. This procedure involves checking for installed kernel packages and possible related packages and then removing them &#8211; but keep the current and running kernel (of course! <img src='http://i2.wp.com/www.funzt.info/wp-includes/images/smilies/icon_wink.gif?w=625' alt=';-)' class='wp-smiley' data-recalc-dims="1" />  ). Inspired by <a title="aptosid.com" href="http://aptosid.com/" target="_blank">aptosid</a>&#8216;s and <a title="siduction.org" href="http://siduction.org/" target="_blank">siduction</a>&#8216;s <em>kernel-remover</em> package I wanted an automated process. This resulted in a little script which until now seems to work fine. Don&#8217;t get me wrong, this is no big deal and it&#8217;s definitively not as sophisticated as the one from aptosid/siduction, but I don&#8217;t have to think anymore when trying to remove old kernel packages! <img src='http://i2.wp.com/www.funzt.info/wp-includes/images/smilies/icon_wink.gif?w=625' alt=';-)' class='wp-smiley' data-recalc-dims="1" /><br />
<span id="more-873"></span><br />
What it does:</p>
<ul>
<li>check&#8217;s for installed kernel packages</li>
<li>figures out the currently running kernel</li>
<li>prompts to remove kernel packages skipping the currently running kernel</li>
<li>if you opted to uninstall a kernel package it&#8217;ll be removed including dependent packages (i.e. <em>kmod-nvidia</em> for that specific kernel) and will also remove a <em>kernel-devel</em> package (and dependent packages) if installed</li>
</ul>
<p>Prerequisites:</p>
<ul>
<li>needs to be run as root</li>
<li>of course &#8220;<em>yum</em>&#8220;</li>
<li>Fedora <img src='http://i0.wp.com/www.funzt.info/wp-includes/images/smilies/icon_smile.gif?w=625' alt=':-)' class='wp-smiley' data-recalc-dims="1" /> </li>
<li>&#8230; or a Red Hat based distro (can be overridden with &#8220;-f&#8221; to force)</li>
</ul>
<p>Installation:</p>
<p>As root copy the script where ever you like. I&#8217;d recommend /usr/local/bin. Then run as root &#8220;kernel-remover.sh&#8221;.</p>
<div id="attachment_878" class="wp-caption alignnone" style="width: 310px"><a href="http://www.funzt.info/?attachment_id=878" rel="attachment wp-att-878" target="_blank"><img class="size-medium wp-image-878" title="kernel-remover" src="http://i1.wp.com/www.funzt.info/wp-content/uploads/2012/04/kernelremover.png?resize=300%2C191" alt="kernel-remover" data-recalc-dims="1" /></a><p class="wp-caption-text">kernel-remover</p></div>
<p>If you find this useful and like to download this script, you may do so here (you&#8217;ll find a gpg signed md5sum within the tar archive. My key can be found <a title="GPG key" href="http://www.funzt.info/?page_id=140">here</a>.):</p>
<p>Download: <a title="kernel-remover" href="http://www.funzt.info/?attachment_id=875" rel="attachment wp-att-875" target="_blank">kernel-remover</a> (Updated to version 1.1 on May, 2nd 2012)</p>
<p><strong>ATTENTION:</strong><br />
I&#8217;ve tested this script and it seems to work fine. It may work on other Red Hat based distros as well but I tested on Fedora 16 only. So, it *should* do no harm, but: as always you should know what you&#8217;re doing and <span style="color: #ff0000;"><strong><em>I give no warranty what so ever! Use at your own risk!</em></strong></span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.funzt.info/?feed=rss2&#038;p=873</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fedora 16</title>
		<link>http://www.funzt.info/?p=811</link>
		<comments>http://www.funzt.info/?p=811#comments</comments>
		<pubDate>Mon, 09 Jan 2012 21:32:31 +0000</pubDate>
		<dc:creator>gerrit</dc:creator>
				<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[HOWTO]]></category>

		<guid isPermaLink="false">http://www.funzt.info/?p=811</guid>
		<description><![CDATA[Fedora 16 has been released for quite a while but I just now decided to make use of my old Acer Aspire 5572 notebook again and install the latest Fedora release. As always, Fedora is more or less equipped with &#8220;bleeding edge&#8221; software releases &#8211; which I appreciate a lot. (By the time of writing: [...]]]></description>
				<content:encoded><![CDATA[<p><a title="Fedora Project" href="http://fedoraproject.org/" target="_blank">Fedora</a> 16 has been released for quite a while but I just now decided to make use of my old Acer Aspire 5572 notebook again and install the latest Fedora release. As always, Fedora is more or less equipped with &#8220;bleeding edge&#8221; software releases &#8211; which I appreciate a lot. (By the time of writing: once installed and completely updated you will be running kernel 3.1.7.) I&#8217;ve <a title="Get Fedora" href="http://fedoraproject.org/en/get-fedora-options" target="_blank">downloaded</a> the default Gnome Live desktop installation media. Once burnt to CD and booted you&#8217;ll be a running a Fedora Live system with Gnome desktop. Yes, I like the new Gome 3 desktop!<br />
<span id="more-811"></span></p>
<p>There has been and still is a lot of controversial discussion going on about the latest <a title="GNOME" href="http://www.gnome.org/" target="_blank">Gnome</a> release and about <a title="Ubuntu" href="http://www.ubuntu.com/" target="_blank">Ubuntu</a>&#8216;s Unity as well. Both desktops are quite different from what we where used to and brake with a lot of our habits. But hey, if you don&#8217;t like them, simply don&#8217;t use them! This is open source and you <em>do</em> have the choice! And there are good alternatives available, like of course <a title="KDE" href="http://www.kde.org/" target="_blank">KDE</a>, <a title="Xfce" href="http://www.xfce.org/" target="_blank">Xfce</a> or <a title="LXDE" href="http://lxde.org/" target="_blank">LXDE</a> which come with every major distro. Another two quite new alternatives would be <a title="Cinnamon" href="http://cinnamon.linuxmint.com/" target="_blank">Cinnamon</a> (derived by <a title="Linux Mint" href="http://linuxmint.com/" target="_blank">Linux Mint</a>&#8216;s MGSE, a set of extensions for and based on Gnome 3) and <a title="Razor-qt" href="http://razor-qt.org/" target="_blank">razor-qt</a> (a lightweight desktop and like KDE based on <a title="Qt" href="http://qt.nokia.com/products/" target="_blank">Qt</a>).<br />
Personally, I&#8217;d prefer if Ubuntu would stick to Gnome but at least it&#8217;s no problem to switch to it. Just as a side note <img src='http://i2.wp.com/www.funzt.info/wp-includes/images/smilies/icon_wink.gif?w=625' alt=';-)' class='wp-smiley' data-recalc-dims="1" /> </p>
<p><strong>Installation</strong></p>
<p>OK, back to Fedora. Once you&#8217;ve booted from the CD and Gnome is running, you may start the installer by moving the mouse in the upper left corner which will make a sidebar appear where you&#8217;ll find the shortcut to the installer. Just as hint: if you&#8217;d like your own localization as default in the installed system, log out from your live session and log in again, but choose you language first! (Haven&#8217;t tried though&#8230;). If you skip this you&#8217;ll end up with English local settings but of course you may change this once the system is installed.<br />
There is nothing new about the Fedora installer. It&#8217;ll ship you safely through all required steps from keyboard settings, time zone, partitioning, root password, etc&#8230; I&#8217;ll gave Fedora the whole harddisk and let the installer do it&#8217;s magic. If you follow this as well, you&#8217;ll have ext4 as filesystem and separate partitions for <em>/boot</em>, <em>/</em>, <em>/home</em> and of course <em>swap</em>. The latter three will make use of LVM if you haven&#8217;t stated otherwise. In addition to that there&#8217;ll be a small 1MB partition labled &#8220;BIOS_GRUB&#8221;. This is due to the <a title="Changes in Fedora" href="http://docs.fedoraproject.org/en-US/Fedora/16/html/Release_Notes/sect-Release_Notes-Changes_for_Sysadmin.html" target="_blank">fact</a> that the installer will create a GPT partition layout which needs this workaround for non-EFI systems. (If you already have existing partitions you&#8217;ll be fine of course!) Only thing I changed was to make <em>/</em> and <em>/home</em> a little smaller to have space for a 100GB <em>/media/data</em> partition and change the filesystem type of <em>/boot</em> from ext4 to ext3. Once the installer starts copying you&#8217;ll have a few minutes &#8211; it&#8217;s really quick even on my old notebook! Once done you&#8217;ll need to reboot (be sure to boot from disk and not again from the installation media then!). During the first boot you&#8217;ll get the chance to enable ntp and create a user. If this isn&#8217;t you&#8217;re first Fedora installation this won&#8217;t be new. After you&#8217;re done with that you may log in for the first time. I had some <em>selinux</em> warnings caused by my <em>/media/data</em> partition, but they disappeared after a full update (which will follow now&#8230;).</p>
<p>As the release of Fedora 16 is already a few months past there&#8217;ll be a lot of updates waiting. I&#8217;ll strongly suggest a wired connection to your router. Depending on your hardware and especially in case of a Broadcom WLAN interface like a BCM4318 in my notebook WLAN connections might be rather slow! We&#8217;ll fix this later. So, this is my recommendation for doing the first big system update. Open a terminal by pointing to the upper left corner of your screen, go to <em>Applications -&gt; System Tools -&gt; Terminal</em>. Switch to root and update <em>yum</em> and <em>rpm</em> (if updates are available):</p>
<p><code># su -<br />
# yum update yum<br />
# yum update rpm<br />
# exit</code></p>
<p>You might now as well use Fedora&#8217;s update tool, but I prefer to install big updates without X running. So, log out of your X session and press &#8220;Alt + F2&#8243; which will drop you to a console. Login as root and type</p>
<p><code># init 3</code></p>
<p>and login again as root (don&#8217;t know why, but this might take some time and you might even see some pam errors &#8211; never mind!) If you don&#8217;t have a login prompt, switch to another virtual console by hitting &#8220;Alt + F1&#8243; or &#8220;Alt + F3&#8243; (you get the idea).</p>
<p>Now we&#8217;ll start the big update:</p>
<p><code># yum update</code></p>
<p>It&#8217;s time for a coffee, as this will take some time&#8230; Once done, reboot:</p>
<p><code># shutdown -r now</code></p>
<p>Now we&#8217;ll disable a few services which are not needed (unless you need FCoE or iSCSI) or were required during installation only:</p>
<p><code># svcs="livesys-late.service livesys.service iscsi.service iscsid.service fcoe.service"<br />
# for i in $svcs; do systemctl disable $i; done<br />
</code></p>
<p>As Fedora switched to <a title="Systemd" href="http://fedoraproject.org/wiki/Systemd" target="_blank">systemd</a> you&#8217;ll have to handle services now with <em>systemctl</em> command (in some cases it will redirect to the old <em>chkconfig</em> command). You might also want to start the firewall configuration tool (<em>Applications -&gt; Others -&gt; Firewall</em>) and close port 22 for <em>sshd</em>, as it&#8217;s not running anyway &#8211; unless you need it of course! <img src='http://i2.wp.com/www.funzt.info/wp-includes/images/smilies/icon_wink.gif?w=625' alt=';-)' class='wp-smiley' data-recalc-dims="1" /> </p>
<p>If you like to run <a title="TrueCrypt" href="http://www.truecrypt.org/" target="_blank">TrueCrypt</a>, it may be a good idea to grant your user a few <em>sudoer</em> privileges. To do so, add a file to <em>/etc/sudoers.d/</em> (as root &#8211; of course &#8211; and don&#8217;t forget to replace &#8220;<em>&lt;YOUR_USERNAME&gt;</em>&#8221; accordingly! <img src='http://i2.wp.com/www.funzt.info/wp-includes/images/smilies/icon_wink.gif?w=625' alt=';-)' class='wp-smiley' data-recalc-dims="1" />  ), i.e.:</p>
<p><code># echo " ALL=NOPASSWD: /bin/mount *, /bin/umount *, /usr/bin/truecrypt *" &gt;&gt; /etc/sudoers.d/&lt;YOUR_YOUSERNAME&gt;<br />
# chmod 440 /etc/sudoers.d/&lt;YOUR_YOUSERNAME&gt;</code></p>
<p>Check as &lt;YOUR_USERNAME&gt; with:</p>
<p><code># sudo -l</code></p>
<p>If TrueCrypt needs a password: it&#8217;s your users password, not root&#8217;s!</p>
<p>Installing <a title="Google Chrome" href="https://www.google.com/chrome" target="_blank">Google&#8217;s Chrome</a> is a piece of cake and once installed, you&#8217;ll have a new yum repository by Google which will help you keep it up to date. Download the Google Chrome rpm for your computer&#8217;s architecture and install it as root by:</p>
<p><code># yum localinstall /path/to/google-chrome*.rpm</code></p>
<p>This will also install some dependencies needed by Chrome.</p>
<p><strong>Proprietary stuff</strong></p>
<p>Fedora comes with GPL&#8217;ed software only. If you need stuff like mp3 playback or Nvidia proprietary driver you&#8217;ll have to enable <a title="RPM Fusion" href="http://rpmfusion.org/" target="_blank">rpmfusion</a> as a new repository. This is done quite easy, just follow the instructions given <a title="Configuration - RPM Fusion" href="http://rpmfusion.org/Configuration" target="_blank">here</a>. You might want to consider <a title="keys - RPM Fusion" href="http://rpmfusion.org/keys" target="_blank">verifying</a> the gpg keys (<a title="Fedora Project" href="https://fedoraproject.org/keys" target="_blank">this</a> may help as well). I just installed the two RPM Fusion packages and then checked the keys /etc/pki/RPM-GPG-KEY-rpmfusion-*-fedora-16-primary. Now run as root:</p>
<p><code># yum update</code></p>
<p>This will update the two packages and import the gpg keys.</p>
<p><strong>Nvidia driver</strong></p>
<p>If you need Nvidia drivers you can install them by (see <a title="Howto/nVidia - RPM Fusion" href="http://rpmfusion.org/Howto/nVidia" target="_blank">this</a> also):</p>
<p><code># yum install kmod-nvidia</code></p>
<p>This will pull some dependencies and install everything you need. Also the <em>nouveau</em> driver will be blacklisted but in my experience that is not enough. So before rebooting we&#8217;ll build a new init ramdisk (but save the old one first):</p>
<p><code># mv /boot/initramfs-$(uname -r).img /boot/initramfs-$(uname -r).img_nouveau.bak<br />
# dracut /boot/initramfs-$(uname -r).img $(uname -r)<br />
# shutdown -r now</code></p>
<p>There are two things I like to configure as well:<br />
Disable the Nvidia logo at X start by adding</p>
<p><code>Option "NoLogo" "true"</code></p>
<p>to the <em>&#8220;Device&#8221;</em> section of <em>/etc/X11/xorg.conf</em>. And make the boot screen nicer by adding</p>
<p><code>GRUB_GFXPAYLOAD_LINUX=1280x800x32</code></p>
<p>to <em>/etc/default/grub</em> (make sure the resolution fits your screen and is supported by VESA!!! =&gt; in <em>grub</em> press &#8220;C&#8221; and then type &#8220;vbeinfo&#8221;). Now run:</p>
<p><code># grub2-mkconfig -o /boot/grub2/grub.cfg</code></p>
<p>Next time you reboot you should have the <em>plymouth</em> boot screen again.</p>
<p><strong>B43 firmware</strong></p>
<p>As already mentioned, WLAN connections are rather slow with (some) Broadcom WLAN interfaces. This is due to the use of an open source firmware binary which does not enable hardware en-/decryprion. You may run &#8220;<em>dmesg</em>&#8221; and should see something like this:</p>
<p><code>b43-phy0: Loading OpenSource firmware version 410.31754<br />
b43-phy0: Hardware crypto acceleration not supported by firmware</code></p>
<p>Luckily we can install the &#8220;original&#8221; firmware by cutting it out of the Windows driver which makes WLAN come back to it&#8217;s usual speed. If not already installed, install b43-fwcutter:</p>
<p><code># yum install b43-fwcutter</code></p>
<p>Instructions are given here:<br />
<code>/usr/share/doc/b43-fwcutter-014/README.Fedora<br />
/usr/share/doc/b43-fwcutter-014/README</code><br />
and here <a title="b43 - Linux Wireless" href="http://www.linuxwireless.org/en/users/Drivers/b43#devicefirmware" target="_blank">http://www.linuxwireless.org/en/users/Drivers/b43#devicefirmware</a></p>
<p>To sum it up:</p>
<p><code># wget http://mirror2.openwrt.org/sources/broadcom-wl-5.10.56.27.3_mipsel.tar.bz2<br />
# tar xjf broadcom-wl-5.10.56.27.3_mipsel.tar.bz2<br />
# su<br />
# b43-fwcutter -w /lib/firmware broadcom-wl-5.10.56.27.3/driver/wl_apsta/wl_prebuilt.o<br />
# chmod 755 /lib/firmware/b43<br />
# rm -r broadcom-wl-5.10.56.27.3*</code></p>
<p>Reboot and run &#8220;<em>dmesg</em>&#8221; again. Now it should look like this:</p>
<p><code>b43-phy0: Loading firmware version 508.1084 (2009-01-14 01:32:01)</code></p>
<p><strong>MP3 playback</strong></p>
<p>To enable mp3 playback and have all codecs installed I <em>might</em> need I tend to simply install every <em>gestreamer-plugins-*</em> package I find&#8230; <img src='http://i2.wp.com/www.funzt.info/wp-includes/images/smilies/icon_wink.gif?w=625' alt=';-)' class='wp-smiley' data-recalc-dims="1" />  (<em>Applications -&gt; System Tools -&gt; Add/Remove Software</em>)</p>
<p><strong>Gnome 3 tweaking</strong></p>
<p>Now for Gnome 3. If you want to give Gnome 3 a try, there are a few things which might be of help. Tweaking the appearance is not made easy, but there are tools and extensions which are very helpful. First check settings in Gnome&#8217;s system settings:</p>
<div id="attachment_843" class="wp-caption alignnone" style="width: 263px"><a href="http://www.funzt.info/?attachment_id=843" rel="attachment wp-att-843" target="_blank"><img class="size-medium wp-image-843" title="systemsettings" src="http://i2.wp.com/www.funzt.info/wp-content/uploads/2012/01/systemsettings.png?resize=253%2C300" alt="systemsettings" data-recalc-dims="1" /></a><p class="wp-caption-text">Gnome System Settings</p></div>
<p>&#8230;and set them as you wish. Now I&#8217;d install a few Gnome extensions. You can install them all but enable only the ones you like:</p>
<p># yum install gnome-tweak-tool gnome-shell-extension-*</p>
<p>To make the &#8220;user-theme&#8221; extension work, we need to edit a file first. As root open<br />
<code>/usr/lib/python2.7/site-packages/gtweak/tweaks/tweak_shell.py</code> with your favorite editor and change line 46 from</p>
<p><code>THEME_EXT_NAME = "user-theme@gnome-shell-extensions.gnome.org"</code><br />
to<br />
<code>THEME_EXT_NAME = "user-theme@gnome-shell-extensions.gcampax.github.com"</code></p>
<p>Found this solution <a title="Ask Fedora" href="http://ask.fedoraproject.org/question/735/solved-how-do-i-fix-the-gnome-tweak-tool-shell" target="_blank">here</a>. You might have to log out and in again. Now press the &#8220;Windows&#8221; key which will bring up the search field in the upper right, type &#8220;tweak&#8221; and start &#8220;Advanced Settings&#8221;:</p>
<div id="attachment_844" class="wp-caption alignnone" style="width: 310px"><a href="http://www.funzt.info/?attachment_id=844" rel="attachment wp-att-844" target="_blank"><img class="size-medium wp-image-844" title="tweak" src="http://i2.wp.com/www.funzt.info/wp-content/uploads/2012/01/tweak.png?resize=300%2C69" alt="tweak" data-recalc-dims="1" /></a><p class="wp-caption-text">Advanced Settings</p></div>
<p>I think most options are self explaining. For some of them to work, you&#8217;ll have to restart the shell (&#8220;Alt + F2&#8243;, type &#8220;r&#8221;).<br />
In &#8220;Shell&#8221; tab I&#8217;d set &#8220;Arrangement of buttons on the titlebar&#8221; to &#8220;All&#8221; and I&#8217;d enable the &#8220;User Themes Extension&#8221; and &#8220;remove-accessibility-icon Extension&#8221; in &#8220;Shell Extensions&#8221; tab. The first one makes installing/enabling Gnome Shell themes really easy. Simply extract them to your ~/.themes directory and enable them in &#8220;Theme&#8221; tab. I rcommend two very nice GTK3/2 + Gnome Shell themes: <a title="Zukitwo GNOME-Look.org" href="http://gnome-look.org/content/show.php/Zukitwo?content=140562&amp;PHPSESSID=dbe2915fdc115c3c52e666c56edcfc5a" target="_blank">Zukitwo</a> and <a title="Ambiance Blue Theme Suite Gnome-Look.org" href="http://gnome-look.org/content/show.php/Ambiance+Blue+Theme+Suite?content=133676&amp;PHPSESSID=dbe2915fdc115c3c52e666c56edcfc5a" target="_blank">Ambiance Blue</a> (see the latter in my screenshots).</p>
<div id="attachment_836" class="wp-caption alignnone" style="width: 310px"><a href="http://www.funzt.info/?attachment_id=836" rel="attachment wp-att-836" target="_blank"><img class="size-medium wp-image-836" title="f16desktop" src="http://i0.wp.com/www.funzt.info/wp-content/uploads/2012/01/f16desktop.png?resize=300%2C187" alt="f16desktop" data-recalc-dims="1" /></a><p class="wp-caption-text">My Fedora 16 desktop</p></div>
<p>If not already installed, you&#8217;ll need those three packages to make those themes work:</p>
<p><code># yum install gtk-unico-engine gtk-murrine-engine gtk2-engines</code></p>
<p>&nbsp;</p>
<p>So far everything is working pretty good and I think Fedora 16 is a fine release. Only thing: from time to time shutting down the computer takes quite long (just be patient, it&#8217;ll shut down properly). Until now I haven&#8217;t found out why&#8230;</p>
<p>That&#8217;s about all I remember right now&#8230; Ah, one thing additional thing maybe: <a title="Rhythmbox" href="http://projects.gnome.org/rhythmbox/" target="_blank">Rhythmbox</a> gave me a hard time scanning music files as the scan process seemed to crash every few minutes. So I installed <a title="Banshee" href="http://banshee.fm/" target="_blank">Banshee</a> which works pretty good! And of course <a title="LibreOffice" href="http://www.libreoffice.org/" target="_blank">LibreOffice</a> and <a title="GIMP" href="http://www.gimp.org/" target="_blank">Gimp</a> are missing on the Live CD, so you might want to install those, too (<em>Applications -&gt; System Tools -&gt; Add/Remove Software</em>).</p>
<p>As always, have fun!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.funzt.info/?feed=rss2&#038;p=811</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Debian Squeeze &amp; bluetooth audio</title>
		<link>http://www.funzt.info/?p=783</link>
		<comments>http://www.funzt.info/?p=783#comments</comments>
		<pubDate>Fri, 19 Aug 2011 17:14:03 +0000</pubDate>
		<dc:creator>gerrit</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[HOWTO]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.funzt.info/?p=783</guid>
		<description><![CDATA[As I just got my hands on a new bluetooth headset &#8211; a Sennheiser MM100 &#8211; I wanted to make it work with Debian Squeeze (worked like charm with my Android phone out of the box). My notebook Samsung R780 does not come with bluetooth equipped so I use my old Belkin mini bluetooth adapter F8T016 to connect and [...]]]></description>
				<content:encoded><![CDATA[<p>As I just got my hands on a new bluetooth headset &#8211; a <a title="Sennheiser MM100" href="http://www.sennheiser.com/sennheiser/home_en.nsf/root/private_headsets_mobile_music_504111" target="_blank">Sennheiser MM100</a> &#8211; I wanted to make it work with <a title="Debian" href="http://www.debian.org/" target="_blank">Debian</a> Squeeze (worked like charm with my <a title="Android" href="http://www.android.com/" target="_blank">Android</a> phone out of the box). My notebook Samsung R780 does not come with bluetooth equipped so I use my old Belkin mini bluetooth adapter <a title="Belkin Mini Bluetooth Adapter" href="http://www.belkin.com/IWCatProductPage.process?Product_Id=398674" target="_blank">F8T016</a> to connect and I guess it should work with any more or less current bluetooth adapter (of course it has to support A2DP).</p>
<p><span id="more-783"></span>After a very short Google search it became clear that making bluetooth headsets work would become a lot easier with <a title="PulseAudio" href="http://www.pulseaudio.org/" target="_blank">pulseaudio</a> installed &#8211; which is not the default in Squeeze (still using <a title="AlsaProject" href="http://www.alsa-project.org/" target="_blank">alsa</a>). So, let&#8217;s first get the required packages (at least those are the ones I installed by just guessing <img src='http://i2.wp.com/www.funzt.info/wp-includes/images/smilies/icon_wink.gif?w=625' alt=';-)' class='wp-smiley' data-recalc-dims="1" />  ):</p>
<p><code># apt-get install pulseaudio pulseaudio-module-bluetooth pulseaudio-module-gconf pulseaudio-module-hal pulseaudio-module-jack pavucontrol</code></p>
<p>maybe optional:</p>
<p><code># apt-get install pavumeter paprefs</code></p>
<p>Once installed pair the headset with your bluetooth adapter. This is peace of cake using the <a title="Bluetooth Applet" href="http://library.gnome.org/users/gnome-bluetooth/stable/gnome-bluetooth-applet.html.en" target="_blank">gnome bluetooth applet</a>. Make sure bluetooth is switched on and your bluetooth adapter is temporarily visible. Get your headset in paring mode and then select &#8220;Setup new device&#8221; by clicking on the gnome bluetooth applet. Follow the instructions and you should be fine. Once the headset is paired, you may turn your bluetooth device to &#8220;invisible&#8221; again.</p>
<p>Now we have to configure the sound system. In Gome menu go to &#8220;Applications -&gt; Multimedia&#8221; and select the pulseaudio volume control. There change the device to the correct &#8220;PulseAudio Mixer&#8221; (sorry, all screenshots in German&#8230;):</p>
<p><a href="http://i2.wp.com/www.funzt.info/wp-content/uploads/2011/08/mixer.jpg" target="_blank"><img class="size-medium wp-image-787 alignnone" title="mixer" src="http://i2.wp.com/www.funzt.info/wp-content/uploads/2011/08/mixer.jpg?resize=300%2C222" alt="pulseaudio: select mixer" data-recalc-dims="1" /></a></p>
<p>Next open the mixer by clicking on Gnome&#8217;s mixer applet and choosing &#8220;Open volume control&#8221;. Go to the &#8220;Configuration&#8221; tab where you should see your newly paired bluetooth headset. Change it&#8217;s profile to &#8220;High Fidelity Playback (A2DP)&#8221; and keep the window open:</p>
<p><a href="http://i1.wp.com/www.funzt.info/wp-content/uploads/2011/08/profile.jpg" target="_blank"><img class="alignnone size-medium wp-image-788" title="profile" src="http://i1.wp.com/www.funzt.info/wp-content/uploads/2011/08/profile.jpg?resize=300%2C256" alt="pulseaudio: select profile" data-recalc-dims="1" /></a></p>
<p>Start your favorite media player (in my case it&#8217;s <a title="Rhythmbox" href="http://projects.gnome.org/rhythmbox/" target="_blank">Rhythmbox</a>) and start playing an audio track. Go back to volume control, choose the &#8220;Playback&#8221; tab and change the output device of your media player to your bluetooth headset:</p>
<p><a href="http://i2.wp.com/www.funzt.info/wp-content/uploads/2011/08/device.jpg" target="_blank"><img class="alignnone size-medium wp-image-786" title="device" src="http://i2.wp.com/www.funzt.info/wp-content/uploads/2011/08/device.jpg?resize=300%2C211" alt="pulseaudio: select device" data-recalc-dims="1" /></a></p>
<p>Listen and enjoy!</p>
<p>One more step though: make pulseaudio the default. I found the solution at <a title="stderr.nl" href="http://www.stderr.nl/Blog/Software/Debian/SqueezeVolumePulse.html" target="_blank">stderr.nl</a> (thanks to Matthijs Kooijman!!).<br />
So, create a file called &#8220;<code>.asoundrc</code>&#8221; in your home directory and copy these two lines into it:</p>
<p><code>pcm.!default.type pulse<br />
<code>ctl.!default.type pulse</code></code></p>
<p>If not already installed, install &#8220;gconf-editor&#8221; and then open it (i.e. just by typing <code>gconf-editor</code>). Set the value of<br />
<code>/desktop/gnome/sound/default_mixer_device</code><br />
to<br />
<code>alsamixer:default</code></p>
<p>This all worked very well for me. As soon as I connect my bluetooth headset Rhythmbox is switching from internal speakers to the headset and vice versa. Very nice!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.funzt.info/?feed=rss2&#038;p=783</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Conky with Debian Squeeze &amp; Samsung R780</title>
		<link>http://www.funzt.info/?p=738</link>
		<comments>http://www.funzt.info/?p=738#comments</comments>
		<pubDate>Mon, 15 Aug 2011 14:06:42 +0000</pubDate>
		<dc:creator>gerrit</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[HOWTO]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://www.funzt.info/?p=738</guid>
		<description><![CDATA[I wasn&#8217;t aware of this nice little tool called &#8220;Conky&#8221; until I stumbled upon the Pinguy OS website and saw the screenshot of it&#8217;s default desktop. To make Conky (and the sensor readings) work with Debian Squeeze on my Samsung R780 notebook there was some work to do. Once done, it&#8217;ll look like this: Let&#8217;s [...]]]></description>
				<content:encoded><![CDATA[<p>I wasn&#8217;t aware of this nice little tool called &#8220;<a title="Conky" href="http://conky.sourceforge.net" target="_blank">Conky</a>&#8221; until I stumbled upon the <a title="Pinguy OS" href="http://pinguy-os.sourceforge.net" target="_blank">Pinguy OS</a> website and saw the screenshot of it&#8217;s default desktop. To make Conky (and the sensor readings) work with Debian Squeeze on my Samsung R780 notebook there was some work to do. Once done, it&#8217;ll look like this:</p>
<p><span id="more-738"></span><br />
<a href="http://i0.wp.com/www.funzt.info/wp-content/uploads/2011/08/conky.jpg" target="_blank"><img class="size-medium wp-image-740 alignleft" title="conky" src="http://i0.wp.com/www.funzt.info/wp-content/uploads/2011/08/conky.jpg?resize=91%2C300" alt="conky" data-recalc-dims="1" /></a></p>
<p>Let&#8217;s start&#8230;</p>
<h4>1. Install Nvidia driver</h4>
<p>To make Conky look good it need&#8217;s a working compositing manager.  So we have to install Nvidia&#8217;s binary driver first. You may want to follow my instructions given in <a title="Debian is back..." href="http://www.funzt.info/?p=685" target="_blank">this post</a> to do so. (<em><strong>Hint:</strong></em> if you are running the latest Debian kernel from <a title="Debian Backports" href="http://backports-master.debian.org/" target="_blank">backports</a>, you have to skip the &#8220;<code># export CC=/usr/bin/gcc-4.3</code>&#8220;-step!).</p>
<h4>2. Get Compiz running</h4>
<p>Once the Nvidia driver is running, <a title="Compiz" href="http://www.compiz.org/" target="_blank">Compiz</a> needs to be installed and enabled. I will sum up the steps I found in <a title="HowtoForge" href="http://www.howtoforge.com/enabling-compiz-fusion-on-a-debian-squeeze-desktop-nvidia-geforce-8200" target="_blank">this</a> howto.<br />
First, install Compiz (you might not need Compiz and skip this section if you&#8217;re running KDE):</p>
<p><code># apt-get install compiz compizconfig-settings-manager compiz-fusion-plugins-main compiz-gnome compiz-gtk fusion-icon</code></p>
<p>Next make a backup of your X configuration&#8230;</p>
<p><code># cp /etc/X11/xorg.conf /etc/X11/xorg.conf.bk</code></p>
<p>&#8230;and add some lines to &#8220;/etc/X11/xorg.conf&#8221;:</p>
<ul>
<li>add to the end:<br />
<code>Section "Extensions"<br />
Option "Composite" "enable"<br />
EndSection</code></li>
<li>to section &#8220;<em>Device</em>&#8221; add:<br />
<code>Option "AllowGLXWithComposite" "true"<br />
Option "TripleBuffer" "true"<br />
Option "XAANoOffscreenPixmaps" "true"<br />
Option "RenderAccel" "true"</code></li>
<li>to section &#8220;<em>Screen</em>&#8221; add:<br />
<code>Option "AddARGBGLXVisuals" "true"<br />
Option "AddARGBVisuals" "true"</code></li>
</ul>
<p>Restart X or simply reboot. Once rebooted login and enable Compiz by starting &#8220;<code>fusion-icon</code>&#8221; either via command line or by Gnome menu (&#8220;Applications&#8221; -&gt; &#8220;System Tools&#8221; -&gt; &#8220;Compiz Fusion Icon&#8221;). You will notice the new icon in Gnome&#8217;s notification area indicating that Compiz is running. Right click this icon and go to &#8220;Select Window Manager -&gt; Compiz&#8221; and then &#8220;Select Window Decorator -&gt; GTK Window Decorator&#8221;. To re-enable the windows title bars start the &#8220;Settings Manager&#8221; by right clicking the Compiz icon again. This will open a new window giving you access to all Compiz settings. Navigate to &#8220;Effects&#8221; and check &#8220;Enable Window Decoration&#8221;. Then go to &#8220;Window Management&#8221; and enable &#8220;Move Window&#8221; and &#8220;Resize Window&#8221;. If the new settings do not take effect immediatly, just right click on the Compiz icon again and select &#8220;Relaod Window Manager&#8221;. If everything works fine go to &#8220;System&#8221; -&gt; &#8220;Preferences&#8221; -&gt; &#8220;Startup Applications&#8221; in Gnome menu and add &#8220;/usr/bin/fusion-icon&#8221; to the list. Log out and in again and you should have Compiz running automatically. <em>(Thanks to Falko Timme for his great howto at <a title="HowtoForge" href="http://www.howtoforge.com/enabling-compiz-fusion-on-a-debian-squeeze-desktop-nvidia-geforce-8200" target="_blank">HowtoFrorge</a>!!)</em></p>
<h4>3. Make sensors work</h4>
<p>To make Conky show all the nice sonsors information we need &#8220;hddtemp&#8221; and &#8220;lm-sensors&#8221; installed. To accomplish the first:</p>
<p><code># apt-get install hddtemp</code></p>
<p>Say &#8220;yes&#8221; to start the hddtemp daemon at boot and keep all the dafaults.</p>
<p>The thing with &#8220;lm-sensors&#8221; is a little trickier as the version which comes with Squeeze does not work with the Samsung R780&#8230; So I downloaded the &#8220;lm-senors&#8221; sources from Debian Wheezy and built packages for Squeeze. You might try the binaries &#8211; I havn&#8217;t tested that though. So I&#8217;m going to walk you through the package-building-thing. Get the sources from <a title="Debian Wheezy - lm-sensors" href="http://packages.debian.org/source/wheezy/lm-sensors" target="_blank">here</a> (by the time of writing: version 3.3.0-4) and verify all prerequisites are installed:</p>
<ul>
<li>build-essential</li>
<li>dpkg-dev</li>
<li>debhelper</li>
<li>fakeroot</li>
<li>bison</li>
<li>flex</li>
<li>bison</li>
<li>sed</li>
<li>lsb-base</li>
</ul>
<p>Now move all three downloaded source packages (*.dsc, *.orig.tar.bz2, *.debian.tar.gz) to a temporary directory, extract them and build the new binary packages (don&#8217;t need to be root!):</p>
<p><code># mkdir /tmp/lm-sensors &amp;&amp; cd /tmp/lm-sensors<br />
# mv /path/to/lm-sensors_* .<br />
# dpkg-source -x lm-sensors_&lt;VERSION&gt;.dsc<br />
# cd  lm-sensors-&lt;VERSION&gt;<br />
# dpkg-buildpackage -rfakeroot<br />
# cd ..</code></p>
<p>&#8230;and install the new packages (as root &#8211; of course <img src='http://i2.wp.com/www.funzt.info/wp-includes/images/smilies/icon_wink.gif?w=625' alt=';-)' class='wp-smiley' data-recalc-dims="1" />  ):</p>
<p><code># dpkg -i lm-sensors_-&lt;VERSION&gt;_&lt;ARCH&gt;.deb libsensors4_&lt;VERSION&gt;_&lt;ARCH&gt;.deb libsensors4-dev_&lt;VERSION&gt;_&lt;ARCH&gt;.deb fancontrol_3.3.0-3_all.deb</code></p>
<p>I installed all with the exception of the &#8220;sensord&#8221; package. If you run into any errors during the build or installation process, please install any additional dependencies (I listed all I know of above, but might be incomplete). Now we can configure sensors by running</p>
<p><code># sensors-detect</code></p>
<p>as root (just press ENTER to accept the defaults but say &#8220;yes&#8221; to edit &#8220;/etc/modules&#8221; automatically. Done!</p>
<h4>4. Finally: setup Conky</h4>
<p>The configuration of Conky was taken from <a title="Ubuntu Forums" href="http://ubuntuforums.org/showpost.php?p=9501964&amp;postcount=12986" target="_blank">pinguy</a> (thanks!!) and slightly modified by me to make it work with Debian Squeeze and Samsung R780.</p>
<p>First install Conky:</p>
<p><code># apt-get install conky-all</code></p>
<p>Next we need some fonts. If the &#8220;.fonts&#8221; directory does not exist within your home directory, create it:</p>
<p><code># [ -d ${HOME}/.fonts ] || mkdir ${HOME}/.fonts</code></p>
<p>Then download the conky-colors zip file from <a title="Deviantart - CONKY-Colors" href="http://helmuthdu.deviantart.com/art/CONKY-Colors-244793180" target="_blank">here</a> (thanks to helmuthdu!!), extract it and copy all font files from &#8220;conky_colors/fonts/conkycolors&#8221; to &#8220;~/.fonts&#8221;. Then download &#8220;my&#8221; configuration files from <a href="http://www.funzt.info/wp-content/uploads/2011/08/conky_squeeze_R780.tar" target="_blank">here</a> (&#8220;draw_bg.lua&#8221; is from <a title="Ubuntu Forums" href="http://ubuntuforums.org/showpost.php?p=9501964&amp;postcount=12986" target="_blank">here</a> and &#8220;.conkyrc&#8221; is a slightly modified version from the one also found <a title="Ubuntu Forums" href="http://ubuntuforums.org/showpost.php?p=9501964&amp;postcount=12986" target="_blank">here</a> &#8211; again, thanks to <em>pinguy</em>!). Extract the files to your home directory:</p>
<p><code># cd<br />
# tar xvf /path/to/conky_squeeze_R780.tar</code></p>
<p>If you don&#8217;t want the &#8221;draw_bg.lua&#8221; in your home directory, move it somewhere else and change line 64 of &#8220;.conkyrc&#8221; accordingly. Also, if you&#8217;re running KDE instead of Gnome, comment/uncomment lines 17-28 of &#8220;.conkyrc&#8221; as desired (I found the KDE settings in <a title="Conky - ArchWiki" href="https://wiki.archlinux.org/index.php/Conky#Integrate_with_KDesktop" target="_blank">Arch Linux&#8217; Wiki</a>). Now try to start Conky by simply typing</p>
<p><code># conky</code></p>
<p>If everything is fine, press Ctrl-C to terminate it. To start Conky at login, we need a little start script to work around a race condition between the loading of the window manager and Conky (Conky might stay in the foreground then). Create a file with the following content:</p>
<p><code>#!/bin/bash<br />
# start conky with delay<br />
sleep 10 &amp;&amp; /usr/bin/conky &amp;</code></p>
<p>i.e. call it &#8220;start_conky.sh&#8221; and put it in a folder called &#8220;bin&#8221; in your home directory. Then make it executable:</p>
<p><code># chmod +x /path/to/start_conky.sh</code></p>
<p>This will delay the start of Conky by 10 seconds. Now add this file to &#8220;Startup Applications&#8221; (&#8220;Gnome menu&#8221; -&gt; &#8220;System&#8221; -&gt; &#8220;Startup Applications&#8221;). Log out and in again &#8211; enjoy Conky! <img src='http://i0.wp.com/www.funzt.info/wp-includes/images/smilies/icon_smile.gif?w=625' alt=':-)' class='wp-smiley' data-recalc-dims="1" /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.funzt.info/?feed=rss2&#038;p=738</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VMware with kernel 2.6.38 [updated for kernel 2.6.39]</title>
		<link>http://www.funzt.info/?p=719</link>
		<comments>http://www.funzt.info/?p=719#comments</comments>
		<pubDate>Sun, 07 Aug 2011 13:43:07 +0000</pubDate>
		<dc:creator>gerrit</dc:creator>
				<category><![CDATA[HOWTO]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://www.funzt.info/?p=719</guid>
		<description><![CDATA[Running Debian Squeeze with the latest kernel 2.6.38 from Debian Backports I had some trouble getting VMware Player to work. Once started it complained about not being able to compile the &#8220;vmnet&#8221; kernel module. I found the solution here and this is how you can make it work: First copy the source tarball to a [...]]]></description>
				<content:encoded><![CDATA[<p>Running <a title="Debian" href="http://www.debian.org/" target="_blank">Debian Squeeze</a> with the latest kernel 2.6.38 from <a title="Debian Backports" href="http://backports-master.debian.org/" target="_blank">Debian Backports</a> I had some trouble getting VMware Player to work. Once started it complained about not being able to compile the &#8220;vmnet&#8221; kernel module. I found the solution <a title="VMware Communities" href="http://communities.vmware.com/message/1750689" target="_blank">here</a> and this is how you can make it work:</p>
<p><span id="more-719"></span>First copy the source tarball to a temporary directory, unpack it and edit the file &#8220;driver.c&#8221;:</p>
<p><code># cp /usr/lib/vmware/modules/source/vmnet.tar /tmp<br />
# cd /tmp<br />
# tar xvf vmnet.tar<br />
# vi vmnet-only/driver.c</code><br />
(Of course you can choose <em></em> any other editor like <em>nano</em> or <em>gedit</em> instead of <em>vi</em> as well.)</p>
<p>Now go to lines 267, 271, 1137 and 1139, replace &#8220;<code>lock_kernel();</code>&#8221; with &#8220;<code>lock_flocks();</code>&#8221; and save the file. Next (as root) make a backup of the original tarball and generate the new one:</p>
<p><code># mv /usr/lib/vmware/modules/source/vmnet.tar /usr/lib/vmware/modules/source/vmnet.tar.orig<br />
# cd /tmp<br />
# tar cvf /usr/lib/vmware/modules/source/vmnet.tar vmnet-only</code></p>
<p>Clean up:</p>
<p><code># cd /tmp<br />
# rm -r vmnet.tar vmnet-only</code></p>
<p>All you have do to now is to start VMware Player again and it&#8217;ll compile all kernel modules cleanly!</p>
<p><span style="text-decoration: underline;"><em><strong>UPDATE:</strong></em></span> If you are running kernel 2.6.39 (for Debian Squeeze also available in <a title="Debian Backports" href="http://backports-master.debian.org/" target="_blank">Backports</a>) the above does not work. I found a solution in <a title="Arch Linux" href="http://www.archlinux.org/" target="_blank">Arch Linux</a>&#8216; Wiki <a title="VMware - ArchWiki" href="https://wiki.archlinux.org/index.php/VMware#2.6.39_kernels" target="_blank">here</a> and listed everything below. <span style="color: #ff0000;"><em><strong>Please notice, the procedure involves patching the sources with a patch file written by a third party. If you do not trust this patch, do not use it!</strong></em></span></p>
<p>If you decide to trust the patch, start by reverting the original vmnet.tar (if you already followed instructions for kernel 2.6.38 above) and make backups of all source tarballs (as root):</p>
<p><code># mv /usr/lib/vmware/modules/source/vmnet.tar.orig /usr/lib/vmware/modules/source/vmnet.tar<br />
# cd /usr/lib/vmware/modules/source<br />
# for i in `ls *.tar`; do cp -p ${i} ${i}.orig; done</code></p>
<p>Now we need to patch the sources (don&#8217;t need to be root for this!):</p>
<p><code># mkdir /tmp/vmware &amp;&amp; cd /tmp/vmware<br />
# for t in /usr/lib/vmware/modules/source/*.tar; do tar xf $t; done<br />
# wget -qO- http://kaslit.com/downloads/vmware2.6.39fixed.patch | patch -Np1</code></p>
<p>As root:</p>
<p><code># for d in *-only; do tar cf /usr/lib/vmware/modules/source/${d/%-only/}.tar $d; done<br />
# cd /tmp &amp;&amp; rm -r vmware</code></p>
<p>Now VMware should play nicely with kernel 2.6.39!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.funzt.info/?feed=rss2&#038;p=719</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
