<?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>Patrik Duditš &#187; Linux</title>
	<atom:link href="http://pato.dudits.net/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://pato.dudits.net</link>
	<description>IT &#38; music blog of Patrik Duditš</description>
	<lastBuildDate>Wed, 30 Sep 2009 22:12:22 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Distribution for rather old computer</title>
		<link>http://pato.dudits.net/2009/09/12/distribution-for-rather-old-computer/</link>
		<comments>http://pato.dudits.net/2009/09/12/distribution-for-rather-old-computer/#comments</comments>
		<pubDate>Sat, 12 Sep 2009 19:13:16 +0000</pubDate>
		<dc:creator>Patrik Duditš</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://pato.dudits.net/?p=22</guid>
		<description><![CDATA[
<p>My nephews have an old K6–350 with 64 MB RAM, 2.1 GB HDD, and S3 Trio64
graphics at their grandparent's hou­se. They used it to play about 6 windows
games they have installed, until one day when boot files were suddenly gone.
Unfortunately (or not?), I already thrown out all Windows 95/98  instalation
disks. I also don't posses working floppy drive […]</p>

<!-- by Texy2! -->]]></description>
			<content:encoded><![CDATA[My nephews have an old K6–350 with 64 MB RAM, 2.1 GB HDD, and S3 Trio64
graphics at their grandparent's hou­se. They used it to play about 6 windows
games they have installed, until one day when boot files were suddenly gone.
Unfortunately (or not?), I already thrown out all Windows 95/98  instalation
disks. I also don't posses working floppy drive for few years, so all the
floppies are already gone (except for few, but as I found out, those are
unreadable anyway). So I went on a quest finding a linux distribution that:
<ul>
	<li>would run on i586</li>

	<li>would run some desktop environment, while leaving some of the 64MB of RAM
	unallocated</li>

	<li>would run recent wine</li>

	<li>would run X with GL/DRI, so those games could be run</li>
</ul>
 Well, I've got some bad news – there is no such distribution. Here's why:
<h2>Damn Small Linux</h2>
 DSL installed OK to the harddisk, but it only allowed it's ownmyDSL extensions
to be installed. Those doesn't include dosbox or wine &gt;0.9.4×. Switching to
apt didn't work on that version, because package statuses were broken, and it
would mean downloading and forcing installation of each deb. (Well, I'm writing
it after few more days of expermimentation, and it doesn't look like big deal
now :), so maybe I'll return to that).
<h2>Vector Linux Lite</h2>
 The LiveCD didn't boot, and installation was too big for 1.8GB partition.
Where's the ‚Light‘ part?
<h2>Deli Linux</h2>
 Looks nice in VM, however, there are no packages for it – neither wine or
dosbox.
<h2>Debian</h2>
 I installed XFCE environment, but it looks too heavy for the machine space-
and memory-wise. Maybe if I started without X and then added JWM and ROX
session, and configure it properly… well it would take some time to have it
done.
<h2>TeenPup 2008</h2>
 This is a puplet – spinoff of Puppy Linux 2.1. It contains many
applications, games, nice icons. But getting packages for puppy linux is a quest
itself – searching forums for .pet files, finding passwords for password
protected repositories, and fighting incompatible versions of libraries. This
distribution helped me getting acquainted with ROX file manager, which is
actually quite nice once you understand the philosophy of it. However, wine
package didn't work because of incompatible libc. I also managed to lead it to
the state where it wouldn't reboot intead it always just restarted X session. So
it was time to move further.
<h2>PuppyLinux 4.1.2</h2>
 So after spending few days with TeenPup I understood desktop and bootup
process of PuppyLinux, so I picked generic one. Installing wine went smoothly.
But DirectX games wouldn't run on Xvesa or Xorg with vesa driver. The solution
looked simple – just download full Xorg 7.3 and finally have answer to
question, whether the system is actually capable of running those games from
Wine. However, there is bug in Xorg 7.3 – xorg-server 1.3.0 doesn't export
some of basic symbol properly, so enabling S3 driver results in linking error
„Symbol RamDac not found“. So I tried to find a puplet that includes X.org
7.4
<h2>LXDE puplet</h2>
 I found that one, burned the ISO, and found out it's i686 only.
<h2>Arch Linux</h2>
 and arch linux is i686 only as well.
<h2>TinyME</h2>
 This is the last distribution I tried. Looks quite momry heavy (still LXDE is
way heavier than ROX/JWM) and still has xserver 1.3.0
<h2>Conclusion</h2>
 There's no out-of-the-box solution. So I will either return to DSL or Debian,
or get some bootable CD with win95 bootdisk and just run sys c: (to find out,
some other system files are missing :)) – but getting such CD is not easy,
who needs win95 anymore?
<!-- by Texy2! -->]]></content:encoded>
			<wfw:commentRss>http://pato.dudits.net/2009/09/12/distribution-for-rather-old-computer/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Special device UUID=xxxxxxxxxxxxxxxx does not exist (especially with LVM)</title>
		<link>http://pato.dudits.net/2008/11/03/special-device-uuidxxxxxxxxxxxxxxxx-does-not-exist-especially-with-lvm/</link>
		<comments>http://pato.dudits.net/2008/11/03/special-device-uuidxxxxxxxxxxxxxxxx-does-not-exist-especially-with-lvm/#comments</comments>
		<pubDate>Mon, 03 Nov 2008 21:10:19 +0000</pubDate>
		<dc:creator>Patrik Duditš</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://pato.dudits.net/2008/11/03/special-device-uuidxxxxxxxxxxxxxxxx-does-not-exist-especially-with-lvm/</guid>
		<description><![CDATA[
<p>UUID partition was mystery to me – according to all documentation
available they make life easier instantly and you no longer have to worry about
your partition letters. Since I'm using LVM on all servers I manage I already
stopped worrying. But since this is preferred method now, I wanted to use it
(especially after last time udev created […]</p>
]]></description>
			<content:encoded><![CDATA[
<p>UUID partition was mystery to me – according to all documentation
available they make life easier instantly and you no longer have to worry about
your partition letters. Since I'm using LVM on all servers I manage I already
stopped worrying. But since this is preferred method now, I wanted to use it
(especially after last time udev created <code>/dev/mapper/vg-lv</code> device,
but no <code>/dev/vg/lv</code> device after boot and I realized that after my
backups were week old and I had to restore corrupted file :().</p>

<p>But here's the problem with UUIDs and LVM: After you create new LV, vol_id
and blkid will show their UUID. But as soon as you want to mount that LV via
<code>/etc/fstab</code>, it yields <code>Special device UUID=... does not
exist</code>. Today I learned this special command:</p>

<p><code>sudo partprobe</code></p>

<p>It updates the /dev/disk/by-uuid directory and your uuid mount works like
a charm.</p>
]]></content:encoded>
			<wfw:commentRss>http://pato.dudits.net/2008/11/03/special-device-uuidxxxxxxxxxxxxxxxx-does-not-exist-especially-with-lvm/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Compress your /usr to save space</title>
		<link>http://pato.dudits.net/2008/11/03/compress-your-usr-to-save-space/</link>
		<comments>http://pato.dudits.net/2008/11/03/compress-your-usr-to-save-space/#comments</comments>
		<pubDate>Mon, 03 Nov 2008 10:30:44 +0000</pubDate>
		<dc:creator>Patrik Duditš</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://pato.dudits.net/2008/11/03/compress-your-usr-to-save-space/</guid>
		<description><![CDATA[
<p>I just found clever post with steps to make more space available to your
root partition by having /usr compressed with squashfs and overlayed with
unionfs. So I'm adding it here as note to self to try it on my Ubuntu on USB
disk, where I devoted to much space to NTFS partitions :) It also
could […]</p>
]]></description>
			<content:encoded><![CDATA[
<p>I just found clever post with steps to make more space available to your
root partition by having /usr compressed with squashfs and overlayed with
unionfs. So I'm adding it here as note to self to try it on my Ubuntu on USB
disk, where I devoted to much space to NTFS partitions :) It also could be fine
for Aspire One, if my wife will start to actually store any files there, not
just do the browsing.</p>

<p><a
href="http://po-ru.com/diary/linux-liposuction-or-xubuntu-in-under-a-gig-on-the-eee-pc/">http://po-ru.com/…-the-eee-pc/</a></p>

<p>Oh yes, and according to <a
href="http://news.slashdot.org/comments.pl?sid=1012917&amp;cid=25570801">this
comment</a>, Ubuntu 8.10 works nicely on Aspire One, so if I'll be willing to
sacrifice nice bootup times of Linpus to more standard way of administration (at
least for me), I might give that a try.</p>
]]></content:encoded>
			<wfw:commentRss>http://pato.dudits.net/2008/11/03/compress-your-usr-to-save-space/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setting up Acer Aspire One</title>
		<link>http://pato.dudits.net/2008/08/14/setting-up-acer-aspire-one/</link>
		<comments>http://pato.dudits.net/2008/08/14/setting-up-acer-aspire-one/#comments</comments>
		<pubDate>Thu, 14 Aug 2008 12:09:14 +0000</pubDate>
		<dc:creator>Patrik Duditš</dc:creator>
				<category><![CDATA[Aspire One]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://pato.dudits.net/?p=13</guid>
		<description><![CDATA[
<p>I recently got this cutie from Acer. It's purpose is to be my
wife's browsing machine. For that I had to modify some things: Install Skype
Install Pidgin Upgrade to Firefox 3 Instal mscorefonts Video player with
subtitle support „Advanced Mode“ First thing to do is to enable Xfce menu a.
k. a. advanced mode. Skype This one was […]</p>
]]></description>
			<content:encoded><![CDATA[
<p>I recently got this cutie from Acer. It's purpose is to be my
wife's browsing machine. For that I had to modify some things:</p>

<ol>
	<li>Install Skype</li>

	<li>Install Pidgin</li>

	<li>Upgrade to Firefox 3</li>

	<li>Instal mscorefonts</li>

	<li>Video player with subtitle support</li>
</ol>
<span id="more-13"></span>
<h3>„Advanced Mode“</h3>

<p>First thing to do is to enable Xfce menu a. k. a. <a
href="http://www.aspireoneuser.com/2008/07/09/aspire-one-advance-linpus-mode-hack/">advanced
mode</a>.</p>

<h3>Skype</h3>
 This one was fairly easy, just matter of adding skype repository to the package
manager, as described on <a
href="http://www.my-guides.net/en/content/view/91/26/1/4/">my-guides.net</a> :
<blockquote>
	<p>First you must install the Skype repository. Open a terminal and type:</p>
</blockquote>

<blockquote>
	<p><code>$ sudo nano /etc/yum.repos.d/skype.repo</code> In that file copy the
	following lines:</p>
</blockquote>

<pre><code>[skype]
name=Skype Repository
baseurl=http://download.skype.com/linux/repos/fedora/updates/i586/
enabled=0
gpgkey=http://www.skype.com/products/skype/linux/rpm-public-key.asc
gpgcheck=1</code></pre>

<blockquote>
	<p>Now you can easily install skype by typing:</p>
</blockquote>

<blockquote>
	<p><code>$ sudo yum --enablerepo=skype install skype</code></p>
</blockquote>

<blockquote>
	<p>At any time you can search for updates like that:</p>
</blockquote>

<blockquote>
	<p><code>$ sudo yum --enablerepo=skype update skype</code></p>
</blockquote>

<blockquote>
	<p>If you are asked if it is ok to import the GPG signature just type
	<strong>y</strong> and press <strong>Enter</strong>.</p>
</blockquote>

<h3>Pidgin</h3>

<p>If you want to use ICQ on your aspire one, you will need recent version of
Pidgin. Acer's IM has some dependencies on same libraries that pidgin uses, so
installing is not so straightforward, however, there is this <a
href="http://www.aspireoneuser.com/forum/viewtopic.php?f=13&amp;t=747&amp;st=0&amp;sk=t&amp;sd=a&amp;hilit=pidgin#p5181">forum
post</a>.</p>

<ol>
	<li>remeove the OLD libpurple plugin
		<ol style="list-style-type:lower-alpha">
			<li>In package manager, go to <em>List</em> tab (a popup window should appear to
			read the software info), and type <em>libpurple</em></li>

			<li>once found, then unselect it (a red dahs will appear at the left); then
			click apply.</li>
		</ol>
	</li>

	<li>install pidgin 2.4.3
		<ol style="list-style-type:lower-alpha">
			<li>go back to Browse tab (it was only this way it worked for me)</li>

			<li>click application in the left window, then go to graphical internet
			applications</li>

			<li>click on optional packages</li>

			<li>select pigdin and pidgin-libnotify</li>

			<li>then click close</li>

			<li>then click apply</li>
		</ol>
	</li>
</ol>

<p>If I remember well, I had to install libpurple by hand (though there was a
dependency) as well. Pidgin just wouldn't start without it.</p>

<h3>Firefox</h3>

<p>Now the harder part: If you want your firefox to be installed the proper way
(via yum), you should add <a
href="http://blog.famillecollet.com/pages/Config">remi repository</a> :</p>

<pre><code>wget http://rpms.famillecollet.com/remi-release-8.rpm
rpm -Uvh remi-release-8.rpm</code></pre>

<p>Following many Fedora 8 howto's you try to <code>yum upgrade firefox</code>
, but nothing happens. This is because installed firefox is not a „Fedora
firefox“, instead an „Acer firefox“. You cannot do <code>yum remove
firefox</code> as this would uninstall half of the desktop environment, as it
relies on firefox. What you can do, though is:</p>

<pre><code>rpm -e --nodeps firefox
yum install firefox</code></pre>

<p>The first one will forcibly remove the old one, without uninstalling packages
that depend on it, and yum will install package with highest version available,
which is firefox 3 in this case.</p>

<h3>Microsoft Core Web Fonts</h3>

<p>WHen you start using your freshly installed browser, you may notice, that
some of the sites doesn't look quite right (e. g. including aspireoneuser.com).
That's because they rely on some of the windows font's. Their linux package is
called msttcorefonts, but is not available in Fedora 8. You either need to <a
href="http://benperove.com/howto/install-microsoft-truetype-fonts-in-fedora-and-ubuntu/">build
it</a> or use package from <a
href="http://www.mjmwired.net/resources/mjm-fedora-f7.html#ttf">over here</a>
(not tested, I was just looking for the previous link).</p>

<h3>Video player</h3>

<p title="Livna repository RPM">For proper playback of DivX files, and
subtitles, included Video Master application is not enough. I installed
gnome-mplayer from <a href="http://rpm.livna.org/livna-release-8.rpm">livna</a>
repository. The bad thing is that upgrading mplayer breaks the Video Master, so
it's good to replace it in the desktop menu as well.</p>

<!-- by Texy2! -->]]></content:encoded>
			<wfw:commentRss>http://pato.dudits.net/2008/08/14/setting-up-acer-aspire-one/feed/</wfw:commentRss>
		<slash:comments>21</slash:comments>
		</item>
		<item>
		<title>OpenSwan and Cisco PIX: ISAKMP:not zero on reserved payload 5</title>
		<link>http://pato.dudits.net/2008/07/03/openswan-and-cisco-pix-isakmpnot-zero-on-reserved-payload-5/</link>
		<comments>http://pato.dudits.net/2008/07/03/openswan-and-cisco-pix-isakmpnot-zero-on-reserved-payload-5/#comments</comments>
		<pubDate>Thu, 03 Jul 2008 11:47:14 +0000</pubDate>
		<dc:creator>Patrik Duditš</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[linux cisco pix openswan networking]]></category>

		<guid isPermaLink="false">http://pato.dudits.net/?p=11</guid>
		<description><![CDATA[<p>Now this was another long night: I was trying to create IPSec tunnel between Cisco PIX and Ubuntu-based router with OpenSwan. At first, I was unable to estabilish ISAKMP communication as PIX always rejected it with SA not acceptable. That was solved with adding ike=aes-sha1-modp1024 into ipsec.conf configuration file. And once I got though this [...]</p>
]]></description>
			<content:encoded><![CDATA[<p>Now this was another long night: I was trying to create IPSec tunnel between Cisco PIX and Ubuntu-based router with OpenSwan. At first, I was unable to estabilish ISAKMP communication as PIX always rejected it with SA not acceptable. That was solved with adding</p>
<pre>ike=aes-sha1-modp1024</pre>
<p>into ipsec.conf configuration file. And once I got though this I came to thegreat showstopper, that is mentioned in the title. Cisco and various forums state, that my pre-shared key was wrong (but it wasn&#8217;t), that I should do <em>clear crypto sa</em> on the PIX (but it didn&#8217;t help), or that my access list was wrong (but they seemed right). After giving up and getting some sleep instead I decided to change the encryption (I used AES with SHA1). I added new policy for 3DES with MD5 and suddenly the message was gone!</p>
<p>But there was a new one, saying Proxy Identities Not Supported, and finally I found where I should have had 192.168.8.0 instead of 192.168.1.0 &#8211; in the ipsec.conf.</p>
<p>And from that time on, the tunnel works perfectly.</p>
<p>One more note:</p>
<p>After you&#8217;re happy that your tunnel has been estabilished and you&#8217;re re looking forward to trying it out, you may get disappointed that no pings to remote internal network will work, and that ssh will return <em>No route to host</em>.The secret ingredient is to use internal network interface as source, so use</p>
<pre>ping remoteinternalhost -I routerinternalinterfaceip</pre>
<pre>ssh -b routerinternalinterfaceip remoteinternalhost</pre>
]]></content:encoded>
			<wfw:commentRss>http://pato.dudits.net/2008/07/03/openswan-and-cisco-pix-isakmpnot-zero-on-reserved-payload-5/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Samba DFS link refers to a location that is unavailable.</title>
		<link>http://pato.dudits.net/2008/02/05/samba-dfs-link-refers-to-a-location-that-is-unavailable/</link>
		<comments>http://pato.dudits.net/2008/02/05/samba-dfs-link-refers-to-a-location-that-is-unavailable/#comments</comments>
		<pubDate>Mon, 04 Feb 2008 23:35:42 +0000</pubDate>
		<dc:creator>Patrik Duditš</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[dfs]]></category>
		<category><![CDATA[samba]]></category>

		<guid isPermaLink="false">http://pato.dudits.net/?p=7</guid>
		<description><![CDATA[
<p>If you ‚promoted‘ a Samba share to DFS root, a try to access the DFS link
right after the change, you may receive rather long and useless error message
from explorer, that starts with &lt;location&gt; refers to a location that is
unavailable. This is all just a result of your impatience. Log off, log
on […]</p>
]]></description>
			<content:encoded><![CDATA[
<p>If you ‚promoted‘ a Samba share to DFS root, a try to access the DFS link
right after the change, you may receive rather long and useless error message
from explorer, that starts with &lt;location&gt; refers to a location that is
unavailable. This is all just a result of your impatience. Log off, log on and
try again!</p>

<!-- by Texy2! -->]]></content:encoded>
			<wfw:commentRss>http://pato.dudits.net/2008/02/05/samba-dfs-link-refers-to-a-location-that-is-unavailable/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

