<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Omega2 cannot reconnect to wifi automatically]]></title><description><![CDATA[<p dir="auto">I've tethered my Omega2 to a roving hotspot: usually it's available but sometimes it won't be (typically overnight, up to 16 hours).<br />
It connects just fine on boot if the hotspot is available, and if it's gone for only a few minutes and then comes back it has no problem reconnecting.<br />
But if it boots up while the hotspot is unavailable, or if it goes away for several hours, then it simply never reconnects automatically when it returns.  I have to run wifimanager to force it to reconnect.<br />
Any thoughts on why this might be and how to fix it?</p>
]]></description><link>http://community.onion.io/topic/2446/omega2-cannot-reconnect-to-wifi-automatically</link><generator>RSS for Node</generator><lastBuildDate>Thu, 16 Apr 2026 05:32:51 GMT</lastBuildDate><atom:link href="http://community.onion.io/topic/2446.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 24 Oct 2017 15:43:33 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Omega2 cannot reconnect to wifi automatically on Tue, 24 Oct 2017 15:43:33 GMT]]></title><description><![CDATA[<p dir="auto">I've tethered my Omega2 to a roving hotspot: usually it's available but sometimes it won't be (typically overnight, up to 16 hours).<br />
It connects just fine on boot if the hotspot is available, and if it's gone for only a few minutes and then comes back it has no problem reconnecting.<br />
But if it boots up while the hotspot is unavailable, or if it goes away for several hours, then it simply never reconnects automatically when it returns.  I have to run wifimanager to force it to reconnect.<br />
Any thoughts on why this might be and how to fix it?</p>
]]></description><link>http://community.onion.io/post/14850</link><guid isPermaLink="true">http://community.onion.io/post/14850</guid><dc:creator><![CDATA[David Goldsmith]]></dc:creator><pubDate>Tue, 24 Oct 2017 15:43:33 GMT</pubDate></item><item><title><![CDATA[Reply to Omega2 cannot reconnect to wifi automatically on Wed, 25 Oct 2017 09:08:10 GMT]]></title><description><![CDATA[<p dir="auto">Look at <a href="https://community.onion.io/topic/1260/omega2-wifi-shut-down-apcli-link-down/7" rel="nofollow">https://community.onion.io/topic/1260/omega2-wifi-shut-down-apcli-link-down/7</a></p>
<p dir="auto">You could modify my script to run in cron and check if it's connected to any AP and if not, restart wifimanager. Should help in your case.</p>
<p dir="auto">Cron version would look like this:</p>
<pre><code>#!/bin/sh

AP=$(iwconfig apcli0| awk '/Access Point: .*/ {print $5}')

if [ "$AP" = "Not-Associated" ] ; then
        logger -t wifi-watch "WiFi not assosiated, restarting wifimanager";
        ifconfig apcli0 up
        wifimanager
fi
</code></pre>
]]></description><link>http://community.onion.io/post/14860</link><guid isPermaLink="true">http://community.onion.io/post/14860</guid><dc:creator><![CDATA[Jakub K]]></dc:creator><pubDate>Wed, 25 Oct 2017 09:08:10 GMT</pubDate></item><item><title><![CDATA[Reply to Omega2 cannot reconnect to wifi automatically on Thu, 26 Oct 2017 12:45:44 GMT]]></title><description><![CDATA[<p dir="auto">Good idea, thanks!<br />
I was hoping for a root cause and solution but it doesn't really matter, so long as it's working.  Threw this into a 10 second repeat and now it's working fine.</p>
]]></description><link>http://community.onion.io/post/14876</link><guid isPermaLink="true">http://community.onion.io/post/14876</guid><dc:creator><![CDATA[David Goldsmith]]></dc:creator><pubDate>Thu, 26 Oct 2017 12:45:44 GMT</pubDate></item><item><title><![CDATA[Reply to Omega2 cannot reconnect to wifi automatically on Thu, 26 Oct 2017 12:51:27 GMT]]></title><description><![CDATA[<p dir="auto">Root cause is: netifd does support iface events UP and DOWN but does not support something like "up failure" (I mean, there is no event fired after iface connection failed, only for UP and DOWN). Afaik.</p>
]]></description><link>http://community.onion.io/post/14877</link><guid isPermaLink="true">http://community.onion.io/post/14877</guid><dc:creator><![CDATA[Jakub K]]></dc:creator><pubDate>Thu, 26 Oct 2017 12:51:27 GMT</pubDate></item></channel></rss>