<?xml-stylesheet type="text/xsl" href="https://community.element14.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>PYNQ+Ultra96-V2 and Wifi???</title><link>/challenges-projects/design-challenges/path2programmable/b/blog/posts/pynq-ultra96-v2-and-wifi</link><description>Has anyone here run into an issue with the PYNQ v2.5 image for the Ultra96-V2 and WIfi? The wlan0 does not show up with the ifconfig command. I did some digging and noticed that there is NO wpa_supplicant.conf file is missing.</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: PYNQ+Ultra96-V2 and Wifi???</title><link>https://community.element14.com/challenges-projects/design-challenges/path2programmable/b/blog/posts/pynq-ultra96-v2-and-wifi</link><pubDate>Wed, 25 Dec 2019 19:48:22 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:c76a1291-4f07-4c61-9f41-30168e9837d7</guid><dc:creator>cmelement14</dc:creator><slash:comments>2</slash:comments><description>&lt;p&gt;You don&amp;#39;t need to configure Wifi through shell. Instead, configure it through python environment. The following is what I did and it works perfect.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;blockquote class="jive-quote"&gt;&lt;blockquote class="jive-quote"&gt;&lt;p&gt;&lt;span&gt;xilinx@pynq:~$ &lt;em&gt;&lt;strong&gt;sudo python3&lt;/strong&gt;&lt;/em&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span&gt;[sudo] password for xilinx:&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span&gt;Python 3.6.5 (default, Apr&amp;nbsp; 1 2018, 05:46:30)&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span&gt;[GCC 7.3.0] on linux&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span&gt;Type &amp;quot;help&amp;quot;, &amp;quot;copyright&amp;quot;, &amp;quot;credits&amp;quot; or &amp;quot;license&amp;quot; for more information.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span&gt;&amp;gt;&amp;gt;&amp;gt; &lt;em&gt;&lt;strong&gt;from pynq.lib import Wifi&lt;/strong&gt;&lt;/em&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span&gt;&amp;gt;&amp;gt;&amp;gt; &lt;em&gt;&lt;strong&gt;port = Wifi()&lt;/strong&gt;&lt;/em&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span&gt;&amp;gt;&amp;gt;&amp;gt; &lt;em&gt;&lt;strong&gt;port.connect(&amp;quot;your_wifi_essid&amp;quot;,&amp;quot;your_wifi_password&amp;quot;)&lt;/strong&gt;&lt;/em&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span&gt;ifdown: interface wlan0 not configured&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span&gt;Internet Systems Consortium DHCP Client 4.3.5&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span&gt;Copyright 2004-2016 Internet Systems Consortium.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span&gt;All rights reserved.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span&gt;For info, please visit &lt;a class="" href="https://www.isc.org/software/dhcp/"&gt;https://www.isc.org/software/dhcp/&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span&gt;Listening on LPF/wlan0/f8:f0:05:c3:30:96&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span&gt;Sending on&amp;nbsp;&amp;nbsp; LPF/wlan0/f8:f0:05:c3:30:96&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span&gt;Sending on&amp;nbsp;&amp;nbsp; Socket/fallback&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span&gt;DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 3 (xid=0x7928c939)&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span&gt;DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 3 (xid=0x7928c939)&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span&gt;DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 5 (xid=0x7928c939)&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span&gt;DHCPREQUEST of 192.168.1.214 on wlan0 to 255.255.255.255 port 67 (xid=0x39c92879)&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span&gt;DHCPOFFER of 192.168.1.214 from 192.168.1.1&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span&gt;DHCPACK of 192.168.1.214 from 192.168.1.1&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span&gt;bound to &lt;span style="text-decoration:underline;"&gt;&lt;em&gt;192.168.1.214&lt;/em&gt;&lt;/span&gt; -- renewal in 21017 seconds.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span&gt;&amp;gt;&amp;gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;&lt;img src="https://community.element14.com/aggbug?PostID=8481&amp;AppID=242&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item></channel></rss>