<div dir="ltr">Hi all,<div><br></div><div>I mentioned in our last meeting that on new versions of the RPI, putting your WiFi networks into '<span style="color:rgb(0,0,0);font-family:monospace">etc/wpa_supplicant/wpa_supplicant.conf'</span><span style="font-family:arial,sans-serif"> no longer works.</span></div><div><span style="font-family:arial,sans-serif">I've written this script that may be useful. Just make sure </span>nmcli is installed on your RPI.</div><div><span style="font-family:arial,sans-serif"><br></span></div><div>#!/usr/bin/bash<br>#<br># Add WiFi networks<br>#<br># The commands below will give you a list of all currently active networks.<br># You'll need to do a CTRL-C to get out of it. I couldn't put it in this script.</div><div>#<br># $ sudo nmcli dev wifi rescan</div><div># $ nmcli dev wifi list<br>#<br># To remove a network:<br># $ sudo nmcli connection delete "<SSID>"<br>#<br>MSG="Below are the currently configured networks.\n"<br><br>if [ "$1" = "" ] || [ "$2" = "" ]; then<br> printf "SSID Name and password are needed to configure a network.\n"<br> printf "$MSG"<br> nmcli connection show<br> exit 1<br>fi<br><br>sudo nmcli connection add type wifi con-name "$1" ssid "$1" \<br> wifi-sec.key-mgmt wpa-psk wifi-sec.psk "$2" connection.autoconnect yes<br><br>printf "$MSG"<br>nmcli connection show<br>exit 0<br><br>If you don't pass in the SSID and password, the script will tell you what networks are currently configured.</div><div>There is also, in the comments, a command to delete a network you no longer want.</div><div><br></div><div>Let me know if you have any issues.</div><div><br></div><div>~Carl</div></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Wed, May 6, 2026 at 9:00\u202fPM The MacDougals via TriEmbed <<a href="mailto:triembed@triembed.org">triembed@triembed.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">We will have our normal monthly meeting on Monday 5/11/26 at 7:00 pm<br>
<br>
Agenda:<br>
- Welcome<br>
- Announcements<br>
- P.O.T.M. (Problem Of The Month)<br>
- Show and Tell and discussion<br>
<br>
The plan for this month is to meet in person at:<br>
The Forge Initiative<br>
1012 Investment Blvd, Suite 101<br>
Apex, NC 27502<br>
As well as being at the Forge the meeting will also be online at the usual<br>
Jitsi URL: <br>
<a href="https://meet.jit.si/TriEmbed" rel="noreferrer" target="_blank">https://meet.jit.si/TriEmbed</a> <br>
The meeting will be recorded, A/V gods willing!<br>
<br>
---> Paul<br>
<br>
<br>
_______________________________________________<br>
Triangle, NC Embedded Interest Group mailing list<br>
<br>
To post message: <a href="mailto:TriEmbed@triembed.org" target="_blank">TriEmbed@triembed.org</a><br>
List info: <a href="http://mail.triembed.org/mailman/listinfo/triembed_triembed.org" rel="noreferrer" target="_blank">http://mail.triembed.org/mailman/listinfo/triembed_triembed.org</a><br>
TriEmbed web site: <a href="https://TriEmbed.org" rel="noreferrer" target="_blank">https://TriEmbed.org</a><br>
To unsubscribe, click link and send a blank message: mailto:<a href="mailto:unsubscribe-TriEmbed@bitser.net" target="_blank">unsubscribe-TriEmbed@bitser.net</a>?subject=unsubscribe<br>
Searchable email archive available at <a href="https://www.mail-archive.com/triembed@triembed.org/" rel="noreferrer" target="_blank">https://www.mail-archive.com/triembed@triembed.org/</a><br>
<br>
</blockquote></div><div><br clear="all"></div><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr">--------------------------------------------------------------<br>Carl J. Nobile (Software Engineer/API Design)<br><a href="mailto:carl.nobile@gmail.com" target="_blank">carl.nobile@gmail.com</a><br>--------------------------------------------------------------</div></div>