# Using the WiFi shield

**URL:** <https://forums.openmv.io/t/using-the-wifi-shield/126>\
**Category:** OpenMV Boards\
**Created:** [September 14, 2016, 8:40pm UTC](https://forums.openmv.io/t/using-the-wifi-shield/126 "2016-09-14T20:40:36Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![deshipu](https://yyz1.discourse-cdn.com/flex029/user_avatar/forums.openmv.io/deshipu/32/8_2.png) [@deshipu](https://forums.openmv.io/u/deshipu)\
**Post date:** [September 14, 2016, 8:40pm UTC](https://forums.openmv.io/t/using-the-wifi-shield/126/1 "2016-09-14T20:40:36Z")

</div>

Hi,

I finally found some time to try the WiFi shield. I’m using the new IDE, and I upgraded the firmware with what shipped with it.  
I have the shield connected, and I tried the “mjpeg\_streamer” example, changing the SSID and KEY variables to match my local network.

The terminal displayed this:

```python
MicroPython v1.8-4343-g33f9bbe on 2016-08-31; OPENMV2 with STM32F427
Type "help()" for more information.
>>> Trying to connect... (may take a while)...
[-64, 2, 'swamp', 'f8:f0:05:f6:83:a5', '192.168.0.32']
Waiting for connections..
Connected to 144.49.0.16:0

```

The last line appeared when I entered “[http://192.168.0.32:8080/](http://192.168.0.32:8080/)” in the address bar of my chromium web browser, and hit enter. I got an error in the browser:

```python
This site can’t be reached

http://192.168.0.32:8080/ is unreachable.
ERR_ADDRESS_UNREACHABLE

```

Curiously, the IP address of my desktop is “192.168.0.12”, and not “144.49.0.16”.

---

<div class="post-metadata">

**Author:** ![deshipu](https://yyz1.discourse-cdn.com/flex029/user_avatar/forums.openmv.io/deshipu/32/8_2.png) [@deshipu](https://forums.openmv.io/u/deshipu)\
**Post date:** [September 14, 2016, 8:42pm UTC](https://forums.openmv.io/t/using-the-wifi-shield/126/2 "2016-09-14T20:42:03Z")

</div>

I just tried again, and it worked this time. I wonder what happened.

---

<div class="post-metadata">

**Author:** ![iabdalkader](https://yyz1.discourse-cdn.com/flex029/user_avatar/forums.openmv.io/iabdalkader/32/1169_2.png) [@iabdalkader](https://forums.openmv.io/u/iabdalkader)\
**Post date:** [September 14, 2016, 9:11pm UTC](https://forums.openmv.io/t/using-the-wifi-shield/126/3 "2016-09-14T21:11:15Z")

</div>

> [@deshipu](#):
>
> I just tried again, and it worked this time. I wonder what happened.

I remember the default port in the example script was 8000, anyway, I made some major fixes to the WiFi driver and example script in v1.8 you should use that… BTW it works great with MJpegViewer on Android, the url should look like this: [http://ip](http://ip):port

---

<div class="post-metadata">

**Author:** ![deshipu](https://yyz1.discourse-cdn.com/flex029/user_avatar/forums.openmv.io/deshipu/32/8_2.png) [@deshipu](https://forums.openmv.io/u/deshipu)\
**Post date:** [September 15, 2016, 2:18am UTC](https://forums.openmv.io/t/using-the-wifi-shield/126/4 "2016-09-15T02:18:15Z")

</div>

I wonder how hard it would be to have a remote REPL, similar to telnet?

---

<div class="post-metadata">

**Author:** ![iabdalkader](https://yyz1.discourse-cdn.com/flex029/user_avatar/forums.openmv.io/iabdalkader/32/1169_2.png) [@iabdalkader](https://forums.openmv.io/u/iabdalkader)\
**Post date:** [September 15, 2016, 2:41am UTC](https://forums.openmv.io/t/using-the-wifi-shield/126/5 "2016-09-15T02:41:49Z")

</div>

> [@deshipu](#):
>
> I wonder how hard it would be to have a remote REPL, similar to telnet?

It’s doable, but it will need some work, what you can do now easily is send scripts and execute them with exec.
