Hi Llew,

I am using connman to connect. It remembers the last network it was 
connected to and you can set it to auto connect.

A simple connection example:
https://www.ev3dev.org/docs/tutorials/setting-up-wifi-using-the-command-line/

You can also configure it to have a fixed ip and other configurations, eg:


# connmanctl config wifi_xxxxx_xxxxx_managed_psk --ipv4 manual 192.168.2.x 
255.255.255.0 192.168.2.1

# connmanctl config wifi_xxxxx_xxxxx_managed_psk --nameservers 192.168.2.1

# connmanctl config wifi_xxxxx_xxxxx_managed_psk --ipv6 off


Or even set it to connect to a hidden SSID by going directly into the 
configurations file.  /var/lib/connman/ 


cd /var/lib/connman/ 

sudo su

cd wifi_xxxxx_xxxxx_managed_psk#

And add Hidden=true to the settings file using your favorite text editor.

Hope that helps.

Best Hans.


Op zondag 15 maart 2020 15:37:40 UTC+1 schreef [email protected]:
>
> I've been trying for several days and I can't find any resources that 
> definitively tell you how to configure wifi that persists after a reboot. 
> What are the proper configuration files are and what needs to be in those 
> files?
>
> AdaFruit says to change the /etc/network/interfaces file. That doesn't 
> work. https://learn.adafruit.com/setting-up-wifi-with-beaglebone-black 
>
> There are several references to "supplicant" but that doesn't seem to be 
> current. Or is it?
>
> This tutorial is a tease but it doesn't work either. It does mention that 
> wifi won't connect if Ethernet is connected at boot, but I'm not sure if 
> it's for this specific adapter or for BeagleBone Blacks in general. 
> https://docs.google.com/document/d/1-CIGQYdk8ZhU3D3UCNn70jc7C9HdXvEZAsiNW71fGIE/edit#heading=h.ftleo32gu3jr
>  
>
> I've seen dozens of pages tell you how to use connmanctl to manually get a 
> connection to work. That works flawlessly. 
>
> But I have found nothing that tells you how to configure connman so that 
> wifi is connected at boot time.
>
> I am using the Debian 9.9 2019-08-03 4GB SD IoT image. Unfortunately, 
> repeated attempts to update the board with the LXQT image failed.
>
> Can someone please help?
>
> Thanks,
>
> Llew Roberts
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/4f44e0a1-5c3a-42e3-9c10-1fc5c4b956c5%40googlegroups.com.

Reply via email to