<?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>Everything In Between &#187; Wireless</title>
	<atom:link href="http://maymay.net/blog/category/techcomputing/networking/wireless/feed/" rel="self" type="application/rss+xml" />
	<link>http://maymay.net/blog</link>
	<description>The brutally honest, first-person account of Meitar Moscovitz&#039;s life.</description>
	<lastBuildDate>Thu, 19 Jan 2012 08:54:24 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>One Minute Mac Tip: Sniffing Wi-Fi traffic and capturing packets with the built-in airport utility</title>
		<link>http://maymay.net/blog/2010/12/05/one-minute-mac-tip-sniffing-wi-fi-traffic-and-capturing-packets-with-the-built-in-airport-utility/</link>
		<comments>http://maymay.net/blog/2010/12/05/one-minute-mac-tip-sniffing-wi-fi-traffic-and-capturing-packets-with-the-built-in-airport-utility/#comments</comments>
		<pubDate>Sun, 05 Dec 2010 10:58:27 +0000</pubDate>
		<dc:creator>Meitar</dc:creator>
				<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Tech/Computing]]></category>
		<category><![CDATA[Wi-Fi]]></category>

		<guid isPermaLink="false">http://maymay.net/blog/?p=1318</guid>
		<description><![CDATA[Many Mac OS X users lament the lack of sophisticated network analysis tools, often prevalent and seemingly prolific on Linux systems. What many don&#8217;t know is that Mac OS X comes with a built-in command-line tool to do all sorts of nifty things with Wi-Fi networks, from packet capture (traffic sniffing) to scanning nearby networks&#8217; [...]]]></description>
			<content:encoded><![CDATA[<p>Many Mac <acronym title="Operating System">OS</acronym> X users lament the lack of sophisticated network analysis tools, often prevalent and seemingly prolific on Linux systems. What many don&#8217;t know is that Mac <acronym title="Operating System">OS</acronym> X comes with a built-in command-line tool to do all sorts of nifty things with Wi-Fi networks, from packet capture (traffic sniffing) to scanning nearby networks&#8217; signal to noise ratios.</p>
<p>Mac <acronym title="Operating System">OS</acronym> X ships with a command-line tool called <code>airport</code> that can do all sorts of nifty things with Wi-Fi networks. Unfortunately, it&#8217;s so squirreled away that most people don&#8217;t seem to know about it. The utility is part of the <code>Apple80211</code> Private Framework used to power your Mac&#8217;s Airport menubar icon.</p>
<p>Invoking the utility without arguments prints a useful (if incomplete) usage message. At a Terminal command prompt, type:</p>
<pre>/System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport</pre>
<p>The tool let&#8217;s you do a number of interesting things, so it&#8217;s worth playing around with. While you&#8217;re playing, you may as well create a symlink (a shortcut) to the utility so you don&#8217;t have to type that long path name all the time:</p>
<pre>sudo ln -s /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport /usr/bin/airport</pre>
<p>Among the easiest things you can do is print a list of the Wi-Fi networks within range of your computer, but unlike the Airport menubar item, this report shows you a bunch of extra, precise data, such as which encryption protocol (if any) is being used on the network:</p>
<pre>&#36; airport en1 scan
                            SSID BSSID             RSSI CHANNEL HT <acronym title="Columbia College">CC</acronym> SECURITY (auth/unicast/group)
                       moscohome 00:22:6b:8b:86:51 -61  10      N  -- WPA2(PSK/AES/AES)
                     PUBLIC-455H 00:15:6d:60:95:d1 -82  1       N  -- NONE
                    Alex Network 00:1e:e5:24:c4:4f -86  1       Y  TW <acronym title="Wi-Fi Protected Access; the successor to the weaker WEP">WPA</acronym>(PSK/TKIP,AES/TKIP) WPA2(PSK/TKIP,AES/TKIP)
                   linksysELNIDO 00:21:29:a3:fd:99 -90  6       N  -- <acronym title="Wi-Fi Protected Access; the successor to the weaker WEP">WPA</acronym>(PSK/AES,TKIP/TKIP) WPA2(PSK/AES,TKIP/TKIP)
                        2WIRE024 00:18:3f:02:2f:49 -88  6       N  US <acronym title="Wired Equivalency Protocol; a weak Wi-Fi encryption standard">WEP</acronym>
                        2WIRE940 00:12:88:d9:85:41 -93  6       N  US <acronym title="Wired Equivalency Protocol; a weak Wi-Fi encryption standard">WEP</acronym>
</pre>
<p>If I wanted to see which of my neighbors still haven&#8217;t upgraded from <acronym title="Wired Equivalency Protocol; a weak Wi-Fi encryption standard">WEP</acronym>, I could just filter using <code>grep</code>:</p>
<pre>airport en1 scan | grep <acronym title="Wired Equivalency Protocol; a weak Wi-Fi encryption standard">WEP</acronym></pre>
<p>More awesome, perhaps, is the tool&#8217;s ability to actually perform traffic sniffing and capture packets. Tell <code>airport</code> to <code>sniff</code>, and optionally provide a channel (which you now know thanks to your ability to <code>scan</code>). You need to be an administrator (i.e., you need <code>sudo</code> privileges) to do this:</p>
<pre>sudo airport en1 sniff 6</pre>
<p>This creates a file called <code>airportSniffXXXXXX.cap</code> in the <code>/tmp</code> directory, where <code>XXXXXX</code> is a string for uniqueness. You can then feed this file into your favorite network analyzer such as <a href="http://wireshark.org/">Wireshark</a> to examine the traffic offline.</p>
]]></content:encoded>
			<wfw:commentRss>http://maymay.net/blog/2010/12/05/one-minute-mac-tip-sniffing-wi-fi-traffic-and-capturing-packets-with-the-built-in-airport-utility/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Guide to Developing Low-Cost Wireless Networks</title>
		<link>http://maymay.net/blog/2006/01/27/guide-to-developing-low-cost-wireless-networks/</link>
		<comments>http://maymay.net/blog/2006/01/27/guide-to-developing-low-cost-wireless-networks/#comments</comments>
		<pubDate>Fri, 27 Jan 2006 17:05:34 +0000</pubDate>
		<dc:creator>Meitar</dc:creator>
				<category><![CDATA[Goodies]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Politics]]></category>
		<category><![CDATA[Tech/Computing]]></category>
		<category><![CDATA[Wireless]]></category>

		<guid isPermaLink="false">http://maymay.net/blog/archives/2006/01/27/guide-to-developing-low-cost-wireless-networks/</guid>
		<description><![CDATA[If you've ever wanted to set up your own wireless network (perhaps you want to run a community hotspot), then <cite>Wireless Networking in the Developing World</cite> is the book for you! Don't be fooled by the name. It's all about low-cost wireless telecommunications infrastructure. And it's free.]]></description>
			<content:encoded><![CDATA[<p>There&#8217;s a new book out today. It&#8217;s called <a href="http://wndw.net/">Wireless Networking in the Developing World</a>, and it&#8217;s available for free downloads online. I&#8217;ve already snatched my copy.</p>
<p>Even though it was written with the intention of making wireless telecommunications infrastructure more readily accessible to developing nations by means of educating implementors, I&#8217;ve already found it to be a useful reference and excellent learning tool to get a strong grounding on the considerations of setting up any wireless network. It starts you off with a grounding in radio physics, and then quickly goes through the stages of network design: the physical network infrastructure and the logical collision domains. It even has good advice on how to secure the network you create.</p>
<p>This book will be useful for everyone who wants to build their own wireless network that is more complicated than a simple home router. I can also see this guide being extremely handy for those managing and planning community wireless &ldquo;hotspots&rdquo; since its focus is on low-cost, yet effective, infrastructure. With <a href="http://www.wirelesscommunity.info/2005/10/26/free-american-broadband/" title="The U.S. can be considered a second-world country regarding Internet access.">the U.S. severely lagging behind the rest of the developed world</a> in terms of broadband internet access, community wireless projects can breathe new life into local economies just as effectively in America as they can overseas.</p>
<p>Books like this that make it easy for individuals and other organizations to inexpensively maintain wireless telecommunications infrastructure is a welcome addition to the fight for better Internet access across the globe.</p>
]]></content:encoded>
			<wfw:commentRss>http://maymay.net/blog/2006/01/27/guide-to-developing-low-cost-wireless-networks/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>What&#8217;s in a Brand?</title>
		<link>http://maymay.net/blog/2005/06/01/whats-in-a-brand/</link>
		<comments>http://maymay.net/blog/2005/06/01/whats-in-a-brand/#comments</comments>
		<pubDate>Wed, 01 Jun 2005 06:26:06 +0000</pubDate>
		<dc:creator>Meitar</dc:creator>
				<category><![CDATA[Branding & Identity]]></category>
		<category><![CDATA[Wireless]]></category>

		<guid isPermaLink="false">/?p=246</guid>
		<description><![CDATA[What makes a brand name so appealing to so many people even though they are so much more expensive? An encounter with a salesperson when purchasing a wireless networking card for a laptop provides an opportunity to question him about it.]]></description>
			<content:encoded><![CDATA[<p>Yesterday, after playing a <a href="http://en.wikipedia.org/wiki/Squash_%28sport%29" title="For the uninformed, here's information on what the sport of Squash is.">game of Squash</a> with my uncle, I hopped into the nearest electronics store in search of three things.</p>
<ul>
<li>An external hard drive with FireWire.</li>
<li>An <acronym title="Universal Serial Bus">USB</acronym> to PS/2 adapter.</li>
<li>A <acronym title="Personal Computer Memory Card International Association">PCMCIA</acronym> (<acronym title="Also Known As">aka</acronym> &ldquo;CardBus&rdquo;) wireless card.</li>
</ul>
<p>I walked to a sales representative and first asked for the hard drive. He walked me over to a shelf and showed me the few remaining items in stock. None had FireWire capability, and they were sold out of enclosures so I couldn&#8217;t make my own external drive by purchasing an internal one.</p>
<p>Next, I asked about the <acronym title="Universal Serial Bus">USB</acronym> to PS/2 adapters they had. We walked to another shelf, he showed me the only item of the sort they carry and then apologized for the lack of options when I balked at the ridiculously exorbitant price. ($25.99 for a simple cable adapter is silly.) <q>Thanks, but no thanks,</q> I said, <q>I&#8217;ll check online.</q></p>
<p>Finally, I asked about WiFi cards. This time, we headed over to several shelves packed to the brim with different options. The cards I was interested in were the so-called CardBus cards that fit into a <acronym title="Personal Computer Memory Card International Association">PCMCIA</acronym> slot on laptops. There were an abundance of different cards, each with similar capabilities. There were <a href="http://www.netgear.com/products/consumer/cat_wireless_hm.php" title="Wireless products for the home from NetGear.">NetGear cards</a>, <a href="http://www.linksys.com/products/group.asp?grid=33&amp;scid=36" title="LinkSys brand wireless network adapters.">LinkSys cards</a>, <a href="http://www.dlink.com/products/category.asp?cid=1&amp;sec=0" title="D-Link brand wireless products.">D-Link cards</a> and more.</p>
<p>As we approached, the salesman picked up a LinkSys card and handed the box to me. I took it and started reading the feature set.</p>
<ul>
<li>Wireless <acronym title="Personal Computer Memory Card International Association">PCMCIA</acronym> CardBus ethernet adapter.</li>
<li>Supports 801.11b/g (&ldquo;up to 54 Mbps!&rdquo;).</li>
<li><acronym title="Wired Equivalency Protocol; a weak Wi-Fi encryption standard">WEP</acronym> and <acronym title="Wi-Fi Protected Access; the successor to the weaker WEP">WPA</acronym>-enabled.</li>
<li>Runs on Windows 2000, XP, ME, and 98SE.</li>
<li>Price: <strong>&gt; $70.00.</strong></li>
</ul>
<p><q>Anything cheaper?</q> I asked. The salesman turned to the shelf, picked up a D-Link card and handed it to me. I read the feature set of the D-Link card.</p>
<ul>
<li>Wireless <acronym title="Personal Computer Memory Card International Association">PCMCIA</acronym> CardBus ethernet adapter.</li>
<li>Supports 801.11b/g (&ldquo;up to 54 Mbps!&rdquo;).</li>
<li><acronym title="Wired Equivalency Protocol; a weak Wi-Fi encryption standard">WEP</acronym> and <acronym title="Wi-Fi Protected Access; the successor to the weaker WEP">WPA</acronym>-enabled.</li>
<li>Runs on Windows 2000, XP, ME, and 98SE.</li>
<li>Price: <strong>&lt; $60.00.</strong></li>
</ul>
<p><q>What&#8217;s the difference between this one and that one?</q> I asked him.</p>
<p><q>The LinkSys is the better brand,</q> the salesperson told me.</p>
<p>Better brand? There I was in the store, holding a box in my left hand and a box in my right. Inside each was a little piece of hardware, each of which claimed to perform the same exact function in the same exact way. Both boxes were the same shape and the same weight. One box was a light blue with a white logo while the other a dark blue with a yellow logo.</p>
<p><q>What do you mean a &#8216;better brand&#8217;?</q> I asked.</p>
<p><q>It, um, works better. Sometimes you have connectivity issues with the cheaper one,</q> the salesperson stumbled.</p>
<p><q>They both do the same thing, though,</q> I insisted, reading off the identical feature sets of both boxes.</p>
<p><q>But the better brand works better.</q></p>
<p><q>Why?</q></p>
<p>At this point, the salesperson started rephrasing and recycling his previous statements that the better brand meant better reliability. It was a matter of trust; if I had not been tech-savvy, I would probably have paid for the supposed extra reliability of the more expensive card. Since I have no fears on the matter, I did not need to trust the card or the manufacturer&mdash;I already trusted myself to get it to work.</p>
<p>So what&#8217;s in a brand name? <strong>Perceived quality.</strong> The keyword here is the former, <em>perceieved</em>. As it turns out I purchased the less expensive card and had no problems whatsoever.</p>
]]></content:encoded>
			<wfw:commentRss>http://maymay.net/blog/2005/06/01/whats-in-a-brand/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Bad Wi-Fi Neighbors</title>
		<link>http://maymay.net/blog/2005/01/09/bad-wi-fi-neighbors/</link>
		<comments>http://maymay.net/blog/2005/01/09/bad-wi-fi-neighbors/#comments</comments>
		<pubDate>Sun, 09 Jan 2005 13:15:40 +0000</pubDate>
		<dc:creator>Meitar</dc:creator>
				<category><![CDATA[Security & Privacy]]></category>
		<category><![CDATA[Wireless]]></category>

		<guid isPermaLink="false">/?p=159</guid>
		<description><![CDATA[My apartment's Wi-Fi network troubles are traced to interference caused by 3 competing wireless networks in my new building. I used NetStumbler to help diagnose and fix the problem.]]></description>
			<content:encoded><![CDATA[<p>Yesterday I finally got my new apartment hooked up with Time Warner Cable&#8217;s Road Runner Internet service. (While I was at it, I totally ditched <acronym title="TeleVision, though our British and Aussie friends like to say 'tellie'">TV</acronym> and along with the quieter home, I&#8217;m looking forward to the nearly $40 savings on my bill each month!) The cable guy woke me up at noon and I answered the door in a t-shirt and boxers because I couldn&#8217;t find my pants. Oh well.</p>
<p>Anyway, he quickly set me up, left me extra cable wires at my request, and I started to set up my computer corner. Got my router hooked up after spoofing its <acronym title="Media Access Control (networking) or Message Authentication Code (cryptography)">MAC</acronym> address, and started a cursory test of the Wi-Fi router&#8217;s signal around my apartment. Everything looked good for a while, so I moved on to more pressing matters, but later on in the day I began experiencing inexplicable network slow-downs and disconnects. I couldn&#8217;t make heads or tails of it until I launched <a href="http://stumbler.net/">NetStumbler</a> and began exploring a little more in-depth.</p>
<p>(I had to do some <a href="http://en.wikipedia.org/wiki/WiFi%2C_802.11">quick research</a> to gain any valuable information from NetStumbler&#8217;s findings, but luckily Wikipedia is perfect for this sort of thing.)</p>
<p>NetStumbler was able to locate 3 other wireless networks in addition to my own which were broadcasting through my apartment. The interference was remarkable. Each of them were transmitting in the mid-channel range from 3 through 6, and I was caught right in the middle. My network&#8217;s <acronym title="Signal to Noise Ratio">SNR</acronym> decreased considerably the more I travelled away from the <acronym title="Access Point; usually a Wi-Fi networking device (like a router)">AP</acronym>.</p>
<p>The thing about Wi-Fi is that the signals aren&#8217;t typically very strong to begin with becuase the coverage is intended to remain confined. This means that competing signals transmitted in close frequencies (termed <dfn>channels</dfn>) cancel each other out, causing the headaches my network was giving me.</p>
<p>Thanks to NetStumbler I knew what channels the other guys were using, so I started broadcasting at the other end of the spectrum and suddenly my reception was loud and clear all over the apartment, and I would guess wherever they are broadcasting from too. The lesson in radio technology and Wi-Fi in general was extremely interesting and informative, but on a more practical note this is about being a good Wi-Fi neighbor and not competing for signal strength on the same channels.</p>
<p>It also brings up some very critical concerns involving security and privacy issues. One of the networks NetStumbler found was an unsecured Linksys-based <acronym title="Access Point; usually a Wi-Fi networking device (like a router)">AP</acronym>. The owner probably doesn&#8217;t realize that his home computer network is wide open to anyone with a wireless networking card and a computer, but it is. Since Wi-Fi works on radio technology, and radio can pass through solid objects like walls, the area covered by his transmitter pokes out of the confines of his apartment.</p>
<p>If <em>I</em> were the bad neighbor, I could use his Internet connection, or even browse his iTunes music collection and he would probably be none the wiser. If he had a wireless web cam hooked up to the network, I could see whatever images it broadcasted too. <em>And I wouldn&#8217;t even have to start hacking.</em> That&#8217;s why it&#8217;s so important that you take the steps to protect your wireless network with something like <acronym title="Wi-Fi Protected Access; the successor to the weaker WEP">WPA</acronym> or <acronym title="Wired Equivalency Protocol; a weak Wi-Fi encryption standard">WEP</acronym>.</p>
<p><acronym title="Wired Equivalency Protocol; a weak Wi-Fi encryption standard">WEP</acronym> is not very strong, and the <a href="http://www.securityfocus.com/infocus/1814" title="SecurityFocus report on the effectiveness of wireless cracking tools.">new generation of <acronym title="Wired Equivalency Protocol; a weak Wi-Fi encryption standard">WEP</acronym>-cracking tools</a> can break it in a matter of minutes, so it should never be considered a preventative measure to keep crackers out of your network. Rather, it is a detterant that should be used to dissuade crackers from trying. My old router only supports <acronym title="Wired Equivalency Protocol; a weak Wi-Fi encryption standard">WEP</acronym> encryption on its <acronym title="Wireless Local Area Network">WLAN</acronym> so that&#8217;s what I&#8217;m stuck with, but the fact that this other guy keeps his network wide open means I feel pretty safe here.</p>
<p>Afterall, which house do you think a burglar would break in to? The one with the big security-company sticker on all the windows and doors and the lights on, or the one in the dark with the open window and unlocked door?</p>
]]></content:encoded>
			<wfw:commentRss>http://maymay.net/blog/2005/01/09/bad-wi-fi-neighbors/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

