<?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>Ryan Underdown &#187; Linux</title>
	<atom:link href="http://ryanunderdown.com/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://ryanunderdown.com</link>
	<description>SEO, Scripting and Politics</description>
	<lastBuildDate>Mon, 21 Jun 2010 18:38:52 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Distro Review: LinuxMint 3.1</title>
		<link>http://ryanunderdown.com/linux/distro-review-linuxmint-31.php</link>
		<comments>http://ryanunderdown.com/linux/distro-review-linuxmint-31.php#comments</comments>
		<pubDate>Wed, 26 Sep 2007 06:03:40 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[OSS]]></category>
		<category><![CDATA[desktop]]></category>
		<category><![CDATA[linuxmint]]></category>

		<guid isPermaLink="false">http://ryanunderdown.com/2007/09/25/distro-review-linuxmint-31/</guid>
		<description><![CDATA[Part 1 in a 2 part series I recently had the opportunity to try out Linux Mint, a new linux distribution aimed at capturing desktop user share from Microsoft. Linux Mint is a Ubuntu (debian) based distribution with some interesting user interface improvements, a few notable additions, and some closed source files that Ubuntu doesn&#8217;t [...]]]></description>
			<content:encoded><![CDATA[<p><em></p>
<h3>Part 1 in a 2 part series</h3>
<p></em></p>
<p>I recently had the opportunity to try out <a rel="nofollow" href="http://www.linuxmint.com/">Linux Mint</a>, a new linux distribution aimed at capturing desktop user share from Microsoft.  Linux Mint is a <a rel="nofollow" href="http://www.ubuntu.com/" rel="nofollow">Ubuntu</a> (<a rel="nofollow" href="http://www.us.debian.org/">debian</a>) based distribution with some interesting user interface improvements, a few notable additions, and some closed source files that Ubuntu doesn&#8217;t ship with.  I know first hand that when my windows user friends come over and use my laptop to check their email, they are often taken aback by the graphical user interface differences between linux and windows.  </p>
<h1><strong>Where Linux Mint Excels:</strong></h1>
<h2><strong>1. A User Friendly Interface</strong></h2>
<p>I know first hand that when my windows user friends come over and use my laptop to check their email, they are often taken aback by the graphical user interface differences between linux and windows.  In windows everyone knows that the start key is on the bottom left hand side of the screen.  In a typical Gnome-based Ubuntu distribution of course it defaults to the top left and doesn&#8217;t even appear as an obvious button.  Windows users don&#8217;t know what the hell they are looking at.  Linux Mint gets around this by removing the top bar and putting the &#8216;start&#8217; (or program access) key at the bottom left of the screen.  Where Ubuntu drops the ball, Linux Mint does a fairly good job of avoiding confusion for windows users.  </p>
<p><a rel="nofollow shadowbox" href='http://ryanunderdown.com/wp-content/uploads/2007/09/desktop.png'  title='Linux Mint Desktop Screenshot'><img src='http://ryanunderdown.com/wp-content/uploads/2007/09/desktop-small.png' alt='Linux Mint Desktop Screenshot' /></a></p>
<p>As you can see from the screenshot the start button is not quite as obvious as a windows XP or Vista start key with the highly identifiable Microsoft logo, but a good deal more intuitive than a <a href="http://www.ubuntu.com/files/u3/desktop-tn.png" rel="nofollow">typical Gnome desktop</a>.</p>
<h2><strong>2. The Start Menu</strong></h2>
<p>The start menu looks just like Windows XP/Vista.  Menu items are grouped in a logical manner consistent with the average desktop user&#8217;s experience.</p>
<p><a rel='shadowbox' href='http://ryanunderdown.com/wp-content/uploads/2007/09/startmenu.png' title='Linux Mint Start Menu'><img src='http://ryanunderdown.com/wp-content/uploads/2007/09/startmenu-small.png' alt='Linux Mint Start Menu' /></a></p>
<h2><strong>3. The Control Panel</strong></h2>
<p>One of the most daunting things to a brand new-to-linux user is finding the locations of all the individual component-specific control panels.  We have a font control a display control, a desktop control, an accessibility, a network, and countless other controls typically listed in the drop down menu under the system tab when Microsoft has them all neatly located in a &#8216;Control Panel&#8217; dialog box.  Linux Mint organizes them in a nicely organized intuitive display as well:</p>
<p><a rel='shadowbox' href='http://ryanunderdown.com/wp-content/uploads/2007/09/control-center.png' title='Linux Mint Control Panel'><img src='http://ryanunderdown.com/wp-content/uploads/2007/09/control-center-small.png' alt='Linux Mint Control Panel' /></a></p>
<h2><strong>4. Graphics Card Support</strong></h2>
<p>Mint ships with a nice little installer called &#8216;Envy&#8217; for installing non-free video drivers from ATI and Nvidia.  Unfortunately my graphics card on my laptop is an ATI radeon mobility which uses the standard driver so I was unable to test it out.  In addition since my graphics card is so pathetically old I am unable to use the Open GL Beryl desktop.  Mine defaulted to the standard gnome.  However, it does come bundled with beryl and emerald.  Here is a picture of some Emerald window decorations you can choose from:</p>
<p><a rel='shadowbox' href='http://ryanunderdown.com/wp-content/uploads/2007/09/emerald-small.png' title='emerald control panel'><img src='http://ryanunderdown.com/wp-content/uploads/2007/09/emerald-small.png' alt='emerald control panel' /></a></p>
<h2><strong>5. Wifi Support</strong></h2>
<p>Strangely my wireless adapter (which uses the fairly standard atheros chipset) didn&#8217;t work with the live cd version of Mint, but once I installed it to my drive it worked without a hitch.  For unsupported wireless adapters, Mint comes with a handy NDIS wrapper installer so you can just insert your wireless card&#8217;s install disk, browse to it and install it for use in Mint.  </p>
<h2><strong>6. MintDisk: NTFS read/write and drive mounting out of the box</strong></h2>
<p>Mint disk is a handy little tool that automatically mounts ntfs partitions &#8211; and not with the typical read only access that you get from a vanilla ubuntu install.  Worked perfectly for me and could work hand in glove with ndiswrapper to install windows wireless ethernet drivers on dual boot machines.  </p>
<p><a rel='shadowbox' href='http://ryanunderdown.com/wp-content/uploads/2007/09/mintdisk.png' title='mintdisk ntfs support'><img src='http://ryanunderdown.com/wp-content/uploads/2007/09/mintdisk-small.png' alt='mintdisk ntfs small' /></a></p>
<p>I have only had a couple of hours to play with it so I expect to have a lot more to say in part 2.</p>
<img src="http://ryanunderdown.com/?ak_action=api_record_view&id=461&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://ryanunderdown.com/linux/distro-review-linuxmint-31.php/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Using Asterisk And VOIP To Save Your Small Business A Bundle</title>
		<link>http://ryanunderdown.com/business/using-asterisk-and-voip-to-save-your-small-business-a-bundle.php</link>
		<comments>http://ryanunderdown.com/business/using-asterisk-and-voip-to-save-your-small-business-a-bundle.php#comments</comments>
		<pubDate>Mon, 11 Jun 2007 03:17:20 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
				<category><![CDATA[Asterisk]]></category>
		<category><![CDATA[Business]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Trixbox]]></category>
		<category><![CDATA[voip]]></category>
		<category><![CDATA[pbx]]></category>
		<category><![CDATA[sip]]></category>

		<guid isPermaLink="false">http://ryanunderdown.com/2007/06/10/using-asterisk-and-voip-to-save-your-small-business-a-bundle/</guid>
		<description><![CDATA[Overview By now most people have heard of the open source PBX Asterisk and what it can do, but how does this translate into savings for your small business? I have written this brief HOWTO to show how it has saved my company over $500 per month by leveraging the synergy of open source software [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Overview</strong></p>
<p>By now most people have heard of the open source PBX <a rel="nofollow" href="http://asterisk.org">Asterisk</a> and what it can do, but how does this translate into savings for your small business?  I have written this brief HOWTO to show how it has saved my company over $500 per month by leveraging the synergy of open source software and VOIP.</p>
<p><strong>Why use VOIP?</strong></p>
<p>The cost savings from using VOIP (Voice Over IP) over the traditional PSTN (public switched telephone network) are tremendous.  By eliminating the need for using traditional phone companies expensive infrastructure (a switched phone line originating at your office and terminating at your customer&#8217;s), a small business can completely eliminate the need to pay per-minute long distance fees and outrageous access charges levied by Ma Bell to use their antiquated telephone network.</p>
<p><strong>Why use Asterisk?</strong></p>
<p>Anyone that has started up a new business office knows behind labor and their leased space, phones often rank third.  For one you must buy or lease a PBX (personal branch exchange) from a company like Avaya.  On top of the lease for equipment you pay for the actual lines and usage charges for local and long distance calls.  If your business has a high call volume you could easily be paying a small fortune.  Asterisk was created by <a rel="nofollow" href="http://www.marko.net/">Mark Spencer</a> the CTO of <a href="http://www.digium.com/en/index.php">Digium</a> and is licensed under the GPL which has attracted lots of third party add ons that increase its functionality.  What does this mean for the small business owner?  No software licensing fees, no hardware leasing and the power of a fully functional pbx with robust features built for voip.</p>
<p><strong>This sounds great! How do I start saving money with Asterisk?</strong></p>
<p><strong>THE GAMEPLAN</strong></p>
<p>There are a few steps that we must take in order to get started with our new high tech phone system. </p>
<ol>
<li>Choose a VOIP provider</li>
<li>Choose a broadband internet provider (DSL/T1)</li>
<li>Purchase a computer to install Asterisk on</li>
<li>Install Asterisk</li>
<li>Purchase Phones</li>
<li>Configure Asterisk to Communicate with Provider</li>
</ol>
<p><strong>Choosing a VOIP Provider</strong></p>
<p>For my new office we chose <a href="http://inphonex.com/">Inphonex</a>.  They offer unlimited 1-800 calling plans which was very important to us as we have a high inbound call volume and have to offer an 800 number. Inphonex is Asterisk-Friendly, and was the only business class service that offered an unlimited 800 plan.  They are based out of Miami and have written a HOWTO on how to setup asterisk servers to connect to their service as well.   After three months I haven&#8217;t experienced any down time with their service.</p>
<p>There are a few other providers I considered such as Teliax,Telasip, viatalk.  Perhaps someone could post in comments about their service or others?</p>
<p><strong>Choosing A Broadband Provider</strong></p>
<p>When choosing a broadband provider there are several considerations to take into account.  The most important is the number of phones your company will require along with the compression codecs the provider supports.  My new office requires only 4 phones at the moment. There are <a href="http://www.erlang.com/calculator/lipb/">several</a> <a href="http://www.bandcalc.com/">bandwidth</a> <a href="http://www.newport-networks.com/pages/voip-bandwidth-calculator.html" rel="nofollow">calculators</a> that can guide you through your selection of required ip bandwidth and codec selection.  A quick check of the <a href="http://www.inphonex.com/knowledgebase/voice-call-quality-answers.php?action=view&#038;kb_id=28&#038;tag_id=" rel="nofollow"> Inphonex website</a> shows what codecs they supports. They offer support for several codecs including G.723, G.729a, G.726 ulaw and alaw.  This provides you with some compression options in case you need several lines over a DSL line.  </p>
<p><strong>Building Your Server</strong></p>
<p>I built a bare bones computer by purchasing a case, motherboard, cpu, hard drive and network card at NewEgg.  Any old computer will do, but starting on a fresh machine ensures to some degree that components will work for some time to come.  Since this machine isn&#8217;t running any Microsoft bloatware, the machine doesn&#8217;t really need to be a supercomputer.  My computer cost a total of $200.  One of the advantages of running it on a linux server is that you can SSH into the machine remotely and manage it or you can access the web enabled GUI.  I am using <a href="http://www.trixbox.org/">trixbox</a> which comes with <a href="http://www.freepbx.org/">FreePBX</a> already installed which makes managing your asterisk server easy even if you&#8217;ve never used linux or SSH before.</p>
<p><strong>Installing Asterisk</strong></p>
<p>I have installed asterisk on several different linux distros but the easiest way to get asterisk up and running on a dedicated server is to download trixbox.  Trixbox is basically a linux distribution that grew out of the Asterisk At Home distribution of a few years back.  Trixbox uses a database back end to store configuration values but other than that it is very similar to a typical Asterisk server compiled from the vanilla source.  Trixbox also bundles in several features including an apache server, mysql database, FreePBX web based management, HUD, flash operator panel,  and community based <a rel="nofollow" href="http://www.trixbox.org/forum">forums</a> that are very helpful in solving configuration issues.</p>
<p>You will need to:</p>
<ul>
<li>Download an <a href="http://www.trixbox.org/downloads">ISO image</a></li>
<li>Read the <a href="http://forge.trixbox.org/gf/project/trixbox2/wiki/?section=project&#038;ref_id=4&#038;pagename=trixbox+quick+install+guide">quick start guide</a></li>
<li>Read Inphonex&#8217;s <a rel="nofollow" href="http://www.inphonex.com/support/trixbox-configuration.php">configuration guide</a> for trixbox</li>
<li>Refer to the <a rel="nofollow" href="http://www.trixbox.org/forum">trixbox forums</a> for help</li>
</ul>
<p><strong>Choosing Your Phones</strong></p>
<p>I settled on <a href="http://www.888voipstore.com/grandstream-gxp-2000-pr-16165.html">GPX-2000</a> phones from <a rel="nofollow" href="http://www.grandstream.com/">Grandstream</a>.  I bought them from 888voipstore and everything went very smoothly and I got a very reasonable price.  I paid $78.95 per phone for phones with every feature I could want.  Configuring them to work with my Asterisk server was extremely easy as well.  Grandstream phones come with a web based GUI:</p>
<p><center><br />
<h3>Click to Enlarge</h3>
<p>
<a href='http://ryanunderdown.com/wp-content/uploads/2007/06/gs1.GIF' title='GrandStream Back End'><img src='http://ryanunderdown.com/wp-content/uploads/2007/06/gs1.GIF' height="300px" width="400px" alt='GrandStream Back End' /></a></center></p>
<p>Basically you only have to enter in the LAN/IP address of your asterisk box as your sip server and your phone works.  Of course you still have to set up an extension on your asterisk box as well.  Navigate in FreePBX to Settings-> Extensions and set up an extension number and choose a password like this:</p>
<p><center><br />
<h3>Click to Enlarge</h3>
<p>
<a rel="nofollow" href='http://ryanunderdown.com/wp-content/uploads/2007/06/ext.GIF' title='extension setting'><img src='http://ryanunderdown.com/wp-content/uploads/2007/06/ext.GIF' height="300px" width="400px" alt='extension setting' /></a></center></p>
<p><strong> Configure Asterisk for Inphonex</strong></p>
<p>Inphonex is an asterisk friendly provider.  Conveniently they have a simple <a rel="nofollow" href="http://www.inphonex.com/support/trixbox-configuration.php">configuration guide</a> to setting up trixbox to work with their service.  My working configuration is here:</p>
<blockquote><p><code>allow=ulaw<br />
canreinvite=yes<br />
context=from-inphonex<br />
disallow=all<br />
fromdomain=sip.inphonex.com<br />
fromuser=[myusernumber]<br />
host=sip.inphonex.com<br />
insecure=very<br />
nat=yes<br />
pedantic=no<br />
qualify=yes<br />
secret=[mypassword]<br />
type=peer<br />
username=[myusernumber]</code></p></blockquote>
<p>My Register String:<br />
<center><br />
<h3>Click to Enlarge</h3>
<p>
<a href='http://ryanunderdown.com/wp-content/uploads/2007/06/inphonepbx.GIF' title='Inphonex register string'><img src='http://ryanunderdown.com/wp-content/uploads/2007/06/inphonepbx.GIF' height='300px' width='400px' alt='Inphonex register string' /></a></center></p>
<p>For further help you can always search the <a rel="nofollow" href="http://www.trixbox.org/search/node/inphonex">trixbox forums</a> or contact <a href="http://www.inphonex.com/support/support.php">Inphonex&#8217;s support</a>.</p>
<img src="http://ryanunderdown.com/?ak_action=api_record_view&id=413&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://ryanunderdown.com/business/using-asterisk-and-voip-to-save-your-small-business-a-bundle.php/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Microsoft: Secure Wireless Networks With WEP?</title>
		<link>http://ryanunderdown.com/linux/microsoft-secure-wireless-networks-with-wep.php</link>
		<comments>http://ryanunderdown.com/linux/microsoft-secure-wireless-networks-with-wep.php#comments</comments>
		<pubDate>Sun, 18 Feb 2007 01:32:02 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[wifi]]></category>

		<guid isPermaLink="false">http://ryanunderdown.com/2007/02/17/microsoft-secure-wireless-networks-with-wep/</guid>
		<description><![CDATA[I was planning on spending some time today rebutting a recent article on securing your wireless network ondigg.com so I thought why not check out the trusty reference guide over at support.microsoft.com. I started digging around and found this gem. By now anyone that has a wireless router and cares the slightest bit about preventing [...]]]></description>
			<content:encoded><![CDATA[<p>I was planning on spending some time today rebutting a recent article on securing your wireless network on<a href="http://www.digg.com/security/How_to_Secure_A_Wireless_LAN">digg.com</a> so I thought why not check out the trusty reference guide over at <a href="http://support.microsoft.com">support.microsoft.com</a>.  I started digging around and found <a href="http://support.microsoft.com/kb/309369">this gem</a>.  By now anyone that has a wireless router and cares the slightest bit about preventing unwanted intrusion knows that bypassing WEP (Wireless Equivalency Protocol) is trivial.( as I pointed out in my recent tutorial on <a href="http://ryanunderdown.com/2007/02/12/cracking-wep-using-backtrack/">cracking WEP with BackTrack</a>).  Apparently the folks over at Microsoft didn&#8217;t get the memo.</p>
<p>Here are some highlights from <a href="http://support.microsoft.com/kb/309369">the article</a>:</p>
<blockquote>
<ul>
<li>Enable the highest level of WEP that your hardware provides. WEP provides some security and is effective in deterring casual attempts by outsiders to infiltrate your network. Most 802.11b certified products can use basic 64-bit WEP encryption. By default, however, 64-bit WEP encryption may be disabled.</li>
</ul>
</blockquote>
<p>That alone ought to eat up about 15 seconds of a wifi hackers time.</p>
<blockquote><ul>
<li>Change the default Service Set Identifier (SSID) and passwords for your network devices. Access points/wireless routers ship from the manufacturer with default SSID and passwords which is the same on all devices made by that manufacturer. Leaving these at default makes it easy for a malicious outsider to gain access.</li>
</ul>
</blockquote>
<p>That would actually be good advice if they were coupling it with WPA encryption.  <a href="http://www.kismetwireless.net/">Kismet</a> can sniff out an ssid even when it&#8217;s not &#8220;broadcast&#8221;.  </p>
<blockquote><ul>
<li>Purchase access points and network adapters that support 128-bit WEP. Some products only support 64-bit (40 bit key) WEP, and are not as secure. Note that some adapters may only require a driver upgrade to attain 128-bit WEP capability.</li>
</ul>
</blockquote>
<p>Brilliant.</p>
<blockquote><ul>
<li>Some access points allow you to control access based on the media access control address of the network adapter trying to associate with it. If the media access control address of your adapter is not in the table of the access point, you will not associate with it. If your access point has this feature, enable it and add the media access control addresses of the network adapters you use.</li>
</ul>
</blockquote>
<p>Your wireless adapter&#8217;s MAC address is broadcast constantly.  Kismet or Kismac picks it up in a heartbeat.  Spoofing your mac address might be <a href="http://www.irongeek.com/i.php?page=security/changemac">a little harder in windows</a>, but it&#8217;s a snap on the mac or linux.  You can use ifconfig or macchanger and many other simple scripts.</p>
<p>So how <i>should</i> you secure your home wireless network?  Well the home user should obviously ditch WEP for WPA.  WPA uses a much stronger encryption technique.  It can be cracked with a brute force attack but if you name your SSID with a long obscure name and use a sufficient passkey it will be very difficult for a hacker to compromise your network.  The reason this is more effective is that the encrypted key is computed by using the SSID (broadcast name) of the router AND the passkey itself.  For this reason WPA is not very secure unless you randomize your SSID by <a href="http://www.wigle.net/gps/gps//Stat">changing it from the default setting</a>, ie linksys, default, belkin etc, AND use a random password generator (A good one is <a href="http://www.kurtm.net/wpa-pskgen/">available here</a>) you are fooling yourself.  </p>
<img src="http://ryanunderdown.com/?ak_action=api_record_view&id=411&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://ryanunderdown.com/linux/microsoft-secure-wireless-networks-with-wep.php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cracking WEP Using Backtrack: A Beginner&#8217;s Guide</title>
		<link>http://ryanunderdown.com/linux/cracking-wep-using-backtrack.php</link>
		<comments>http://ryanunderdown.com/linux/cracking-wep-using-backtrack.php#comments</comments>
		<pubDate>Mon, 12 Feb 2007 14:13:53 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[wifi]]></category>
		<category><![CDATA[backtrack]]></category>
		<category><![CDATA[encryption]]></category>
		<category><![CDATA[network security]]></category>
		<category><![CDATA[wep]]></category>
		<category><![CDATA[wireless]]></category>

		<guid isPermaLink="false">http://ryanunderdown.com/2007/02/12/cracking-wep-using-backtrack/</guid>
		<description><![CDATA[A. SCOPE This tutorial is intended for user&#8217;s with little or no experience with linux or wifi. The folks over at remote-exploit have released &#8220;Backtrack&#8221; a tool which makes it ridiculously easy to access any network secured by WEP encryption. This tutorial aims to guide you through the process of using it effectively. Required Tools [...]]]></description>
			<content:encoded><![CDATA[<h2>A. SCOPE</h2>
<p>This tutorial is intended for user&#8217;s with little or no experience with linux or wifi.  The folks over at <a href="http://remote-exploit.org/">remote-exploit</a> have released &#8220;Backtrack&#8221; a tool which makes it ridiculously easy to access any network secured by WEP encryption.  This tutorial aims to guide you through the process of using it effectively.</p>
<h3>Required Tools</h3>
<ul>
<li>You will need a computer with a wireless adapter listed <a href="http://madwifi.org/wiki/Compatibility">here</a></li>
<li><a href="http://remote-exploit.org/backtrack_download.html">Download Backtrack</a> and burn it&#8217;s image to a CD</li>
</ul>
<h2>B. OVERVIEW</h2>
<p><strong>BACKTRACK</strong> is a bootable live cd with a myriad of wireless and tcp/ip networking tools.     This tutorial will only cover the included <a href="http://www.kismetwireless.net/">kismet</a> and <a href="http://www.aircrack-ng.org/doku.php">aircrack-ng</a> suite of tools.</p>
<h3>Tools Overview</h3>
<ul>
<li><strong>Kismet</strong> &#8211; a wireless network detector and packet sniffer</li>
<li><strong>airmon</strong> &#8211; a tool that can help you set your wireless adapter into monitor mode (rfmon)</li>
<li><strong>airodump</strong> &#8211; a tool for capturing packets from a wireless router (otherwise known as an AP)</li>
<li><strong>aireplay</strong> &#8211; a tool for forging ARP requests</li>
<li><strong>aircrack</strong> &#8211; a tool for decrypting WEP keys</li>
<li><strong>iwconfig</strong> &#8211; a tool for configuring wireless adapters. You can use this to ensure that your wireless adapter is in &#8220;monitor&#8221; mode which is essential to sending fake ARP requests to the target router</li>
<li><strong>macchanger</strong> &#8211; a tool that allows you to view and/or spoof (fake) your MAC address</li>
</ul>
<h3>Glossary of Terms</h3>
<ul>
<li><strong>AP</strong>: Access Point: a wireless router</li>
<li><strong>MAC Address</strong>: Media Access Control address, a unique id assigned to wireless adapters and routers.  It comes in hexadecimal format (ie 00:11:ef:22:a3:6a)</li>
<li><strong>BSSID</strong>: Access Point&#8217;s MAC address</li>
<li><strong>ESSID</strong>: Access Point&#8217;s Broadcast name. (ie linksys, default, belkin etc) Some AP&#8217;s will not broadcast their name but Kismet may be able to detect it anyway</li>
<li><strong>TERMINAL</strong>: MS-Dos like command line interface.  You can open this by clicking the black box icon next to the start key in backtrack</li>
<li><strong>WEP</strong>: short for Wired Equivalency Privacy, it is a security protocol for Wi-Fi networks</li>
<li><strong>WPA</strong>: short for WiFi Protected Access. a more secure protocal than WEP for wireless networks.  NOTE: this tutorial does not cover cracking WPA encryption</li>
</ul>
<p>Since Backtrack is a live CD running off your cdrom, there is nowhere that you can write files to unless you have a linux partition on your hard drive or a usb storage device.  Backtrack has some NTFS support so you will be able to browse to your windows based hard drive should you have one, but it will mount the partition as &#8220;read-only&#8221;.  I dual boot windows and ubuntu on my laptop so I already have a linux swap partition and a reiserfs partition.  Backtrack had no problem detecting these and mounting them for me. To find your hard drive or usb storage device, just browse to  the /mnt folder in the file manager.  Typically a hard drive will appear named something like hda1 or hda2 if you have more than one partition on the drive.  Alternately hdb1 could show if you have more than one hard disk.  Having somewhere to write files that you can access in case you need to reboot makes the whole process a little easier.  </p>
<h3>C. DISCLAIMER</h3>
<p>Hacking into someone&#8217;s wireless network without permission is probably against the law.  I wouldn&#8217;t recommend doing it.  I didn&#8217;t break into anyone else&#8217;s network while learning how to do this.</p>
<h3>D. IMPLEMENTATION</h3>
<h3>STEP 1</h3>
<h4>Monitoring Wireless Traffic With Kismet</h4>
<p>Place the backtrack CD into your cd-rom drive and boot into Backtrack.  You may need to change a setting in your bios to boot from cd rom.  During boot up you should see a message like &#8220;Hit ctrl+esc to change bios settings&#8221;.  Changing your first boot device to cdrom will do the trick.  Once booted into linux, login as root with username: root password: toor.  These are the default username and password used by backtrack.  A command prompt will appear.  Type startx to start KDE (a &#8216;windows&#8217; like workspace for linux).</p>
<p>Once KDE is up and running start kismet by clicking on the start key and browsing to Backtrack->Wireless Tools -> Analyzers ->Kismet.  Alternatively you can open a Terminal and type: </p>
<blockquote><p>
kismet
</p></blockquote>
<p>Kismet will start running and may prompt you for your wireless adapter. Choose the appropriate adapter, most likely &#8216;ath0&#8242;, and sit back as kismet starts detecting networks in range.</p>
<h3>NOTE: We use kismet for two reasons.</h3>
<ol>
<li> To find the bssid, essid, and channel number of the AP you are accessing.  </li>
<li> Kismet automatically puts your wireless adapter into monitor mode (rfmon).  It does this by creating a VAP (virtual access point?) or in other words, instead of only having ath0 as my wireless card it creates a virtual wifi0 and puts ath0 into monitor mode automatically.  To find out your device&#8217;s name just type:</li>
</ol>
<blockquote><p>iwconfig</p></blockquote>
<p>Which will look something like this:</p>
<p><a  href='http://ryanunderdown.com/wp-content/uploads/2007/02/iwconfig.png' title='iwconfig.png'><img src='http://ryanunderdown.com/wp-content/uploads/2007/02/iwconfig.thumbnail.png' alt='iwconfig.png' /></a></p>
<p>While kismet detects networks and various clients accessing those networks you might want to type &#8216;s&#8217; and then &#8216;Q&#8217; (case sensitive).  This sorts all of the AP&#8217;s in your area by their signal strength.  The default &#8216;autofit&#8217; mode that kismet starts up in doesn&#8217;t allow you much flexibility.  By sorting AP&#8217;s by signal strength you can scroll through the list with the arrow keys and hit enter on any AP you want more information on. (side note: when selecting target AP keep in mind this tutorial only covers accessing host AP&#8217;s that use WEP encryption.  In kismet the flags for encryption are Y/N/0.  Y=WEP N=Open Network- no encryption 0= other: WPA most likely.) Further reading on Kismet is available <a href="http://www.wi-fiplanet.com/tutorials/article.php/3595531">here</a>.</p>
<p>Select the AP (access point) you want to access.  Copy and paste the broadcast name(essid), mac address(bssid), and channel number of your target AP into a text editor. Backtrack is KDE based so you can use kwrite.  Just open a terminal and type in &#8216;kwrite&#8217; or select it from the start button. In Backtrack&#8217;s terminal to copy and paste you use shift+ctrl+c and shift+control+v respectively.  <strong>Leave kismet running to leave your wireless adapter in monitor mode.</strong>  You can also use airmon to do this manually. <code>airmon-ng -h</code> for more help with this</p>
<h2>STEP 2</h2>
<h3>Collecting Data With Airodump</h3>
<p>Open up a new terminal and start airodump so we can collect ARP replies from the  target AP.  Airodump is fairly straight forward for help with this program you can always type &#8220;airodump-ng -h&#8221; at the command prompt for additional options.</p>
<blockquote><p>
airodump-ng ath0 -w /mnt/hda2/home/ryan/belkin_slax_rcu 9 1
</p></blockquote>
<p>Breaking down this command:</p>
<ul>
<li> <strong>ath0</strong> is my wireless card</li>
<li><strong>-w</strong> tells airodump to write the file to<br /> /mnt/hda2/ryan/belkin_slax_rcu</li>
<li><strong>9</strong> is the channel 9 of my target AP</li>
<li><strong>1</strong> tells airodump to only collect IVS &#8211; the data packets with the WEP key</li>
</ul>
<h2>STEP 3</h2>
<h3>Associate your wireless card with the AP you are accessing.</h3>
<blockquote><p>
aireplay-ng -1 0 -e belkin -a 00:11:22:33:44:55 -h 00:fe:22:33:f4:e5 ath0
</p></blockquote>
<ul>
<li><strong>-1</strong> at the beginning specifies the type of attack.  In this case we want fake authentication with AP.  You can view all options by typing <code>aireplay-ng -h</code>
	</li>
<li><strong>0</strong> specifies the delay between attacks</li>
<li><strong>-e</strong> is the essid tag.  belkin is the essid or broadcast name of my target AP.  Linksys or default are other common names</li>
<li><strong>-a</strong> is the bssid tag(MAC address).  00:11:22:33:44:55 is the MAC address of the target AP</li>
<li> <strong>-h</strong> is your wireless adapters MAC addy.  You can use macchanger to view and change your mac address. <code>macchanger -s ath0</code></li>
<li><strong>ath0</strong> at the end is my wireless adapters device name in linux</li>
</ul>
<h2>STEP 4</h2>
<h3>
Start packet injection with aireplay<br />
</h3>
<blockquote><p>
aireplay-ng -3 -b 00:11:22:33:44:55 -h 00:fe:22:33:f4:e5 ath0
</p></blockquote>
<h4>NOTES:  </h4>
<ul>
<li><strong>-b</strong> requires the MAC address of the AP we are accessing.</li>
<li><strong> -h</strong> is your wireless adapters MAC addy.  You can use macchanger to view and change your mac address. <code>macchanger -s ath0</code></li>
<li>if packets are being collected at a slow pace you can type<code>iwconfig ath0 rate auto</code> to adjust your wireless adapter&#8217;s transmission rate.  You can find your AP&#8217;s transmission rate in kismet by using the arrow keys up or down to select the AP and hitting enter.  A dialog box will pop up with additional information.  Common rates are 11M or 54M.
</li>
</ul>
<p>As aireplay runs, ARP packets count will slowly increase.  This may take a while if there aren&#8217;t many ARP requests from other computers on the network.  As it runs however, the ARP count should start to increase more quickly.  If ARP count stops increasing, just open up a new terminal and re-associate with the ap via step 3.  There is no need to close the open aireplay terminal window before doing this.  Just do it simultaneously.  You will probably need somewhere between 200-500k IV data packets for aircrack to break the WEP key.</p>
<h3>If you get a message like this:</h3>
<p><code>Notice: got a deauth/disassoc packet. Is the source MAC associated ?</code></p>
<p>Just reassociate with the AP following the instructions on step 3.</p>
<h2>STEP 5</h2>
<h3>Decrypting the WEP Key with Aircrack</h3>
<p>Find the location of the captured IVS file you specified in step 2.  Then type in a terminal: </p>
<blockquote><p>
aircrack-ng -s /mnt/hda2/home/belkin_slax_rcu-03.ivs
</p></blockquote>
<p>Change /mnt/hda2/home/belkin_slax_rcu-03.ivs to your file&#8217;s location</p>
<p>Once you have enough captured data packets decrypting the key will only take a couple of seconds.  For my AP it took me 380k data packets.  If aircrack doesn&#8217;t find a key almost immediately, just sit back and wait for more data packets.</p>
<p><a rel="nofollow" href='http://ryanunderdown.com/wp-content/uploads/2007/02/aircrack.png' title='aircrack.png'><img src='http://ryanunderdown.com/wp-content/uploads/2007/02/aircrack.thumbnail.png' alt='aircrack.png' /></a>
</p>
<p>If this guide doesn&#8217;t fully answer your questions you can always refer to the forums at <a href="http://forums.remote-exploit.org/archive/index.php/f-8.html">remote-exploit.org</a></p>
<img src="http://ryanunderdown.com/?ak_action=api_record_view&id=405&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://ryanunderdown.com/linux/cracking-wep-using-backtrack.php/feed/</wfw:commentRss>
		<slash:comments>181</slash:comments>
		</item>
	</channel>
</rss>
