<?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[WLAN connectivity problem]]></title><description><![CDATA[<p dir="auto">I am using Pycom WiPy v2.0 board. I have upgraded its firmware and downloaded pymakr plugin to run and debug the code, but i couldn't connect it with the home wifi and everytime i need to reset my board to get the wifi network of the pycom board. And i also have Pycom WiPy v1.3 board for which i couldn't find the firmware upgrade link. Please help me to find the solution. Thank you.</p>
]]></description><link>https://forum.pycom.io/topic/1797/wlan-connectivity-problem</link><generator>RSS for Node</generator><lastBuildDate>Mon, 08 Jun 2026 01:37:38 GMT</lastBuildDate><atom:link href="https://forum.pycom.io/topic/1797.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 11 Sep 2017 10:45:08 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to WLAN connectivity problem on Mon, 11 Sep 2017 10:45:08 GMT]]></title><description><![CDATA[<p dir="auto">I am using Pycom WiPy v2.0 board. I have upgraded its firmware and downloaded pymakr plugin to run and debug the code, but i couldn't connect it with the home wifi and everytime i need to reset my board to get the wifi network of the pycom board. And i also have Pycom WiPy v1.3 board for which i couldn't find the firmware upgrade link. Please help me to find the solution. Thank you.</p>
]]></description><link>https://forum.pycom.io/post/11002</link><guid isPermaLink="true">https://forum.pycom.io/post/11002</guid><dc:creator><![CDATA[SenaPR]]></dc:creator><pubDate>Mon, 11 Sep 2017 10:45:08 GMT</pubDate></item><item><title><![CDATA[Reply to WLAN connectivity problem on Mon, 11 Sep 2017 11:09:11 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/1782">@SenaPR</a> WiPy 2does not reconnect automatically. You have to add the respective statements into <a href="http://boot.py" target="_blank" rel="noopener noreferrer nofollow">boot.py</a> or <a href="http://main.py" target="_blank" rel="noopener noreferrer nofollow">main.py</a>, like described here <a href="https://docs.pycom.io/chapter/tutorials/all/wlan.html" target="_blank" rel="noopener noreferrer nofollow">https://docs.pycom.io/chapter/tutorials/all/wlan.html</a> under the heading &quot;Connecting to a router&quot;. After being connected, you may also assign a fixed IP.</p>
<p dir="auto">For WiPy 1.3 the firmware is here: <a href="http://micropython.org/download/" target="_blank" rel="noopener noreferrer nofollow">http://micropython.org/download/</a><br />
There's also a short instruction on how to update.</p>
]]></description><link>https://forum.pycom.io/post/11003</link><guid isPermaLink="true">https://forum.pycom.io/post/11003</guid><dc:creator><![CDATA[robert-hh]]></dc:creator><pubDate>Mon, 11 Sep 2017 11:09:11 GMT</pubDate></item><item><title><![CDATA[Reply to WLAN connectivity problem on Mon, 11 Sep 2017 13:10:05 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/98">@robert-hh</a> can we access default <a href="http://boot.py" target="_blank" rel="noopener noreferrer nofollow">boot.py</a> or <a href="http://main.py" target="_blank" rel="noopener noreferrer nofollow">main.py</a> of Pycom WiPy v2.0 board ? If yes, then please can you suggest me on this. Thank you.</p>
]]></description><link>https://forum.pycom.io/post/11008</link><guid isPermaLink="true">https://forum.pycom.io/post/11008</guid><dc:creator><![CDATA[SenaPR]]></dc:creator><pubDate>Mon, 11 Sep 2017 13:10:05 GMT</pubDate></item><item><title><![CDATA[Reply to WLAN connectivity problem on Mon, 11 Sep 2017 13:19:13 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/1782">@SenaPR</a> <a href="http://boot.py" target="_blank" rel="noopener noreferrer nofollow">boot.py</a> and <a href="http://main.py" target="_blank" rel="noopener noreferrer nofollow">main.py</a> are ordinary files in the /flash directory.<br />
So you can edit and change the freely.<br />
Normally, the WiPy creates an WiFi access point at 192.168.4.1, with password <a href="http://www.pycom.io" target="_blank" rel="noopener noreferrer nofollow">www.pycom.io</a>. If you can connect there, you can use ftp to transfer files. If you are locked out from WiFi, and pymakr does not work either,. you can use other tools to access the WiPy file systems via USB, like adafruit's &quot;AMPY&quot; (<a href="https://learn.adafruit.com/micropython-basics-load-files-and-run-code/install-ampy" target="_blank" rel="noopener noreferrer nofollow">https://learn.adafruit.com/micropython-basics-load-files-and-run-code/install-ampy</a>), or Dave Hylands &quot;rshell&quot; (following instruction at link: <a href="https://github.com/dhylands/rshell" target="_blank" rel="noopener noreferrer nofollow">https://github.com/dhylands/rshell</a>).</p>
]]></description><link>https://forum.pycom.io/post/11009</link><guid isPermaLink="true">https://forum.pycom.io/post/11009</guid><dc:creator><![CDATA[robert-hh]]></dc:creator><pubDate>Mon, 11 Sep 2017 13:19:13 GMT</pubDate></item><item><title><![CDATA[Reply to WLAN connectivity problem on Wed, 13 Sep 2017 06:44:20 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/98">@robert-hh</a> from network import WLAN<br />
wlan = WLAN(mode=WLAN.STA), when we execute the following functions, the board hangs up, wifi of pycom wipy board get disconnected and we have to do safe boot again to make it working. Please help us on this. Thank you.</p>
]]></description><link>https://forum.pycom.io/post/11054</link><guid isPermaLink="true">https://forum.pycom.io/post/11054</guid><dc:creator><![CDATA[SenaPR]]></dc:creator><pubDate>Wed, 13 Sep 2017 06:44:20 GMT</pubDate></item><item><title><![CDATA[Reply to WLAN connectivity problem on Wed, 13 Sep 2017 07:34:25 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/1782">@SenaPR</a> said in <a href="/post/11054">WLAN connectivity problem</a>:</p>
<blockquote>
<p dir="auto">wlan = WLAN(mode=WLAN.STA)</p>
</blockquote>
<p dir="auto">Once you execute this statement, any connection to the AP is lost. If you want to keep the AP connection in addition to the station mode, run</p>
<p dir="auto">wlan = WLAN(mode=WLAN.STA_AP)</p>
]]></description><link>https://forum.pycom.io/post/11057</link><guid isPermaLink="true">https://forum.pycom.io/post/11057</guid><dc:creator><![CDATA[robert-hh]]></dc:creator><pubDate>Wed, 13 Sep 2017 07:34:25 GMT</pubDate></item><item><title><![CDATA[Reply to WLAN connectivity problem on Wed, 13 Sep 2017 09:08:39 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/98">@robert-hh</a> i have tried the &quot; wlan = WLAN(mode=WLAN.STA_AP)&quot; function. Wifi network of pycom board has not disconnected but its showing error &quot;AP SSID not given&quot; on the console terminal. Below is attached file, please go through it do the needful.<br />
Thank you.</p>
]]></description><link>https://forum.pycom.io/post/11060</link><guid isPermaLink="true">https://forum.pycom.io/post/11060</guid><dc:creator><![CDATA[SenaPR]]></dc:creator><pubDate>Wed, 13 Sep 2017 09:08:39 GMT</pubDate></item><item><title><![CDATA[Reply to WLAN connectivity problem on Wed, 13 Sep 2017 09:51:15 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/1782">@SenaPR</a> That's because the statement is not executed. The question is, what you want to achieve:<br />
In AP mode, the WiPy creates it's own WiFi network, and so you have to specify the SSID and password for that network. By default, this is something like &quot;wipy_xxx&quot;. You must seen this since you connected ti your wipy. You can reuse that SSID and specify:<br />
wlan = WLAN(mode=WLAN.STA_AP, ssid = &quot;your ssid&quot;, auth=(WLAN.WPA2, &quot;<a href="http://www.pycom.io" target="_blank" rel="noopener noreferrer nofollow">www.pycom.io</a>&quot;))<br />
In STA mode your WiPy would connect to your router. After the wlan=... statement, you would add:</p>
<pre><code>wlan.connect(ssid='mynetwork', auth=(WLAN.WPA2, 'my_network_key'))
while not wlan.isconnected():
    print(&quot;.&quot;, end=&quot;&quot;)
wlan.ifconfig(config=('my.new.static.ip', '255.255.255.0', 'gateway_ip', 'gateway_ip'))
print(&quot;\n&quot;, wlan.ifconfig())
</code></pre>
<p dir="auto">Which connects to your router and sets a static ip, which is more convenient if you want to connect with your computer both to your Internet and your WiPy. The values for my.new.static.ip and gateway.ip depend on the setting of your router. Typical setting for the gateway_ip are 192.168.0.1. But you can tell by issuing the command <code>/sbin/route -n</code> under linux/mac or <code>ipconfig</code> under Windows in the command shell.</p>
]]></description><link>https://forum.pycom.io/post/11061</link><guid isPermaLink="true">https://forum.pycom.io/post/11061</guid><dc:creator><![CDATA[robert-hh]]></dc:creator><pubDate>Wed, 13 Sep 2017 09:51:15 GMT</pubDate></item><item><title><![CDATA[Reply to WLAN connectivity problem on Wed, 13 Sep 2017 11:22:03 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/98">@robert-hh</a> I have followed the same thing, i can connect with my pycom board wifi but i couldnot connect pycom board wifi with the office wifi. i have attached file for your reference. Please go through it and tell me if any changes i need to do to make pycom board wifi to the office wifi. Thank you for your cooperation.<img src="/assets/uploads/files/1505301675434-test2-resized.png" alt="0_1505301676165_test2.png" class="img-responsive img-markdown" /></p>
]]></description><link>https://forum.pycom.io/post/11063</link><guid isPermaLink="true">https://forum.pycom.io/post/11063</guid><dc:creator><![CDATA[SenaPR]]></dc:creator><pubDate>Wed, 13 Sep 2017 11:22:03 GMT</pubDate></item><item><title><![CDATA[Reply to WLAN connectivity problem on Wed, 13 Sep 2017 11:49:25 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/1782">@SenaPR</a> Line 7 must be indented by at least one space. It looks as if not. and that is a syntax error.</p>
<pre><code>while not wlan.isconnected():
    print(&quot;.&quot;, end=&quot;&quot;)
</code></pre>
<p dir="auto">Also, the IP you give to your WiPy is in a different net than the router. So if 192.168.478.198 is the IP of your gateway, the IP of your WiPy should be <a href="http://192.168.478.xxx" target="_blank" rel="noopener noreferrer nofollow">192.168.478.xxx</a>.<br />
But you could remove (or comment out) line 8 which sets the IP parameters and just see what you router assigns to the WiPy.</p>
]]></description><link>https://forum.pycom.io/post/11064</link><guid isPermaLink="true">https://forum.pycom.io/post/11064</guid><dc:creator><![CDATA[robert-hh]]></dc:creator><pubDate>Wed, 13 Sep 2017 11:49:25 GMT</pubDate></item><item><title><![CDATA[Reply to WLAN connectivity problem on Wed, 13 Sep 2017 12:08:34 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/98">@robert-hh</a> are there any libraries which we need to dump on our pycom board after upgrading its firware ??<br />
Thank you.</p>
]]></description><link>https://forum.pycom.io/post/11065</link><guid isPermaLink="true">https://forum.pycom.io/post/11065</guid><dc:creator><![CDATA[SenaPR]]></dc:creator><pubDate>Wed, 13 Sep 2017 12:08:34 GMT</pubDate></item><item><title><![CDATA[Reply to WLAN connectivity problem on Wed, 13 Sep 2017 13:51:52 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/1782">@SenaPR</a> No, for the language itself and the standard modules as documented you do not need any special libraries. Especially the Bluetooth and WiFi modules are embedded in the firmware. For you special application, you might need some libraries and scripts, but that's another story.</p>
]]></description><link>https://forum.pycom.io/post/11066</link><guid isPermaLink="true">https://forum.pycom.io/post/11066</guid><dc:creator><![CDATA[robert-hh]]></dc:creator><pubDate>Wed, 13 Sep 2017 13:51:52 GMT</pubDate></item><item><title><![CDATA[Reply to WLAN connectivity problem on Thu, 14 Sep 2017 08:49:04 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/1782">@SenaPR</a>  - also, most of these IP addresses are invalid - an IPv4 address can't have an octet above 255 and you have 478 and even 1090. I would expect the libraries to reject these, but in any case you will never get a working network without valid IP addresses.</p>
]]></description><link>https://forum.pycom.io/post/11096</link><guid isPermaLink="true">https://forum.pycom.io/post/11096</guid><dc:creator><![CDATA[guyadams99]]></dc:creator><pubDate>Thu, 14 Sep 2017 08:49:04 GMT</pubDate></item><item><title><![CDATA[Reply to WLAN connectivity problem on Thu, 14 Sep 2017 09:33:46 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/98">@robert-hh</a> i have attached a file of the WLAN program, using the code i am trying to connect pycom board wifi with the office router. Everything has been developed under your guidance but still i am unable to connect it with the office wifi. Please go through the program and suggest me if i went somewhere wrong. Thank you.<img src="/assets/uploads/files/1505381526224-test3-resized.png" alt="0_1505381525191_test3.png" class="img-responsive img-markdown" /></p>
]]></description><link>https://forum.pycom.io/post/11098</link><guid isPermaLink="true">https://forum.pycom.io/post/11098</guid><dc:creator><![CDATA[SenaPR]]></dc:creator><pubDate>Thu, 14 Sep 2017 09:33:46 GMT</pubDate></item><item><title><![CDATA[Reply to WLAN connectivity problem on Thu, 14 Sep 2017 09:51:42 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/1782">@SenaPR</a> Hello SenaPR, What I'm missing is in the auth= parameter of the connect statement the WiFi password of your router. I guess you just dropped that for showing th example..<br />
And you cannot give your own device the IP address of the router, which is 192.168.1.1. So you must use something different, which is not in use at the moment, like 192.168.1.100. You have to ask the network administrator which addresses you may use.<br />
Again, I see a problem with indentation. The last idle() statement is not indented properly and should raise an sytax error.<br />
Are you sure that this <a href="http://boot.py" target="_blank" rel="noopener noreferrer nofollow">boot.py</a> is really loaded to your device? It has to, because is is executed before pymakr steps in. Otherwise, for testing you can give is a different name, like <a href="http://connect.py" target="_blank" rel="noopener noreferrer nofollow">connect.py</a>, and just put a statement like:<br />
<code>import connect</code><br />
into <a href="http://boot.py" target="_blank" rel="noopener noreferrer nofollow">boot.py</a>.<br />
I do not trust the atom plugin.<br />
Still: if your PC is connected to the office router, open the program cmd.exe, which gives you the good ol' MSDOS command prompt. At the prompt, enter the command:<br />
<code>ipconfig</code><br />
That will tell you the netmask, the IP address of the router, and the IP-adress of the DNS-Service.</p>
]]></description><link>https://forum.pycom.io/post/11100</link><guid isPermaLink="true">https://forum.pycom.io/post/11100</guid><dc:creator><![CDATA[robert-hh]]></dc:creator><pubDate>Thu, 14 Sep 2017 09:51:42 GMT</pubDate></item><item><title><![CDATA[Reply to WLAN connectivity problem on Wed, 13 Mar 2019 05:16:45 GMT]]></title><description><![CDATA[<p dir="auto">facing exactly the same issue.Even changed the router and firewall but didn't <a href="http://work.do" target="_blank" rel="noopener noreferrer nofollow">work.do</a> i have to install any kind of library?<br />
please revert asap as  i have to finish my project by the end of this week.</p>
]]></description><link>https://forum.pycom.io/post/26332</link><guid isPermaLink="true">https://forum.pycom.io/post/26332</guid><dc:creator><![CDATA[Nona]]></dc:creator><pubDate>Wed, 13 Mar 2019 05:16:45 GMT</pubDate></item><item><title><![CDATA[Reply to WLAN connectivity problem on Wed, 17 Apr 2019 13:07:55 GMT]]></title><description><![CDATA[<p dir="auto">DO NOT click on the link in the post by Vellin_Boute, it is most certainly an attempt to hack your router...</p>
]]></description><link>https://forum.pycom.io/post/27299</link><guid isPermaLink="true">https://forum.pycom.io/post/27299</guid><dc:creator><![CDATA[jcaron]]></dc:creator><pubDate>Wed, 17 Apr 2019 13:07:55 GMT</pubDate></item></channel></rss>