<?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>JonCellini.com &#187; Linux</title>
	<atom:link href="http://joncellini.com/blog/archives/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://joncellini.com/blog</link>
	<description></description>
	<lastBuildDate>Tue, 10 Apr 2012 16:01:21 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Linode&#8217;s 7th</title>
		<link>http://joncellini.com/blog/archives/2010/06/16/linodes-7th/</link>
		<comments>http://joncellini.com/blog/archives/2010/06/16/linodes-7th/#comments</comments>
		<pubDate>Thu, 17 Jun 2010 06:00:51 +0000</pubDate>
		<dc:creator>Jon</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://joncellini.com/blog/archives/2010/06/16/linodes-7th/</guid>
		<description><![CDATA[Linode turned 7 today &#8211; congratulations to Chris &#38; the team! Thank you for yet another free RAM increase to my VPS. I&#8217;ve been an extremely happy customer since 2006.]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.linode.com/?r=0ae46b6dbf77766768652c2ef08f1c516e822e20" target="_top">Linode</a> turned 7 today &#8211; congratulations to Chris &amp; the team!</p>
<p>Thank you for yet another <a href="http://blog.linode.com/2010/06/16/linode-turns-7-big-ram-increase/" target="_top">free RAM increase</a> to my VPS. I&#8217;ve been an extremely happy customer since 2006.</p>
]]></content:encoded>
			<wfw:commentRss>http://joncellini.com/blog/archives/2010/06/16/linodes-7th/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Lucid</title>
		<link>http://joncellini.com/blog/archives/2010/04/29/lucid/</link>
		<comments>http://joncellini.com/blog/archives/2010/04/29/lucid/#comments</comments>
		<pubDate>Fri, 30 Apr 2010 05:54:32 +0000</pubDate>
		<dc:creator>Jon</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://joncellini.com/blog/archives/2010/04/29/lucid/</guid>
		<description><![CDATA[Props to the guys at Linode who wrote up a handy guide on how to upgrade to Ubuntu 10.04. I upgraded my VPS earlier this evening and everything was painless.]]></description>
			<content:encoded><![CDATA[<p>Props to the guys at <a href="http://www.linode.com/?r=0ae46b6dbf77766768652c2ef08f1c516e822e20" target="_top">Linode</a> who wrote up a handy <a href="http://library.linode.com/troubleshooting/upgrade-ubuntu-10.04" target="_top">guide</a> on how to upgrade to <a href="http://www.ubuntu.com/products/whatisubuntu" target="_top">Ubuntu</a> 10.04.</p>
<p>I upgraded my VPS earlier this evening and everything was painless.</p>
]]></content:encoded>
			<wfw:commentRss>http://joncellini.com/blog/archives/2010/04/29/lucid/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HOWTO reset a MySQL root password</title>
		<link>http://joncellini.com/blog/archives/2010/02/22/howto-reset-a-mysql-root-password/</link>
		<comments>http://joncellini.com/blog/archives/2010/02/22/howto-reset-a-mysql-root-password/#comments</comments>
		<pubDate>Tue, 23 Feb 2010 03:01:15 +0000</pubDate>
		<dc:creator>Jon</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://joncellini.com/blog/archives/2010/02/22/howto-reset-a-mysql-root-password/</guid>
		<description><![CDATA[If your a terrible DBA like me here are the six steps to reset a forgotten MySQL root user password: 1. stop mysql # /etc/init.d/mysql stop The output should look like this: * Stopping MySQL database server mysqld &#160;&#160; &#8230;done. &#8230; <a href="http://joncellini.com/blog/archives/2010/02/22/howto-reset-a-mysql-root-password/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>If your a terrible DBA like me here are the six steps to reset a forgotten <a href="http://mysql.com/">MySQL</a> root user password:</p>
<p><b>1. stop mysql</b></p>
<blockquote>
<p># /etc/init.d/mysql stop</p>
</blockquote>
<p>The output should look like this:</p>
<blockquote>
<p>* Stopping MySQL database server mysqld</p>
<p>&nbsp;&nbsp; &#8230;done.</p>
<p>
</p></blockquote>
<p><b>2. restart mysql without a password</b></p>
<blockquote>
<p># mysqld_safe &#8211;skip-grant-tables &amp;</p>
</blockquote>
<p>The output should look like this:</p>
<blockquote>
<p>[1] 28808</p>
<p>100222 18:32:27 mysqld_safe Logging to syslog.</p>
<p>100222 18:32:27 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql</p>
</blockquote>
<p><b>3. connect to mysql using the mysql client</b></p>
<blockquote>
<p># mysql -u root</p>
</blockquote>
<p>The output should look like this:</p>
<blockquote>
<p>Welcome to the MySQL monitor. Commands end with ; or \g.</p>
<p>Your MySQL connection id is 1</p>
<p>Server version: 5.1.37-1ubuntu5.1 (Ubuntu)</p>
<p>Type &#8216;help;&#8217; or &#8216;\h&#8217; for help. Type &#8216;\c&#8217; to clear the current input statement.</p>
</blockquote>
<p><b>4. set a new mysql root user password</b></p>
<blockquote>
<p>mysql&gt; use mysql;</p>
<p>Reading table information for completion of table and column names</p>
<p>You can turn off this feature to get a quicker startup with -A</p>
<p>Database changed</p>
<p>mysql&gt; update user set password=PASSWORD(&#8220;<b>NEWROOTPASSWORDHERE</b>&#8220;) where User=&#8217;root&#8217;;</p>
<p>Query OK, 0 rows affected (0.02 sec)</p>
<p>Rows matched: 3 Changed: 0 Warnings: 0</p>
<p>mysql&gt; flush privileges;</p>
<p>Query OK, 0 rows affected (0.09 sec)</p>
<p>mysql&gt; quit</p>
<p>Bye</p>
<p>
</p></blockquote>
<p><b>5. stop mysql</b></p>
<blockquote>
<p># /etc/init.d/mysql stop</p>
</blockquote>
<p>The output should look like this:</p>
<blockquote>
<p>* Stopping MySQL database server mysqld</p>
<p>100222 18:35:29 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended</p>
<p>&nbsp;&nbsp; &#8230;done.</p>
<p>[1]+ Done mysqld_safe &#8211;skip-grant-tables</p>
</blockquote>
<p><b>6. restart mysql</b></p>
<blockquote>
<p># /etc/init.d/mysql start</p>
</blockquote>
<p>Who needs to remember passwords? <img src='http://joncellini.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://joncellini.com/blog/archives/2010/02/22/howto-reset-a-mysql-root-password/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Happy Birthday Linode</title>
		<link>http://joncellini.com/blog/archives/2009/06/16/happy-birthday-linode/</link>
		<comments>http://joncellini.com/blog/archives/2009/06/16/happy-birthday-linode/#comments</comments>
		<pubDate>Wed, 17 Jun 2009 05:07:17 +0000</pubDate>
		<dc:creator>Jon</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://joncellini.com/blog/archives/2009/06/16/happy-birthday-linode/</guid>
		<description><![CDATA[Congrats to Chris &#38; the Linode team! I also forgot to say thanks back in April for all the additional disk]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.linode.com/2009/06/16/linode-turns-6-welcomes-new-hires/">Congrats</a> to Chris &amp; the Linode team!</p>
<p>I also forgot to say thanks back in April for all the <a href="http://blog.linode.com/2009/04/23/33-additional-disk-space/">additional disk</a> <img src='http://joncellini.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://joncellini.com/blog/archives/2009/06/16/happy-birthday-linode/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>thanks again Linode</title>
		<link>http://joncellini.com/blog/archives/2007/12/28/thanks-again-linode/</link>
		<comments>http://joncellini.com/blog/archives/2007/12/28/thanks-again-linode/#comments</comments>
		<pubDate>Fri, 28 Dec 2007 08:51:05 +0000</pubDate>
		<dc:creator>Jon</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://joncellini.com/blog/archives/2007/12/28/thanks-again-linode/</guid>
		<description><![CDATA[I just noticed that Linode bumped up the RAM in my VPS by another 20%. Thanks Linode!]]></description>
			<content:encoded><![CDATA[<p>I just noticed that Linode <a href="http://www.linode.com/forums/viewtopic.php?t=2993&amp;start=0&amp;postdays=0&amp;postorder=asc&amp;highlight=">bumped up the RAM</a> in my VPS by another 20%.</p>
<p>Thanks Linode! <img src='http://joncellini.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://joncellini.com/blog/archives/2007/12/28/thanks-again-linode/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Feisty</title>
		<link>http://joncellini.com/blog/archives/2007/04/19/feisty/</link>
		<comments>http://joncellini.com/blog/archives/2007/04/19/feisty/#comments</comments>
		<pubDate>Thu, 19 Apr 2007 14:33:53 +0000</pubDate>
		<dc:creator>Jon</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://joncellini.com/blog/archives/2007/04/19/feisty/</guid>
		<description><![CDATA[Ubuntu Linux 7.04 (Feisty Fawn) has been released today. Fellow Oregonians can fetch a copy from the PSU mirror site.]]></description>
			<content:encoded><![CDATA[<p>Ubuntu Linux 7.04 (Feisty Fawn) has been released today. Fellow Oregonians can fetch a copy from the <a href="http://mirrors.cat.pdx.edu/ubuntu-iso/releases/feisty/">PSU mirror</a> site.</p>
]]></content:encoded>
			<wfw:commentRss>http://joncellini.com/blog/archives/2007/04/19/feisty/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>thank you again Linode</title>
		<link>http://joncellini.com/blog/archives/2007/02/03/thank-you-again-linode/</link>
		<comments>http://joncellini.com/blog/archives/2007/02/03/thank-you-again-linode/#comments</comments>
		<pubDate>Sat, 03 Feb 2007 08:02:53 +0000</pubDate>
		<dc:creator>Jon</dc:creator>
				<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://joncellini.com/blog/archives/2007/02/03/thank-you-again-linode/</guid>
		<description><![CDATA[It seems like just yesterday I was thanking Linode, my VPS host, for the free bump in disk space. I just noticed they also provided a 28% increase in RAM for free as well. My first year of hosting with &#8230; <a href="http://joncellini.com/blog/archives/2007/02/03/thank-you-again-linode/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>It seems like just yesterday I was thanking Linode, my VPS host, for the free bump in disk space. I just noticed they also provided a <a href="http://www.linode.com/forums/viewtopic.php?t=2574">28% increase in RAM</a> for free as well. My first year of hosting with them has been an absolute pleasure.</p>
<p>Thank you Chris! <img src='http://joncellini.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://joncellini.com/blog/archives/2007/02/03/thank-you-again-linode/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>thank you Linode!</title>
		<link>http://joncellini.com/blog/archives/2007/01/04/thank-you-linode/</link>
		<comments>http://joncellini.com/blog/archives/2007/01/04/thank-you-linode/#comments</comments>
		<pubDate>Fri, 05 Jan 2007 00:15:07 +0000</pubDate>
		<dc:creator>Jon</dc:creator>
				<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://joncellini.com/blog/archives/2007/01/04/thank-you-linode/</guid>
		<description><![CDATA[I just noticed that Linode (my VPS host) was kind enough to give me 33% more disk space for free. I&#8217;ve been with them just shy of a year and extremely happy. I would recommend them to anyone looking for &#8230; <a href="http://joncellini.com/blog/archives/2007/01/04/thank-you-linode/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I just noticed that Linode (my VPS host) was kind enough to give me <a href="http://www.linode.com/forums/viewtopic.php?t=2553">33% more disk space</a> for free. I&#8217;ve been with them just shy of a year and extremely happy. I would recommend them to anyone looking for a VPS host.<br />
Thank you Chris!</p>
]]></content:encoded>
			<wfw:commentRss>http://joncellini.com/blog/archives/2007/01/04/thank-you-linode/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linode</title>
		<link>http://joncellini.com/blog/archives/2006/03/15/linode/</link>
		<comments>http://joncellini.com/blog/archives/2006/03/15/linode/#comments</comments>
		<pubDate>Thu, 16 Mar 2006 06:57:53 +0000</pubDate>
		<dc:creator>Jon</dc:creator>
				<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://joncellini.com/blog/archives/2006/03/15/linode/</guid>
		<description><![CDATA[A few weeks ago I moved spendy.org and the other domains I host over to a Linode virtual dedicated server. Linode uses user-mode Linux so I am free to run my choice of distribution with guaranteed bandwidth, CPU, and memory. &#8230; <a href="http://joncellini.com/blog/archives/2006/03/15/linode/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>A few weeks ago I moved <a href="http://spendy.org">spendy.org</a> and the other domains I host over to a <a href="http://www.linode.com">Linode</a> virtual dedicated server. Linode uses <a href="http://user-mode-linux.sourceforge.net/">user-mode Linux</a> so I am free to run my choice of distribution with guaranteed bandwidth, CPU, and memory. Since I can&#8217;t really justify the expense of collocating a server for the few odds and ends I have on the Internet, a VDS is the next best thing. The initial account setup was painless and $20/month is a bargain compared to most shared hosting accounts.</p>
<p>Storage space is at a premium; however, I find most of my stuff fits nicely in 4GB. A bit of reverse proxy magic with Apache allows me to serve up my <a href="http://spendy.org/gallery/">photos</a> from my home server. This provides a more elegant solution to Verizon&#8217;s lame port 80 <a href="http://joncellini.com/blog/archives/2006/02/22/fios/">blocking</a> on their FiOS network.</p>
<p>So far I&#8217;m a very happy customer <img src='http://joncellini.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://joncellini.com/blog/archives/2006/03/15/linode/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HOWTO: WPA2 under Ubuntu 5.10 with a WPC54G v3 (Broadcom)</title>
		<link>http://joncellini.com/blog/archives/2005/12/28/howto-wpa2-under-ubuntu-510-with-a-wpc54g-v3-broadcom/</link>
		<comments>http://joncellini.com/blog/archives/2005/12/28/howto-wpa2-under-ubuntu-510-with-a-wpc54g-v3-broadcom/#comments</comments>
		<pubDate>Wed, 28 Dec 2005 09:09:50 +0000</pubDate>
		<dc:creator>Jon</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://joncellini.com/blog/archives/2005/12/28/howto-wpa2-under-ubuntu-510-with-a-wpc54g-v3-broadcom/</guid>
		<description><![CDATA[Over the holiday weekend I took my old Sony VAIO notebook and loaded Ubuntu Linux on it. As a desktop / end-user distro I&#8217;m very impressed with Ubuntu &#8211; it is easy to use and configure. Unfortunately, I had some &#8230; <a href="http://joncellini.com/blog/archives/2005/12/28/howto-wpa2-under-ubuntu-510-with-a-wpc54g-v3-broadcom/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Over the holiday weekend I took my old Sony VAIO notebook and loaded <a target="_blank" title="Ubuntu" href="http://ubuntulinux.org/">Ubuntu Linux</a> on it. As a desktop / end-user distro I&#8217;m very impressed with Ubuntu &#8211; it is easy to use and configure. Unfortunately, I had some trouble getting my wireless card to work with WPA2 authentication to my wireless network at home. From looking at the <a title="Ubuntu Forums" href="http://www.ubuntuforums.org">Ubuntu forums</a> it seems like this is a common problem. There are some helpful guides; however, none I found covered how to use WPA2 Pre-Shared Key authentication specifically. Fortunately by reading the man pages and some trial and error I was able to get it working.</p>
<p>Here are the steps:</p>
<ul>
<li>download the appropriate driver for your card -> <a title="WPC54G v3 Driver Download" href="http://www.linksys.com/servlet/Satellite?childpagename=US%2FLayout&#038;packedargs=c%3DL_Download_C2%26cid%3D1115417109934%26sku%3D1125638812437&#038;pagename=Linksys%2FCommon%2FVisitorWrapper">Linksys WPC54G v3</a></li>
<li>from the download extract the driver file (<strong>bcmwl5.sys</strong>) and inf file (<strong>LSBCMNDS.inf</strong>)</li>
<li>fire up the Synaptic Package Manager and install <strong>wpasupplicant</strong> &#038; <strong>ndis-wrapper</strong></li>
<li>open a shell and change directory to the location the driver and inf file were extracted to</li>
<li>install the driver: <em>sudo ndis-wrapper -i ./LSBCMNDS.inf</em></li>
<li>check that the driver was installed correctly: <em>ndiswrapper -l</em>  if it was installed correctly it should output &#8220;driver present, hardware present&#8221;</li>
<li>write the module configuration file: <em>sudo ndiswrapper -m</em></li>
<li>load the module: <em>sudo modprobe ndiswrapper</em></li>
<li>add <strong>ndiswrapper </strong>to <strong>/etc/modules</strong> so the kernel module is loaded at boot time</li>
</ul>
<p>Now on to the fun of configuring wpa_supplicant to handle the WPA2 authentication for the interface.</p>
<ul>
<li>open the <strong>/etc/wpa_supplicant.conf</strong> file in an editor</li>
<li>edit the network stanza as shown below substituting <em>myssid</em> and <em>mypsk</em> with the appropriate values for your network</li>
</ul>
<blockquote><p>network={<br />
ssid=&#8221;<em>myssid</em>&#8221;<br />
proto=WPA2<br />
key_mgmt=WPA-PSK<br />
psk=&#8221;<em>mypsk</em>&#8221;<br />
}</p></blockquote>
<ul>
<li>open <strong>/etc/default/wpasupplicant</strong> in an editor</li>
<li>change <strong>ENABLED</strong> to <strong>1</strong></li>
<li>change the <strong>OPTIONS</strong> argument to have values appropriate for your adapter. For my WPC54G v3 I used the following:</li>
</ul>
<blockquote><p>OPTIONS=&#8221;-i wlan0 -D ndiswrapper -c /etc/wpa_supplicant.conf&#8221;</p></blockquote>
<ul>
<li>open the <strong>/etc/network/interfaces</strong> file in an editor</li>
<li>add entries for the <strong>wlan0</strong> interface &#8211; on my notebook I desire the wireless card (<em>wlan0</em>) to be the primary interface. My configuration follows below:</li>
</ul>
<blockquote><p># The primary network interface<br />
auto wlan0<br />
iface wlan0 inet dhcp<br />
pre-up /etc/init.d/wpasupplicant start<br />
pre-up sleep 5</p></blockquote>
<ul>
<li>and we are done</li>
</ul>
<p>This leaves you with a wlan0 interface that will start automatically, is configured via DHCP, and prior to bringing the interface up the system will start wpa_supplicant to handle the WPA2 authentication so the card can associate with your WLAN.</p>
<p>I found the following to be helpful resources in getting it working:</p>
<ul>
<li><a title="WiFi howto" href="https://wiki.ubuntu.com/WiFiHowto">WiFi Howto</a></li>
<li><a title="WPA Howto" href="https://wiki.ubuntu.com/WPAHowto">WPA Howto</a></li>
<li><a href="http://www.ubuntuforums.org/showthread.php?t=82165&#038;highlight=wpa2">Getting WPA2 to work on a Broadcom chipset</a></li>
<li><a title="WPA Supplicant" href="http://hostap.epitest.fi/wpa_supplicant/">WPA Supplicant website</a></li>
</ul>
<p>Hopefully this is helpful to anyone else who is struggling to get it working.</p>
]]></content:encoded>
			<wfw:commentRss>http://joncellini.com/blog/archives/2005/12/28/howto-wpa2-under-ubuntu-510-with-a-wpc54g-v3-broadcom/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
	</channel>
</rss>

