# How to manage WIFI settings via dashboard

**URL:** <https://discourse.nodered.org/t/how-to-manage-wifi-settings-via-dashboard/5593>\
**Category:** Dashboard\
**Created:** [8 December 2018 20:28 UTC](https://discourse.nodered.org/t/how-to-manage-wifi-settings-via-dashboard/5593 "2018-12-08T20:28:14Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![KirchnerAlex](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/kirchneralex/32/3877_2.png) [@KirchnerAlex](https://discourse.nodered.org/u/KirchnerAlex)\
**Post date:** [8 December 2018 20:28 UTC](https://discourse.nodered.org/t/how-to-manage-wifi-settings-via-dashboard/5593/1 "2018-12-08T20:28:14Z")

</div>

Hi,  
i use a NanoPi with ubuntu, snapd, node-red and want to manage WIFI settings via forms and exec nodes

My image comes with "nmcli" (Network manager cli) with works perfect via putty (command line)  
[http://wiki.friendlyarm.com/wiki/index.php/NanoPi\_NEO2#WiFi](http://wiki.friendlyarm.com/wiki/index.php/NanoPi_NEO2#WiFi)  
CLI commands works fine:

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/5/53eb00476bec5d6a75789c2b2364d0f27ac5fd79.png)

**Via exec-nodes it is NOT possible to use the commands.**

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/9/90e02fea814bebe02241edb7e6e1b03df6c5c086.png)

FYI:  
Other cli-commands work fine (example "timedatectl")

What can i try? Can anybody gives me a tip?

Thank you  
Alexander

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [8 December 2018 20:49 UTC](https://discourse.nodered.org/t/how-to-manage-wifi-settings-via-dashboard/5593/2 "2018-12-08T20:49:54Z")

</div>

Try giving it the full path to the nmcli command. `which nmcli` will tell you where it is.

---

<div class="post-metadata">

**Author:** ![KirchnerAlex](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/kirchneralex/32/3877_2.png) [@KirchnerAlex](https://discourse.nodered.org/u/KirchnerAlex)\
**Post date:** [8 December 2018 21:02 UTC](https://discourse.nodered.org/t/how-to-manage-wifi-settings-via-dashboard/5593/3 "2018-12-08T21:02:21Z")

</div>

Thank you Colin, but nothing changes:  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/d/d98098ba0614bfe9511b311916a64a638445f3a7.png)

---

<div class="post-metadata">

**Author:** ![KirchnerAlex](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/kirchneralex/32/3877_2.png) [@KirchnerAlex](https://discourse.nodered.org/u/KirchnerAlex)\
**Post date:** [8 December 2018 22:05 UTC](https://discourse.nodered.org/t/how-to-manage-wifi-settings-via-dashboard/5593/4 "2018-12-08T22:05:04Z")

</div>

ifconfig -a works fine!  
iwconfig NOT

???

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [8 December 2018 22:45 UTC](https://discourse.nodered.org/t/how-to-manage-wifi-settings-via-dashboard/5593/5 "2018-12-08T22:45:57Z")

</div>

You are running in a snap which is a virtual environment. So nmcli is not included inside the snap.

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [8 December 2018 23:28 UTC](https://discourse.nodered.org/t/how-to-manage-wifi-settings-via-dashboard/5593/6 "2018-12-08T23:28:29Z")

</div>

By default we use strict confinement. You can relax that by using --classic mode..

> **[Demystifying Snap Confinement | Snapcraft](https://snapcraft.io/blog/demystifying-snap-confinement)**
>
> Snaps introduce some new concepts to the Linux ecosystem which developers can take advantage of, and snap users need to appreciate. When installing a snap, it’s important to understand what parts of the system the application wants access to. It’s up...

---

<div class="post-metadata">

**Author:** ![KirchnerAlex](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/kirchneralex/32/3877_2.png) [@KirchnerAlex](https://discourse.nodered.org/u/KirchnerAlex)\
**Post date:** [8 December 2018 23:54 UTC](https://discourse.nodered.org/t/how-to-manage-wifi-settings-via-dashboard/5593/8 "2018-12-08T23:54:31Z")

</div>

Thx, good tip, I do more research.

---

<div class="post-metadata">

**Author:** ![KirchnerAlex](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/kirchneralex/32/3877_2.png) [@KirchnerAlex](https://discourse.nodered.org/u/KirchnerAlex)\
**Post date:** [9 December 2018 20:12 UTC](https://discourse.nodered.org/t/how-to-manage-wifi-settings-via-dashboard/5593/9 "2018-12-09T20:12:10Z")

</div>

So, i switched back to an "nativ" installation of node-red without snap.  
In this case i can use NMCLI directly from Node-RED

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/1/189a1ad3ae5606c598e7e80bbbef8e99721a2e8f.png)

I want to learn more about snapd, but at the moment i have not the time 😓

I switched to snap because i had problems with connecting to ttyUSB0, But for that i also have found a solution. See this post:

> [@Node-red-node-serialport 0.6.8 not working (0.4.2 do)](https://discourse.nodered.org/t/node-red-node-serialport-0-6-8-not-working-0-4-2-do/5007):
>
> Sorry about that generally topic, but i do not really know how to ask. I have a heatpump system with an USB-Interface which sends and receives simple Strings like "13 1234" Want ro read/write this strings. With my Device A it works Device B not works (no data in or out), but i have no idea why. When i Install the older version of the node-red-node-serialport node it works fine. But what can i try, that i can use newer version? THANK YOU Device A: Hardware NanoPi NEO2 Ubuntu core 16.04 L…
