Hi everyone. 

If you're having the same problem that I am having, here is what I have boiled it down to:
  1. Overo wifi chip intermittently disassociates from the access point.
  2. ifconfig still shows an IP address
  3. iwconfig shows "Not Associated".
I've found that because the wlan0 interface still has an IP, restarting the entire network is not necessary. As long as you know the name of the wifi network you can just reconnect quickly using iwconfig. iwconfig remembers the previous network's encryption key, too.

So here's a quick script that monitors iwconfig and issues "iwconfig wlan0 essid MyNetwork" when it goes down. Think of it as a network reliability watchdog timer.

#!/bin/bash
iwconfig > /tmp/iwconfig_stat
while grep -i "not-associated" "/tmp/iwconfig_stat" > /dev/null; 
do
    iwconfig wlan0 essid MyNetwork 
    sleep 4 
    iwconfig > /tmp/iwconfig_stat
done
rm /tmp/iwconfig_stat

Then you can just run this script in a loop. Change .5 to .1 if you really need it to be up all the time.
for ((;;)); 
do 
   ./restart.sh &>/dev/null; 
   sleep .5; 
done

It's not ideal but it helps keep the connection up. 

We may have more information on this problem through our recent investigations (Steve Sakoman has been a tremendous help) but are waiting for more results before officially saying that my overo board is stable. Stay tuned.

Sincerely,
Blaine Booher



On Thu, Mar 1, 2012 at 9:12 PM, Dan Nelson <Dan.Nelson@romteck.com> wrote:

We don’t have any diagnostics from the phones, but it appears that the access point doesn’t respond to some android phones and so they have trouble getting an IP address.  So it doesn’t seem to be the same as what you’re seeing.  But it does indicate that all access points aren’t created equally, we have had no problems with the Apple one.  Nor are all wifi units created equally, iPhones have no trouble connecting.  You might want to try a different access point and see if the problem persists.

 

Dan

 

From: Blaine Booher [mailto:bgbooher@gmail.com]
Sent: Friday, March 02, 2012 9:26 AM


To: General mailing list for gumstix users.
Subject: Re: [Gumstix-users] Overo Wifi is "turned off" after 2-3 minutesofinactivity.

 

Dan,

 

What problem are you having?

 

Ours is this:

  • randomly disassociates from AP
  • still has ip address in ifconfig
  • iwconfig shows "Not Associated"

A temporary hack I've found is running a script that simply re-authenticates with iwconfig whenever it goes down. No need to reboot networking and we're back up quickly since iwconfig wlan0 essid mynetwork takes no time to run and the interface already has an IP address.

 

Sincerely,
Blaine


On Thu, Mar 1, 2012 at 8:18 PM, Dan Nelson <Dan.Nelson@romteck.com> wrote:

I don't know if this is at all related, but we've had trouble connecting android phones to our access point at work.  Iphones work fine.  We've replaced the access point and have the same problem.  However, we have an Apple access point that all phones connect to without problem.  No one here has been able to figure out what the problem is.  Maybe your problem has something to do with the access point.

Dan


-----Original Message-----
From: Steve Sakoman [mailto:sakoman@gmail.com]
Sent: Friday, March 02, 2012 1:41 AM
To: General mailing list for gumstix users.
Subject: Re: [Gumstix-users] Overo Wifi is "turned off" after 2-3 minutes ofinactivity.

On Thu, Mar 1, 2012 at 9:16 AM, Blaine Booher <bgbooher@gmail.com> wrote:
> We have a new error message on our external wifi chip:
>
> Feb 29 21:52:29 omap3-multi wlan0: authenticate with 00:0d:88:ea:b5:7c (try
> 1)
> Feb 29 21:52:29 omap3-multi wlan0: authenticated
> Feb 29 21:52:29 omap3-multi wlan0: associate with 00:0d:88:ea:b5:7c (try 1)
> Feb 29 21:52:29 omap3-multi wlan0: RX AssocResp from 00:0d:88:ea:b5:7c
> (capab=0x431 status=0 aid=2)
> Feb 29 21:52:29 omap3-multi wlan0: associated
> Mar  1 12:21:13 omap3-multi ieee80211 phy0: wlan0: No probe response from AP
> 00:0d:88:ea:b5:7c after 500ms, disconnecting.

Interesting -- that seems to indicate that your access point isn't
responding to a probe.

> Mar  1 12:21:13 omap3-multi cfg80211: Calling CRDA to update world
> regulatory domain

And this would indicate the CRDA messages are a side effect, not the
root cause, since it comes *after* wlan0 disconnects.

Steve


On Wed, Feb 29, 2012 at 11:40 PM, Alex Gibson <alxx@alexthegeek.com> wrote:
>>
>> On 1/03/2012 3:16 PM, Blaine Booher wrote:
>> > Alex,
>> >
>> > I'm running some tests now with a new image. Thank you for the offer.
>> > I'm sure that your image will be useful for testing if you make it
>> > available. I'll update tomorrow, this new image is behaving sanely, so
>> > far after 6 hours. We'll see how it does in 24 hours.
>> >
>> > Sincerely,
>> > Blaine
>> >
>>
>>
>> Can up load an image as well if you'd like
>> but will be uploading a tarred up build virtual machine image(not
>> gumstix image)
>>
>> Still need to update my kickstart file.
>>
>>
>> Alex
>>
>>
>> ------------------------------------------------------------------------------
>> Virtualization & Cloud Management Using Capacity Planning
>> Cloud computing makes use of virtualization - but cloud computing
>> also focuses on allowing computing to be delivered as a service.
>> http://www.accelacomm.com/jaw/sfnl/114/51521223/
>> _______________________________________________
>> gumstix-users mailing list
>> gumstix-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gumstix-users
>
>
>
> ------------------------------------------------------------------------------
> Virtualization & Cloud Management Using Capacity Planning
> Cloud computing makes use of virtualization - but cloud computing
> also focuses on allowing computing to be delivered as a service.
> http://www.accelacomm.com/jaw/sfnl/114/51521223/
> _______________________________________________
> gumstix-users mailing list
> gumstix-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gumstix-users
>

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
gumstix-users mailing list
gumstix-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gumstix-users

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
gumstix-users mailing list
gumstix-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gumstix-users

 


------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
gumstix-users mailing list
gumstix-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gumstix-users