<?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>Janeks random writings &#187; Linux</title>
	<atom:link href="http://www.hellqvist.com/janek/weblog/category/computer-related-bits-pieces/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.hellqvist.com/janek/weblog</link>
	<description>No, it's not another diary.</description>
	<lastBuildDate>Fri, 22 Jan 2010 23:45:22 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Re-injecting emails collected on a different host (like a MX backup) into Postfix</title>
		<link>http://www.hellqvist.com/janek/weblog/2010/01/23/re-injecting-emails-collected-on-a-different-host-like-a-mx-backup-into-postfix/</link>
		<comments>http://www.hellqvist.com/janek/weblog/2010/01/23/re-injecting-emails-collected-on-a-different-host-like-a-mx-backup-into-postfix/#comments</comments>
		<pubDate>Fri, 22 Jan 2010 23:45:22 +0000</pubDate>
		<dc:creator>Janek</dc:creator>
				<category><![CDATA[Howto]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[getmail]]></category>
		<category><![CDATA[postfix]]></category>

		<guid isPermaLink="false">http://www.hellqvist.com/janek/weblog/?p=39</guid>
		<description><![CDATA[Due to recent hosting troubles I had to quickly deploy a backup MX for my primary mail server. This was quickly achieved using a VPS hosted by the Swedish webhost GleSys.
But since my customers needed to be able to read and reply to emails while the primary site was down, I couldn&#8217;t just let the [...]]]></description>
			<content:encoded><![CDATA[<p>Due to recent hosting troubles I had to quickly deploy a backup MX for my primary mail server. This was quickly achieved using a VPS hosted by the Swedish webhost <a href="http://www.glesys.se">GleSys</a>.</p>
<p>But since my customers needed to be able to read and reply to emails while the primary site was down, I couldn&#8217;t just let the backup system keep the incoming email in the queue and deliver them once the primary sit was up. I decided to deliver the emails locally but also keep a copy of all emails that passed through the system.</p>
<p>These archived emails were to be re-delivered once the primary site was up again, and here&#8217;s how I did it, step by step.</p>
<ul>
<li>Set up a VPS for the backup MX host.</li>
<li>Set up the system using the same guide I used for the primary site, which was the great <a href="http://workaround.org/articles/ispmail-etch/">ISPmail tutorial</a> by <em>Christoph Haas</em>.</li>
<li>Added the option always_bcc to the Postfix config, pointing it to a new local mailbox.</li>
<li>Once the primary server was up again, I set up getmail like this:
<ul>
<li>
<pre>[retriever]
type = SimplePOP3Retriever
server = hostname_of_backup_mx
username = username_of_backup_account
password = secret</pre>
<pre>[destination]
type = MDA_external
arguments = ("-i", "-bm", "-t")</pre>
<pre>[options]
verbose = 2</pre>
</li>
</ul>
</li>
</ul>
<p>Running getmailrc quickly restored all the emails on the primary host. Remember not to run it multiple times since the default is to re-download already processed messages.</p>
<p>The downsides of this setup:</p>
<ul>
<li>Deleted emails (like spam) are seen again by the users. POP users will receive duplicates of already retrieved messages. IMAP users will however have a mailbox which includes both old messages and the ones delivered to the backup server.</li>
<li>The spam filter wasn&#8217;t used in delivery process. I realize this could be achieved with fetchmail (which includes the SMTP delivery option that getmail lacks) but I decided to use getmail anyway.</li>
</ul>
<p>I realize there might be prettier solutions to the original problem (BOTH delivering emails locally and keeping them in a queue for a primary MX), but I couldn&#8217;t find out how and this proved to be a pretty solid solution. Feel free to suggest better ways to solve the problem!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hellqvist.com/janek/weblog/2010/01/23/re-injecting-emails-collected-on-a-different-host-like-a-mx-backup-into-postfix/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Auto-mounting Samba shares on Windows XP</title>
		<link>http://www.hellqvist.com/janek/weblog/2007/10/09/auto-mounting-samba-shares-on-windows-xp/</link>
		<comments>http://www.hellqvist.com/janek/weblog/2007/10/09/auto-mounting-samba-shares-on-windows-xp/#comments</comments>
		<pubDate>Tue, 09 Oct 2007 18:04:24 +0000</pubDate>
		<dc:creator>Janek</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[samba]]></category>

		<guid isPermaLink="false">http://www.hellqvist.com/janek/weblog/2007/10/09/auto-mounting-samba-shares-on-windows-xp/</guid>
		<description><![CDATA[Getting Windows XP to remember the password for mounted network folders can be a real hassle, but here&#8217;s some help. I&#8217;m not sure if this is a Samba-specific problem or not, but it has happened to me several times now on both Windows 2000 and XP machines.

Try using the &#8220;Manage my network passwords&#8221; window (accessed [...]]]></description>
			<content:encoded><![CDATA[<p>Getting Windows XP to remember the password for mounted network folders can be a real hassle, but here&#8217;s some help. I&#8217;m not sure if this is a Samba-specific problem or not, but it has happened to me several times now on both Windows 2000 and XP machines.</p>
<ul>
<li>Try using the &#8220;<a href="http://support.microsoft.com/kb/306541">Manage my network passwords</a>&#8221; window (accessed through the &#8220;User accounts&#8221; applet in the control panel)</li>
<li>If that didn&#8217;t help:</li>
</ul>
<ul>
<li>Make sure to enter the server name in the username box, example: MACHINE\username</li>
<li>Try entering the IP address of the server instead of the host name (worked for me when everything else failed).</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.hellqvist.com/janek/weblog/2007/10/09/auto-mounting-samba-shares-on-windows-xp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SquirrelMail 1.4.0 and &#8220;unknown response from server&#8221;</title>
		<link>http://www.hellqvist.com/janek/weblog/2006/10/04/squirrelmail-140-and-unknown-response-from-server/</link>
		<comments>http://www.hellqvist.com/janek/weblog/2006/10/04/squirrelmail-140-and-unknown-response-from-server/#comments</comments>
		<pubDate>Wed, 04 Oct 2006 09:28:36 +0000</pubDate>
		<dc:creator>Janek</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.hellqvist.com/janek/weblog/2006/10/04/squirrelmail-140-and-unknown-response-from-server/</guid>
		<description><![CDATA[After restoring a maildir based mailbox from a backup, the user in question experienced some odd errors from SquirrelMail. When opening the inbox, the error &#8220;unknown response from server&#8221; was displayed by SquirrelMail.
I moved all files from the inbox to a temporary directory and started moving the back a few at a time, to isolate [...]]]></description>
			<content:encoded><![CDATA[<p>After restoring a maildir based mailbox from a backup, the user in question experienced some odd errors from SquirrelMail. When opening the inbox, the error &#8220;unknown response from server&#8221; was displayed by SquirrelMail.</p>
<p>I moved all files from the inbox to a temporary directory and started moving the back a few at a time, to isolate which emails that caused the problem. After about an hour of investigation, I noticed that there were a few duplicates with the same size and almost the same name. The only thing that differed was the <a href="http://cr.yp.to/proto/maildir.html">Maildir &#8220;flags&#8221;</a> after the comma.</p>
<p>The reason was probably that the user was viewing his mailbox <em>while the backup was being restored</em>, causing some files to be renamed and thus creating duplicates. The IMAP server (Courier in this case) was apparently confused by multiple files with the same timestamp but with different flags, and dropped the connection to SquirrelMail.</p>
<p>To isolate the duplicates, I used ls -1 and cut:<br />
<code>/bin/ls -1|cut -d "," -f 1|uniq -c|sort -n</code></p>
<p>Then I removed the duplicates, which were the files with file count > 2 in the list produced by ls.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hellqvist.com/janek/weblog/2006/10/04/squirrelmail-140-and-unknown-response-from-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Blocking comment spam with Apache and htaccess</title>
		<link>http://www.hellqvist.com/janek/weblog/2006/05/18/blocking-comment-spam-with-apache-and-htaccess/</link>
		<comments>http://www.hellqvist.com/janek/weblog/2006/05/18/blocking-comment-spam-with-apache-and-htaccess/#comments</comments>
		<pubDate>Wed, 17 May 2006 22:12:17 +0000</pubDate>
		<dc:creator>Janek</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.hellqvist.com/janek/weblog/2006/05/18/blocking-comment-spam-with-apache-and-htaccess/</guid>
		<description><![CDATA[I&#8217;ve been plagued by comment spam in this weblog for a month or two now, and today I got really tired of deleting 3-4 spam comments every day.
When I investigated the originating IP:s, I noticed that all spam except ONE came from one of four C-nets. I quickly decided to block in the .htaccess file [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been plagued by comment spam in this weblog for a month or two now, and today I got really tired of deleting 3-4 spam comments every day.</p>
<p>When I investigated the originating IP:s, I noticed that all spam except ONE came from one of four C-nets. I quickly decided to block in the .htaccess file in the weblog directory.</p>
<p>Here&#8217;s what I added.<br />
<code><br />
# DIE, SPAMBOTS, DIE!</p>
<limit GET HEAD POST>
order allow,deny<br />
deny from 208.66.193<br />
deny from 64.62.22<br />
deny from 81.177.14<br />
deny from 81.177.15<br />
allow from all
</limit>
</code></p>
<p>I&#8217;m willing to take the very small risk that a valid user from one of these IP:s won&#8217;t be allowed to enter my weblog.</p>
<p>(Yes, I know that I could install a WordPress plugin, but this was quicker and less cumbersome. )</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hellqvist.com/janek/weblog/2006/05/18/blocking-comment-spam-with-apache-and-htaccess/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>An easy way to discover the URL behind an audio/video stream</title>
		<link>http://www.hellqvist.com/janek/weblog/2005/10/30/an-easy-way-to-discover-the-url-behind-a-audiovideo-stream/</link>
		<comments>http://www.hellqvist.com/janek/weblog/2005/10/30/an-easy-way-to-discover-the-url-behind-a-audiovideo-stream/#comments</comments>
		<pubDate>Sun, 30 Oct 2005 12:24:31 +0000</pubDate>
		<dc:creator>Janek</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://hellqvist.com/janek/weblog/2005/10/30/an-easy-way-to-discover-the-url-behind-a-audiovideo-stream/</guid>
		<description><![CDATA[To be able to save a stream to disk, one usually needs the URL to the stream. Locating the &#8220;real&#8221; URL behind a Windows Media or Real stream can be pretty tricky an often involves searching through HTML code or looking through the (often sucky) interfaces of the media players&#8230;
Just today, I found a program [...]]]></description>
			<content:encoded><![CDATA[<p>To be able to save a stream to disk, one usually needs the URL to the stream. Locating the &#8220;real&#8221; URL behind a Windows Media or Real stream can be pretty tricky an often involves searching through HTML code or looking through the (often sucky) interfaces of the media players&#8230;</p>
<p>Just today, I found a program that makes things a LOT easier: <a HREF="http://freshmeat.net/projects/streamsniff/">StreamSniff</a>. Just start it, and it will start sniffing net traffic for stream URLs&#8230;</p>
<p>It&#8217;s available for both Windows and Linux, and worked right away on my Linux firewall. Highly recommended if you like to save internet streams to disk for later converting/viewing.</p>
<p><a HREF="http://www.xi-soft.com/default.htm">NetTransport</a> is handy for these tasks if you&#8217;re running Windows, the Linux alternative is <a HREF="http://www.mplayerhq.hu/DOCS/HTML/en/streaming.html">Mplayer</a> using the -dumpstream option.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hellqvist.com/janek/weblog/2005/10/30/an-easy-way-to-discover-the-url-behind-a-audiovideo-stream/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Debian 3.1 on a HP Proliant DL140</title>
		<link>http://www.hellqvist.com/janek/weblog/2005/09/25/debian-31-on-a-hp-proliant-dl140/</link>
		<comments>http://www.hellqvist.com/janek/weblog/2005/09/25/debian-31-on-a-hp-proliant-dl140/#comments</comments>
		<pubDate>Sun, 25 Sep 2005 13:15:10 +0000</pubDate>
		<dc:creator>Janek</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[dl140]]></category>

		<guid isPermaLink="false">http://hellqvist.com/janek/weblog/2005/09/25/debian-31-on-a-hp-proliant-dl140/</guid>
		<description><![CDATA[Installing Debian 3.1 (aka sarge) on a brand new HP Proliant DL140 1U server proved to be pretty complicated, mostly due to issues with the SATA drive.
Installing from a temporarily connected CDROM drive worked (no internal optical drive in the DL140, just space for a slimline drive), but after I removed the drive and rebooted [...]]]></description>
			<content:encoded><![CDATA[<p>Installing Debian 3.1 (aka sarge) on a brand new <a href="http://h18004.www1.hp.com/products/servers/proliantdl140/">HP Proliant DL140</a> 1U server proved to be pretty complicated, mostly due to issues with the SATA drive.</p>
<p>Installing from a temporarily connected CDROM drive worked (no internal optical drive in the DL140, just space for a slimline drive), but after I removed the drive and rebooted I got a &#8220;kernel panic&#8221; message. Seems like Grub didn&#8217;t enumerate the drives in the same way as when the CDROM was connected.</p>
<p>A <a href="http://www.debian.org/releases/stable/debian-installer/#errata">known problem</a> with the Debian installer also made installing from CD difficult &#8211; the CDROM drive and the SATA disc became mutually exclusive! The solution was NOT to load the ata_piix and piix modules until needed.</p>
<p>My next approach was <a href="http://www.debian.org/releases/stable/i386/ch04s06.html.en">PXE booting</a> (installing from the network without physical install media) the machine. The easiest way to get that running was ironically to use a Windows-based TFTP server (<a href="http://tftpd32.jounin.net/">tftpd32</a>) and then configure the DHCP server (<a href="http://thekelleys.org.uk/dnsmasq/doc.html">dnsmasq</a>). Booting off PXE worked, but the install image didn&#8217;t seem to contain the required SATA drivers, so the installer never found the SATA drive.</p>
<p>I managed to do a successful install using kernel 2.4.27 instead of 2.6.8, but <a href="http://www.cs.utexas.edu/users/suriya/kernel_2.6_migration.html">upgrading the kernel to 2.6.8</a> after installing made the system unbootable again (kernel panic). I wasn&#8217;t satisified with using 2.4 and decided to try another way that didn&#8217;t require a time-consuming (well, for me anyway!) manual kernel recompilation&#8230;</p>
<p>The final solution was to <a href="http://www.debian.org/releases/stable/i386/ch04s04.html.en">create a bootable USB stick with Debian installer</a> on it and install from it&#8230; Using &#8220;expert26&#8243; I disabled the piix modules and voilá &#8211; the installer found my SATA drive!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hellqvist.com/janek/weblog/2005/09/25/debian-31-on-a-hp-proliant-dl140/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cloning a soon-to-crash hard drive</title>
		<link>http://www.hellqvist.com/janek/weblog/2005/09/02/cloning-a-soon-to-crash-hard-drive/</link>
		<comments>http://www.hellqvist.com/janek/weblog/2005/09/02/cloning-a-soon-to-crash-hard-drive/#comments</comments>
		<pubDate>Fri, 02 Sep 2005 18:22:53 +0000</pubDate>
		<dc:creator>Janek</dc:creator>
				<category><![CDATA[Computer related bits &#038; pieces]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://hellqvist.com/janek/weblog/2005/09/02/cloning-a-soon-to-crash-hard-drive/</guid>
		<description><![CDATA[When my PC at work (an 8 months old HP) started making loud clicking sounds, I realized that I needed to act quickly and replace the disk. The replacement drive arrived the next day, but the troubles started once I tried to clone the old drive to the new one.
First, a warning. Be careful when [...]]]></description>
			<content:encoded><![CDATA[<p>When my PC at work (an 8 months old <a HREF="http://www.hp.com">HP</a>) started making loud clicking sounds, I realized that I needed to act quickly and replace the disk. The replacement drive arrived the next day, but the troubles started once I tried to clone the old drive to the new one.</p>
<p>First, a warning. Be <b>careful</b> when using <a HREF="http://www.symantec.com/sabu/ghost/ghost_personal/">Norton Ghost</a> (in my case version 2003) on a HP machine &#8211; there&#8217;s a <a HREF="http://forums1.itrc.hp.com/service/forums/bizsupport/questionanswer.do?threadId=53438">known problem</a> with that combination.</p>
<p>In my case, I ran Ghost and chose to clone the drive. When the computer booted into the Ghost interface, it locked up and displayed an error message saying &#8220;internal stack overflow&#8221;. After retrying this a few times (same results) and trying to boot back into Windows (didn&#8217;t work since Ghost had taken over the boot sector) I booted <a HREF="http://www.knoppix.net">Knoppix</a> so I could look for assistance on the web.</p>
<p>(Thank god for Knoppix, BTW&#8230; I was able to access my files and documents on the disk, access the net and use email just as usual. It only took a quick configuration of Thunderbird to get myself back on track.)</p>
<p>Further attempts to clone the drive from within Knoppix failed &#8211; <a href="http://qtparted.sourceforge.net/">PartEd</a> crashed when I selected the drive and both <a href="http://www.partimage.org/">PartImage</a> and <a href="http://linux-ntfs.sourceforge.net/man/ntfsclone.html">NTFSclone</a> gave up midway due to disk errors.</p>
<p>Finally I managed to remove the small partition created by Ghost and make the old Windows partition active again, and Windows on the faulty drive booted again. Well, after a few lockups during boottime anyway.</p>
<p>Now it was time for another try at cloning the drive&#8230; I decided to give <a href="http://www.acronis.com/enterprise/products/ATISWin/">Acronis True Image</a> a try, and it worked beautifully.</p>
<p>So the lesson is &#8211; don&#8217;t use Ghost unless you&#8217;re sure it&#8217;s compatible with your hardware, because it can really screw up your computer&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hellqvist.com/janek/weblog/2005/09/02/cloning-a-soon-to-crash-hard-drive/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Quick-starting Knoppix in (Windows) rescue mode</title>
		<link>http://www.hellqvist.com/janek/weblog/2005/08/10/remotely-accessing-windows-drives-in-knoppix/</link>
		<comments>http://www.hellqvist.com/janek/weblog/2005/08/10/remotely-accessing-windows-drives-in-knoppix/#comments</comments>
		<pubDate>Wed, 10 Aug 2005 19:48:12 +0000</pubDate>
		<dc:creator>Janek</dc:creator>
				<category><![CDATA[Computer related bits &#038; pieces]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://hellqvist.com/janek/weblog/2005/07/31/remotely-accessing-windows-drives-in-knoppix/</guid>
		<description><![CDATA[
Boot knoppix
Open a shell prompt and enter sudo su (or start a root shell through the Knoppix menu)
Change the knoppix password with passwd knoppix
Enable networking by removing the block, rm /etc/hosts.deny, rm /etc/hosts.allow
 Check the IP of the machine with ifconfig. If you don&#8217;t have a DHCP server on your network, you need to set [...]]]></description>
			<content:encoded><![CDATA[<ul>
<li>Boot knoppix</li>
<li>Open a shell prompt and enter <code>sudo su</code> (or start a root shell through the Knoppix menu)</li>
<li>Change the knoppix password with <code>passwd knoppix</code></li>
<li>Enable networking by removing the block, <code>rm /etc/hosts.deny</code>, <code>rm /etc/hosts.allow</code></li>
<li> Check the IP of the machine with <code>ifconfig</code>. If you don&#8217;t have a DHCP server on your network, you need to set an IP manually.
	</li>
<li>Start <b>SSH</b> server with <code>/etc/init.d/ssh start</code></li>
<li>Enable <b>FTP</b> by restarting inetd: <code>/etc/init.d/inetd restart</code></li>
<li>Share the windows drives by creating a dir (for example /windows) and putting soft links in that dir to <code>/mnt/hda1</code>, <code>/mnt/hda2</code> etc</li>
<li>Then use the trick from my <a HREF="/janek/weblog/2005/06/15/samba-sharing-a-folder-without-passwords-on-knoppix/">previous weblog post to share the dir through samba without passwords</a>.</li>
<li>Start <b>VNC</b> server by installing it with <code>apt-get install vncserver</code> and starting it with <code>vncserver -geometry 1024x768</code>
</li>
</ul>
<p>
Some hints:</p>
<li> If you started Knoppix without a mouse, you can open the KDE menu with ALT-F1.
</li>
<li> I&#8217;ve found that the fastest way to backup files from a damaged HD is with rsync.<br />
Most tips come from the great <a HREF="http://www.knoppix.net/wiki/Main_Page">Knoppix wiki</a>.
</li></p>
]]></content:encoded>
			<wfw:commentRss>http://www.hellqvist.com/janek/weblog/2005/08/10/remotely-accessing-windows-drives-in-knoppix/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Samba-sharing a folder without passwords on Knoppix</title>
		<link>http://www.hellqvist.com/janek/weblog/2005/06/15/samba-sharing-a-folder-without-passwords-on-knoppix/</link>
		<comments>http://www.hellqvist.com/janek/weblog/2005/06/15/samba-sharing-a-folder-without-passwords-on-knoppix/#comments</comments>
		<pubDate>Wed, 15 Jun 2005 14:25:40 +0000</pubDate>
		<dc:creator>Janek</dc:creator>
				<category><![CDATA[Computer related bits &#038; pieces]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://hellqvist.com/janek/weblog/2005/06/15/samba-sharing-a-folder-without-passwords-on-knoppix/</guid>
		<description><![CDATA[When trying to access a crashed laptop 2.5&#8243; hard drive, I found myself a bit stuck when trying to share the entire drive on a Windows network. Accessing Windows shares from a linux box is really easy with Samba, but sharing a directory without any passwords was a bit more difficult&#8230;
Knoppix found the USB disk [...]]]></description>
			<content:encoded><![CDATA[<p>When trying to access a crashed laptop 2.5&#8243; hard drive, I found myself a bit stuck when trying to share the entire drive on a Windows network. Accessing Windows shares from a linux box is really easy with Samba, but sharing a directory without any passwords was a bit more difficult&#8230;</p>
<p><a HREF="http://www.knoppix.net">Knoppix</a> found the USB disk without any problems, but sharing the drive required a few more steps.</p>
<p>Finally I found a page with some <a HREF="http://www.knoppix.net/oldwiki/?pid=275">helpful tips</a>:<br />
<em></p>
<li> Edit the /etc/samba/smb.conf file
</li>
<li>Replace &#8220;security=user&#8221; with &#8220;security=share&#8221;
</li>
<li> Add something like this to the file:<br />
[sharename]<br />
public=yes<br />
writeable=no<br />
path=/mnt/uba1<br />
guest ok=yes<br />
browsable=yes</p>
<p>Then a quick <code>/etc/init.d/samba restart</code> did it.</p>
</li>
<p></em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.hellqvist.com/janek/weblog/2005/06/15/samba-sharing-a-folder-without-passwords-on-knoppix/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
