<?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>Varun&#039;s Blog &#187; Linux</title>
	<atom:link href="http://www.varun.org/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.varun.org</link>
	<description>Just some random shots and thoughts</description>
	<lastBuildDate>Sat, 12 Feb 2011 22:51:44 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Samba</title>
		<link>http://www.varun.org/2010/09/samba/</link>
		<comments>http://www.varun.org/2010/09/samba/#comments</comments>
		<pubDate>Sun, 26 Sep 2010 03:50:07 +0000</pubDate>
		<dc:creator>varun</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.varun.org/?p=633</guid>
		<description><![CDATA[Good article on setting up samba on ubuntu.]]></description>
			<content:encoded><![CDATA[<p>Good article on <a href="http://www.jonathanmoeller.com/screed/?p=1590">setting up samba on ubuntu</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.varun.org/2010/09/samba/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AWLL7025 Dual-Band Wireless-N USB in Ubuntu</title>
		<link>http://www.varun.org/2010/09/awll7025-dual-band-wireless-n-usb-in-ubuntu/</link>
		<comments>http://www.varun.org/2010/09/awll7025-dual-band-wireless-n-usb-in-ubuntu/#comments</comments>
		<pubDate>Sun, 12 Sep 2010 07:50:20 +0000</pubDate>
		<dc:creator>varun</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://192.168.1.60/varun.org/blog/?p=597</guid>
		<description><![CDATA[I recently decided to move my old PC in the garage and run my web sites from there. One big problem though &#8211; no cat 5 in the garage. So, I thought lets get a cheap wireless-n USB adapter and &#8230; <a href="http://www.varun.org/2010/09/awll7025-dual-band-wireless-n-usb-in-ubuntu/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I recently decided to move my old PC in the garage and run my web sites from there. One big problem though &#8211; no cat 5 in the garage. So, I thought lets get a cheap wireless-n USB adapter and I should be good. I purchased an <a href="http://www.amazon.com/Airlink-AWLL7025-Dual-Wireless-Adapter/dp/B002KCR58G">AWLL7025 from amazon</a> for $18. While the adapter worked great on a Windows 7 machine with the Vista drivers supplied by <a href="http://www.airlink101.com/products/awll7025.php">airlink</a>, getting it to work on my linux machine running Ubuntu 10.0.4 wasn&#8217;t such a breeze. Here&#8217;s what I did to get it to work:</p>
<p>1. $lsusb in Ubuntu (device was not recognized, no driver loaded):</p>
<p>Bus 001 Device 002: ID 15a9:0012</p>
<p>2. Found out from the windows driver files that this device has a Ralink chipset rt2870.</p>
<p>3. Downloaded the Ralink rt2870 linux driver sources from their website and followed the instructions to compile the driver:</p>
<p><a href="http://www.ralinktech.com/support.php?s=2">http://www.ralinktech.com/support.php?s=2</a></p>
<p>4. The one extra step that wasn&#8217;t in the readme was to add the device id (15a9:0012 from the lsusb output) in the appropriate source file before compiling the driver:</p>
<p>rtusb_dev_id.c: {USB_DEVICE(0x15A9,0&#215;0012)}, /* Airlink AWLL7025 */</p>
<p>5. Loaded the compiled driver as per the instructions in the readme and I finally had a decent net connection (wireless-n speeds) from the PC in my garage!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.varun.org/2010/09/awll7025-dual-band-wireless-n-usb-in-ubuntu/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>A Good Primer on apt-get and dpkg</title>
		<link>http://www.varun.org/2010/04/a-good-primer-on-apt-get-and-dpkg/</link>
		<comments>http://www.varun.org/2010/04/a-good-primer-on-apt-get-and-dpkg/#comments</comments>
		<pubDate>Sun, 25 Apr 2010 02:10:51 +0000</pubDate>
		<dc:creator>varun</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.varun.org/?p=324</guid>
		<description><![CDATA[Came across a good primer on using apt-get.]]></description>
			<content:encoded><![CDATA[<p>Came across a <a href="http://linuxhelp.blogspot.com/2005/12/concise-apt-get-dpkg-primer-for-new.html">good primer on using apt-get</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.varun.org/2010/04/a-good-primer-on-apt-get-and-dpkg/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu upgrades</title>
		<link>http://www.varun.org/2009/07/ubuntu-upgrades/</link>
		<comments>http://www.varun.org/2009/07/ubuntu-upgrades/#comments</comments>
		<pubDate>Mon, 27 Jul 2009 09:28:17 +0000</pubDate>
		<dc:creator>varun</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.varun.org/?p=309</guid>
		<description><![CDATA[Spent some time upgrading my linux machines today. The Ubuntu network upgrade from 8.04 to 9.04 went smooth on one of the machines. I had to do the intermediate 8.10 first though. On the other machine (Armada M700), it ran &#8230; <a href="http://www.varun.org/2009/07/ubuntu-upgrades/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Spent some time upgrading my linux machines today. The Ubuntu network upgrade from 8.04 to 9.04 went smooth on one of the machines. I had to do the intermediate 8.10 first though. On the other machine (Armada M700), it ran into a kernel bug (specific to 9.04) that caused the machine to hang during startup, so I kept it at xubuntu (XFCE desktop) 8.10. Here&#8217;s the bug reference:</p>
<p>https://bugs.launchpad.net/ubuntu/+source/linux/+bug/393262</p>
<p>Also, in order to get the nomachines nx client to work here are the settings:</p>
<ul style="margin-top: 0pt; margin-bottom: 0pt;">
<li>Select Desktop = Unix/Custom, and then</li>
<li>under Settings, &#8220;Run the following command&#8221; = /usr/bin/startxfce4</li>
<li>and also Options = New Virtual Desktop.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.varun.org/2009/07/ubuntu-upgrades/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Monitoring Linux Performance with vmstat</title>
		<link>http://www.varun.org/2008/05/monitoring-linux-performance-with-vmstate/</link>
		<comments>http://www.varun.org/2008/05/monitoring-linux-performance-with-vmstate/#comments</comments>
		<pubDate>Wed, 07 May 2008 07:23:38 +0000</pubDate>
		<dc:creator>varun</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.varun.org/?p=76</guid>
		<description><![CDATA[Found a good article on the subject of using vmstat to monitor virtual memory on a linux system. Here&#8217;s a link to the man page for vmstat.]]></description>
			<content:encoded><![CDATA[<p>Found a good article on the subject of <a href="http://www.linuxjournal.com/article/8178">using vmstat to monitor virtual memory</a> on a linux system. Here&#8217;s a link to the man page for <a href="http://linux.die.net/man/8/vmstat">vmstat</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.varun.org/2008/05/monitoring-linux-performance-with-vmstate/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>varun.org has a new home</title>
		<link>http://www.varun.org/2008/05/varunorg-has-a-new-home/</link>
		<comments>http://www.varun.org/2008/05/varunorg-has-a-new-home/#comments</comments>
		<pubDate>Mon, 05 May 2008 10:37:19 +0000</pubDate>
		<dc:creator>varun</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Web Site]]></category>

		<guid isPermaLink="false">http://www.varun.org/?p=73</guid>
		<description><![CDATA[It was high time to retire the nine year old 433 MHz box that was faithfully serving varun.org for all these years. The new &#8220;server&#8221; is a 1.6 GHz laptop running Ubuntu 8.04. While I was at it, decided to &#8230; <a href="http://www.varun.org/2008/05/varunorg-has-a-new-home/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>It was high time to retire the nine year old 433 MHz box that was faithfully serving varun.org for all these years. The new &#8220;server&#8221; is a 1.6 GHz laptop running Ubuntu 8.04. While I was at it, decided to give it a new look as well.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.varun.org/2008/05/varunorg-has-a-new-home/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hosting multiple web sites with Apache 2</title>
		<link>http://www.varun.org/2008/05/hosting-multiple-web-sites-with-apache-2/</link>
		<comments>http://www.varun.org/2008/05/hosting-multiple-web-sites-with-apache-2/#comments</comments>
		<pubDate>Mon, 05 May 2008 07:42:31 +0000</pubDate>
		<dc:creator>varun</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.varun.org/?p=71</guid>
		<description><![CDATA[A good article on virtual hosting with Apache 2 that I used.]]></description>
			<content:encoded><![CDATA[<p>A good article on <a href="http://www.debian-administration.org/articles/412">virtual hosting with Apache 2</a> that I used.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.varun.org/2008/05/hosting-multiple-web-sites-with-apache-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>fail2ban: stop those ssh attacks</title>
		<link>http://www.varun.org/2006/06/fail2ban-ban-ips-that-cause-multiple-authentication-failures/</link>
		<comments>http://www.varun.org/2006/06/fail2ban-ban-ips-that-cause-multiple-authentication-failures/#comments</comments>
		<pubDate>Wed, 28 Jun 2006 07:49:31 +0000</pubDate>
		<dc:creator>varun</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.varun.org/2006/06/27/fail2ban-ban-ips-that-cause-multiple-authentication-failures/</guid>
		<description><![CDATA[Thought I&#8217;ll start blogging about Linux software that I tinkered around with and found useful. Few months back when I started hosting this site, I noticed my /var/log/auth/auth.info being flooded with entries like: vplinux sshd[3227]: Connection from 218.14.146.205 port 44543 &#8230; <a href="http://www.varun.org/2006/06/fail2ban-ban-ips-that-cause-multiple-authentication-failures/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Thought I&#8217;ll start blogging about Linux software that I tinkered around with and found useful. Few months back when I started hosting this site, I noticed my /var/log/auth/auth.info being flooded with entries like:</p>
<p>vplinux sshd[3227]: Connection from 218.14.146.205 port 44543<br />
vplinux sshd[3227]: Failed password for root from 218.14.146.205 port 44543 ssh2<br />
vplinux sshd[3236]: Connection from 218.14.146.205 port 44620<br />
vplinux sshd[3236]: Failed password for root from 218.14.146.205 port 44620 ssh2</p>
<p>This indicates bute force attacks on the ssh service. 	These attacks are based on a rather simple idea:  	use an automated program for trying, one after the other, many 	combinations of standard or frequently used account names and likewise  	frequently used passwords. In my search to prevent such attacks, I found <a href="http://fail2ban.sourceforge.net/">fail2ban</a> that works rather well. It  monitors (in daemon mode) or just scans log files (e.g. /var/log/auth/auth.info, /var/log/apache/access.log) and temporarily bans failure-prone addresses by updating existing firewall rules.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.varun.org/2006/06/fail2ban-ban-ips-that-cause-multiple-authentication-failures/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

