Skip to content

Best practices for wifi and for elevated permission scripts #36

Answered by koehlma
Efrank700 asked this question in Q&A
Discussion options

You must be logged in to vote

Install scripts should have full root permissions, but nmcli may need a running Network Manager instance, which does not exist while building the image. You also would not want it to, as the network devices of the build environment are different and should not be managed by the image being built.

The best solution to setup Wi-Fi may depend on your exact requirements. If you want/need to use Network Manager, you can have a look at the following recipe which is part of the thin-edge.io integration: https://github.com/thin-edge/tedge-rugpi-core/tree/v0.7/recipes/set-wifi. For our own deployments, we typically use Systemd Networkd together with WPA Supplicant, which can both be configured via…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Efrank700
Comment options

Answer selected by Efrank700
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants