<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.7.3" -->
<rss version="2.0">
	<channel>
		<title>Blog entries from Andrea Benini</title>
		<description>Linux quick hints for knowledge</description>
		<link>http://www.linux.com</link>
		<lastBuildDate>Thu, 26 Nov 2009 09:39:20 +0100</lastBuildDate>
        <generator>FeedCreator 1.7.3</generator>
		<item>
			<title>RAID: Installing grub on the other Disks</title>
			<link>http://www.linux.com/community/blogs/raid-installing-grub-on-the-other-disks.html</link>
			<description>&lt;p&gt;So, you've followed my previous blog: Replacing faulted drive on Linux software RAID (MDTOOLS), you already know how to swap a faulty drive with a new one, but what happens if you need to substitute primary disk where your Computer makes boot ?&lt;/p&gt;&lt;p&gt;After adding a new disk to your raid chain it's a good idea to make it bootable as well by installing grub on MBR. When boot drive in your raid array becomes faulty all you've to do is to power off your machine, substitute your faulty drive and bRead More...</description>
			<author>Andrea Benini</author>
			<pubDate>Wed, 23 Sep 2009 06:12:03 +0100</pubDate>
		<category>grub</category>
		</item>
		<item>
			<title>Replacing faulted drive on Linux software RAID (MDTOOLS)</title>
			<link>http://www.linux.com/community/blogs/replacing-faulted-drive-on-linux-software-raid-mdtools.html</link>
			<description>&lt;p&gt;Here's a very quick HOWTO for Linux Software RAID, these notes are maded for replacing a faulty disk with a new one.&lt;/p&gt;&lt;p&gt;When you've a software RAID configuration with linux you've planned to survive to hardware failures, when these failures happen you need to replace the faulty drive with a new one and inform your RAID configuration of it.&lt;/p&gt;&lt;p&gt;First take a look at your current RAID config by running the command:&lt;/p&gt;~# cat /proc/mdstat&lt;br /&gt;Personalities : [raid1]&lt;br /&gt;&amp;nbsp; md1 : activeRead More...</description>
			<author>Andrea Benini</author>
			<pubDate>Tue, 08 Sep 2009 12:19:01 +0100</pubDate>
		<category>mdtools</category>
		</item>
		<item>
			<title>One shot RSync between two hosts without installing services</title>
			<link>http://www.linux.com/community/blogs/one-shot-rsync-between-two-hosts-without-installing-services.html</link>
			<description>&lt;p&gt;I was syncing two Linux hosts, just need to copy data between them. I don't need and neither don't want to install Samba as a Service for a quick sync, RSync was my preferred method.&lt;/p&gt;&lt;p&gt;RSync is very easy to use and quick but in this case I don't either want to install RSync service daemon as well on the destination machine (the machine with data to transfer), so I've opted for rsync through ssh tunnel without a service installed.&lt;/p&gt;&lt;p&gt;Here's a quick sample:&lt;/p&gt;&lt;p&gt;- You've to transfer datRead More...</description>
			<author>Andrea Benini</author>
			<pubDate>Tue, 21 Jul 2009 11:47:25 +0100</pubDate>
		<category>rsync</category>
		</item>
		<item>
			<title>Samba public users directory (quick howto)</title>
			<link>http://www.linux.com/community/blogs/samba-public-users-directory.html</link>
			<description>&lt;p&gt;This quick post shows you how to create a samba share for a network, every user is forced to a specific username and each file belongs to this username. This is useful when dealing with public folders for some sort of exchange between users in a network&lt;/p&gt;&lt;p&gt;Read/Write access&amp;nbsp; to everyone for directories and files, this is a tipical configuration for a swap area &lt;/p&gt;&lt;p&gt;Check it out:&lt;/p&gt;[public]&lt;br /&gt;    comment = Public folder for my network&lt;br /&gt;    available = yes&lt;br /&gt;    browseable Read More...</description>
			<author>Andrea Benini</author>
			<pubDate>Fri, 17 Jul 2009 14:31:26 +0100</pubDate>
		<category>samba public share</category>
		</item>
		<item>
			<title>HOWTO: VMWare Server 2, Disable Web Server Interface</title>
			<link>http://www.linux.com/community/blogs/howto-vmware-server-2-disable-web-server-interface.html</link>
			<description>&lt;p&gt;Here I am, back again with episode 2 of VMWare Server, if you've already read HOWTO: Install VMWare Server 2, I guess you've a linux server with VMWare 2 up and running.&lt;/p&gt;&lt;p&gt;First thing I did after my installation was to reboot the machine to see memory usage and look at security issues. With no surprise I've seen Virtual Infrastructure Web Access enabled and when using netstat -a to see opened ports I've seen few more ports opened by VMWare webserver interface (apache tomcat and catalina fRead More...</description>
			<author>Andrea Benini</author>
			<pubDate>Wed, 15 Jul 2009 13:11:49 +0100</pubDate>
		<category>vmware</category>
		</item>
		<item>
			<title>HOWTO: Install VMWare Server 2 on Debian Lenny, AMD64 (64bit)</title>
			<link>http://www.linux.com/community/blogs/howto-install-vmware-server-2-on-debian-lenny-amd64-64bit.html</link>
			<description>Intro &lt;p&gt;Everybody knows about VMWare Server, now with stable 2.x version my favorite feature is 64bit host native support.&lt;/p&gt;&lt;p&gt;I don't need to run guest 64bit OSes (yet) but 64bit native support is fine if you've a recent CPU and you'd like to take advantage of new servers outta there, and most important you can use a stable and working real 64bit application on your 64bit Debian system.&lt;/p&gt;&lt;p&gt;I've just installed a Debian Lenny (v5.0) host with AMD64 flavor, so a 64bit compiled OS on a brand Read More...</description>
			<author>Andrea Benini</author>
			<pubDate>Tue, 14 Jul 2009 08:20:11 +0100</pubDate>
		<category>vmware</category>
		</item>
		<item>
			<title>Disable IPV6 on Debian Lenny (quick howto)</title>
			<link>http://www.linux.com/community/blogs/disable-ipv6-on-debian-lenny-quick-howto.html</link>
			<description>&lt;p&gt;Here's a very quick howto on disabling IPV6 on Debian (Lenny), this is not a new argument and neither an unknown solution, it's just how to disable IPV6 on Debian with less impact as possible on your machine config in &quot;the debian way&quot;.&lt;/p&gt;&lt;p&gt;Sometimes you don't need IPV6: you've an already existing IPV4 net and you're happy with it,&amp;nbsp; you don't want to waste memory or cpu cycles, you'd just like a very basic networking and setup.&lt;/p&gt;&lt;p&gt;There're a lot of way to do this, this mode is more &quot;Read More...</description>
			<author>Andrea Benini</author>
			<pubDate>Mon, 13 Jul 2009 08:50:39 +0100</pubDate>
		<category>disable</category>
		</item>
		<item>
			<title>WebServices Wars: &quot;The Phantom Menace&quot;: Creating the WebService WSDL file</title>
			<link>http://www.linux.com/community/blogs/webservices-wars-qthe-phantom-menaceq-creating-the-webservice-wsdl-file.html</link>
			<description>WebServices Wars: &quot;The Phantom Menace&quot;: Creating the WebService WSDL file&lt;br /&gt;Now if you've followed the introduction &quot;WebServices Wars: Creating a basic webservice using Eclipse, php and apache&quot; you're now ready for Episode I&lt;br /&gt;&lt;br /&gt;IntroThis webservice saga begins with the base of every good project: the planning and design phase.&lt;br /&gt;Here's what I'm going to do:&lt;br /&gt;Create a WSDL definition file for the new service, it will be called sample.wsdl, it will be accessible from the followinRead More...</description>
			<author>Andrea Benini</author>
			<pubDate>Fri, 03 Jul 2009 06:11:24 +0100</pubDate>
		<category>webservices</category>
		</item>
		<item>
			<title>WebServices Wars: Creating a basic webservice using Eclipse, php and apache</title>
			<link>http://www.linux.com/community/blogs/webservices-wars-creating-something-basic-services-with-eclipse-php-and-apache.html</link>
			<description>&lt;p&gt;Here I am,&lt;br /&gt;That's a lot of time since my last blog, well, I was quite busy with something else (still have my private life ok ?) but now I'm back again with WebServices, PHP, Eclipse, Apache.&lt;/p&gt;&lt;p&gt;A lot of folks are asking me about some sort of short howto/sample/easy doc for dealing with webservices and php, there's a lot of information spread all around the web so I've decided to collect information from my projects and write down some notes for a quickstart howto with webservices andRead More...</description>
			<author>Andrea Benini</author>
			<pubDate>Thu, 02 Jul 2009 10:00:08 +0100</pubDate>
		<category>webservices</category>
		</item>
		<item>
			<title>SSH from your cell phone ? Here's Putty for Symbian</title>
			<link>http://www.linux.com/community/blogs/SSH-from-your-cell-phone-Heres-Putty-for-Symbian.html</link>
			<description>&lt;p&gt;Few days ago I've heard about a Symbian port of Putty, obviously you alread know what putty is and what you can do with an SSH terminal emulator.&lt;/p&gt;&lt;p&gt;I think it's one of my favorite software pieces for Win32 machines, now there's a project aimed to port putty on Symbian OS machines, I've tried to install it into my samsung phone even if it's not supported or mentioned, results: clear, it doesn't work but the project seems promising.&lt;/p&gt;&lt;p&gt;At this url:&lt;br /&gt;http://s2putty.sourceforge.net/&lt;/pRead More...</description>
			<author>Andrea Benini</author>
			<pubDate>Thu, 11 Jun 2009 07:00:00 +0100</pubDate>
		<category>symbian</category>
 <category>SSH</category>
 <category>putty</category>
		</item>
		<item>
			<title>WGet and Downloading an entire remote directory</title>
			<link>http://www.linux.com/community/blogs/WGet-and-Downloading-an-entire-remote-directory.html</link>
			<description>&lt;p&gt;Sometimes you need to retrieve a remote url (directory) with everything inside it, when you miss a live presentation or a forum you often find material published on the web in a certain site; you'd like to get the entire presentation (usually several html pages and links) or read it online. &lt;/p&gt;&lt;p&gt;When no &amp;quot;download all&amp;quot; button is available or when you don't have spare time to read it immediately you wish to grab all the directory content and read it offline later, I usually downloadRead More...</description>
			<author>Andrea Benini</author>
			<pubDate>Wed, 10 Jun 2009 07:00:00 +0100</pubDate>
		<category>wget</category>
 <category>recursive</category>
 <category>offline reading</category>
 <category>Linux</category>
 <category>download</category>
 <category>directory</category>
		</item>
		<item>
			<title>Disable/Enable ping response on a Linux machine</title>
			<link>http://www.linux.com/community/blogs/Disable-Enable-ping-response-on-a-Linux-machine.html</link>
			<description>&lt;p&gt;Few days ago I was dealing with SYSCTL (man sysctl) utility and I was looking for a certain kernel parameter, I wish to set it on the fly and I've found other useful information too.&lt;/p&gt;&lt;p&gt;sysctl is used to modify kernel parameters at runtime, one of these parameter could be ping daemon response, if you want to disable ping reply on your network you just simply need to issue something like:&lt;/p&gt;&lt;p&gt;~# sysctl -w net.ipv4.icmp_echo_ignore_all=1&lt;br /&gt;net.ipv4.icmp_echo_ignore_all = 1&lt;br /&gt;(root acRead More...</description>
			<author>Andrea Benini</author>
			<pubDate>Tue, 09 Jun 2009 07:00:00 +0100</pubDate>
		<category>ping</category>
 <category>Linux</category>
		</item>
		<item>
			<title>Debian, Upgrading to Lenny, ERROR, no public key available for the following...</title>
			<link>http://www.linux.com/community/blogs/Debian-Upgrading-to-Lenny-ERROR-no-public-key-available-for-the-following....html</link>
			<description>&lt;p&gt;I've spent one day crushing my head against a weird problem, never seen it on Debian, I was only updating four Debian &quot;etch&quot; to &quot;lenny&quot; and in two of them I've seen this:&lt;/p&gt;han:~# apt-get update&lt;br /&gt;...&lt;br /&gt;...&lt;br /&gt;Fetched 74.7kB in 0s (87.4kB/s)&lt;br /&gt;Reading package lists... Done&lt;br /&gt;W: There is no public key available for the following key IDs:&lt;br /&gt;9AA38DCD55BE302B&lt;br /&gt;W: GPG error: http://xxx.xx.xxx.org lenny Release:&lt;br /&gt;The following signatures couldn't be verified because the puRead More...</description>
			<author>Andrea Benini</author>
			<pubDate>Mon, 08 Jun 2009 19:55:00 +0100</pubDate>
		<category>upgrade</category>
 <category>update</category>
 <category>public key errors</category>
 <category>lenny</category>
 <category>gpg error</category>
 <category>Debian</category>
 <category>apt-get</category>
		</item>
		<item>
			<title>File transfer with Netcat</title>
			<link>http://www.linux.com/community/blogs/File-transfer-with-Netcat.html</link>
			<description>&lt;p&gt;There's a basic usage for netcat helping you to transfer data/files across hosts without ssh or ftp services&lt;/p&gt;&lt;p&gt;Here's what I usually do on server (example IP: 1.2.3.4)&lt;/p&gt;&lt;p&gt;nc -l -p 6666 | uncompress -c | tar xvfp -&lt;/p&gt;&lt;p&gt;Basically I open TCP port 6666 (or whatever you want) on server and listen for raw compressed data&lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt;On my client I need to issue a command like this&lt;/p&gt;&lt;p&gt;tar cpf - /my/cool/dir | compress -c | nc -w 3 1.2.3.4 6666&lt;/p&gt;&lt;p&gt;Where /my/cool/dir is what I want toRead More...</description>
			<author>Andrea Benini</author>
			<pubDate>Mon, 08 Jun 2009 19:27:00 +0100</pubDate>
		<category>tcp</category>
 <category>server</category>
 <category>netcat</category>
 <category>nc</category>
 <category>Linux</category>
 <category>file transfer</category>
		</item>
		<item>
			<title>Shared Samba Printer for PDF/PS Storage</title>
			<link>http://www.linux.com/community/blogs/Shared-Samba-Printer-for-PDF-PS-Storage.html</link>
			<description>&lt;p&gt; As many of you already know I'm experiencing some sort of hylafax/samba integration for a mixed Windows environment, this blog is for creating a PDF/PostScript printer easily, no matter of what you do with the printer; when you print on it you'll produce a Postscript/PDF document&lt;/p&gt;&lt;p&gt;requirements:&lt;br /&gt;A samba server installation up and running&lt;/p&gt;&lt;p&gt;achievements:&lt;br /&gt;Create a PostScript/PDF document from a spool so every Windows user in your net can generate documents without client sideRead More...</description>
			<author>Andrea Benini</author>
			<pubDate>Mon, 08 Jun 2009 07:00:00 +0100</pubDate>
		<category>Windows</category>
 <category>storage</category>
 <category>Samba</category>
 <category>printer</category>
 <category>postscript</category>
 <category>pdf</category>
 <category>network</category>
		</item>
		<item>
			<title>Spammers out from this Blog Area</title>
			<link>http://www.linux.com/community/blogs/Spammers-out-from-this-Blog-Area.html</link>
			<description>&lt;p&gt;As many of you I've decided to stop using this blog area until spam ends in this zone.&lt;/p&gt;&lt;p&gt;When linux.com renewed its layout I've used the Blog area to read opinions from other users and even publish some tech hints useful for myself and hopefully useful for someone else as well. I've sent few hints and some usernames to linux.com managers and they've replied back with appreciations for it.&lt;/p&gt;&lt;p&gt;They're now implementing a new spam filter as well as other things to keep spammers out and avoRead More...</description>
			<author>Andrea Benini</author>
			<pubDate>Thu, 04 Jun 2009 07:00:00 +0100</pubDate>
		<category>spam</category>
 <category>Linux.com</category>
		</item>
		<item>
			<title>Swapping STDOUT and STDERR under Bash Shell</title>
			<link>http://www.linux.com/community/blogs/Swapping-STDOUT-and-STDERR-under-Bash-Shell.html</link>
			<description>&lt;p&gt;I usually forgot this simple command so I've decided to write down some notes on it so I can cut 'n' paste from here easily, here's another common question:&lt;/p&gt;&lt;p&gt;&amp;quot;How to swap stdout and stderr descriptors ?&amp;quot;&amp;nbsp;&lt;/p&gt;&lt;p&gt;This enables your scripts to parse stderr and forget stdout (or redirect it to a file)&lt;/p&gt;&lt;p&gt;Here's:&lt;/p&gt;&lt;p&gt;command &amp;lt;parameters&amp;gt; 3&amp;gt;&amp;amp;1 1&amp;gt;/dev/null 2&amp;gt;&amp;amp;3-&lt;/p&gt;&lt;p&gt;Here's what it does:&lt;/p&gt;&lt;p&gt;Moves stdout to /dev/null (or your preferred file if neededRead More...</description>
			<author>Andrea Benini</author>
			<pubDate>Wed, 03 Jun 2009 07:00:00 +0100</pubDate>
		<category>stdout</category>
 <category>stderr</category>
 <category>redirect</category>
 <category>bash</category>
		</item>
		<item>
			<title>Find a string in files (using grep easily)</title>
			<link>http://www.linux.com/community/blogs/Find-a-string-in-files-using-grep-easily-.html</link>
			<description>&lt;p&gt;Here's a quick command for a quite common problem:&lt;/p&gt;&lt;p&gt;Is there a way to find a text string inside a bunch of files in a dir ?&lt;/p&gt;&lt;p&gt;Sure it is, here's one :&lt;/p&gt;&lt;p&gt; grep 'MyCoolString' /my/preferred/directory/*&lt;/p&gt;&lt;p&gt;Searches &amp;quot;MyCoolString&amp;quot; inside the specified path and willcard, or if you prefer to ignore case take a look at:&lt;/p&gt;&lt;p&gt; grep -i 'mycoolstring' /my/preferred/directory/*&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Easy isn't it ?&lt;/p&gt;&lt;p&gt;Obviously this is not the only method but it's my preferred one, eRead More...</description>
			<author>Andrea Benini</author>
			<pubDate>Wed, 03 Jun 2009 07:00:00 +0100</pubDate>
		<category>scripting</category>
 <category>grep</category>
 <category>find</category>
 <category>bash</category>
		</item>
		<item>
			<title>Debian: Find package name from program name</title>
			<link>http://www.linux.com/community/blogs/Debian-Find-package-name-from-program-name.html</link>
			<description>&lt;p&gt;Back again,&lt;br /&gt;This time it's Debian's time, when managing multiple hosts and installations sometimes happens you need to know what package owns a certain utility.&lt;/p&gt;&lt;p&gt; Recently I've faced a quite common problem, I'll take it as an example so it's more clear, I had a common and popular program &amp;quot;pdftotext&amp;quot; and I wanted to have it into another debian installation, quite easy isn't it ? you only need to remember what package has it.&lt;/p&gt;&lt;p&gt;While fighting with Ghostscript program andRead More...</description>
			<author>Andrea Benini</author>
			<pubDate>Wed, 03 Jun 2009 07:00:00 +0100</pubDate>
		<category>utility</category>
 <category>scripting</category>
 <category>package management</category>
 <category>dpkg</category>
 <category>Debian</category>
		</item>
		<item>
			<title>Hylafax, send a fax from the command line</title>
			<link>http://www.linux.com/community/blogs/Hylafax-send-a-fax-from-the-command-line.html</link>
			<description>&lt;p&gt;In these days I'm stressing hylafax a lot, I think it's a nice and powerful program, stable, complete and reliable. When my job will be completed I'll publish some thoughts about it.&lt;/p&gt;&lt;p&gt;Server part is so stable and secure, client part, expecially for Windows clients have some lacks, there're a lot of win client all around but every software I've tried has some lacks so as a lot of you I've decided to write my own.&lt;/p&gt;&lt;p&gt;Few of them have everything I need, except the license and price, I meRead More...</description>
			<author>Andrea Benini</author>
			<pubDate>Wed, 27 May 2009 07:00:00 +0100</pubDate>
		<category>Linux</category>
 <category>hylafax</category>
 <category>command line</category>
		</item>
	</channel>
</rss>
