<?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>Technical Diary &#187; wifi</title>
	<atom:link href="http://andriigrytsenko.net/tag/wifi/feed/" rel="self" type="application/rss+xml" />
	<link>http://andriigrytsenko.net</link>
	<description>With Andrii Grytsenko</description>
	<lastBuildDate>Wed, 28 Jul 2010 09:02:46 +0000</lastBuildDate>
	
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Wireless connection issue</title>
		<link>http://andriigrytsenko.net/2009/12/wireless-connection-issue/</link>
		<comments>http://andriigrytsenko.net/2009/12/wireless-connection-issue/#comments</comments>
		<pubDate>Wed, 23 Dec 2009 11:10:35 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[wifi]]></category>

		<guid isPermaLink="false">http://andriigrytsenko.net/?p=529</guid>
		<description><![CDATA[Recently I have faced with the next problem-&#62; my wireless connection time-to-time became unavailable.

I was starting investigation and figure out that my problem was the same as this. There is also workaround solution was found. First, let me describe my hardware and symptom data.
I have usb wireless adapter  D-link  DWA-110.
#lsusb
....
Bus 002 Device 004: [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I have faced with the next problem-&gt; my wireless connection time-to-time became unavailable.</p>
<p><span id="more-529"></span></p>
<p>I was starting investigation and figure out that my problem was the same as <a href="https://bugs.launchpad.net/ubuntu/+source/linux/+bug/200500">this</a>. There is also workaround solution was found. First, let me describe my hardware and symptom data.</p>
<p>I have usb wireless adapter  D-link  DWA-110.</p>
<pre>#lsusb
....
Bus 002 Device 004: ID 07d1:3c07 D-Link System Wireless G DWA-110 Adapter </pre>
<p>Linux kernel:</p>
<pre># uname -r
2.6.30-1-686</pre>
<p>Sometimes I observed that my network going to hung. In my logs I observer such messages:</p>
<pre>Dec 22 21:45:36 agrytsenko kernel: [52190.300066] wlan1: no probe response from AP 00:26:5a:95:8b:cc - disassociating
Dec 22 21:46:56 agrytsenko kernel: [52269.860040] wlan1: direct probe to AP 00:26:5a:95:8b:cc try 1
Dec 22 21:46:56 agrytsenko kernel: [52270.060080] wlan1: direct probe to AP 00:26:5a:95:8b:cc try 2</pre>
<p>I have written little script which restart my network:</p>
<pre>#!/bin/bash
ifconfig wlan1 down
sleep 5
iwconfig wlan1 essid amber
iwconfig wlan1 key s:apple
iwconfig wlan1 rate 54M
ifconfig wlan1 up
dhclient3 wlan1
</pre>
<p>But this way is not good idea at all. So after googling I find next solution(it&#8217;s also not complete solution, but quite better then my previous). This solution involve kernel sources. Therefore you should download it. After downloading you need to compile and install new kernel. Here is good <a href="http://andriigrytsenko.net/2009/07/linux-kernel-from-sources-for-debian/">how to</a> for Debian users.</p>
<p>Before you begin to compile new kernel and after unpacking the sources you should change one line in your sources. First, try to find it:</p>
<pre>cd /usr/src/linux
# grep -r IEEE80211_MONITORING_INTERVAL *
debian/linux-image-2.6.30/lib/modules/2.6.30/build/net/mac80211/mlme.c:#define IEEE80211_MONITORING_INTERVAL (2 * HZ)
.......</pre>
<p>So our line is found. Go there and set value to 100. Ex.:<br />
from</p>
<pre>#define IEEE80211_MONITORING_INTERVAL (2 * HZ)</pre>
<p>to</p>
<pre>#define IEEE80211_MONITORING_INTERVAL (100 * HZ)</pre>
<p>After new kernel installed and loaded my problem disappeared.</p>
]]></content:encoded>
			<wfw:commentRss>http://andriigrytsenko.net/2009/12/wireless-connection-issue/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
