After installing net-mgmt/networkmgr on FreeBSD, I am given the following pkg-message post-install:
Always:
======================================================================
Any bug reports or request of new feature should be addressed at:
https://github.com/GhostBSD/networkmgr/issues
Make sure that the /usr/local/etc/networkmgr/doas.conf have someting simular like this:
permit nopass keepenv :wheel cmd netcardmgr
permit nopass keepenv :wheel cmd detect-nics
permit nopass keepenv :wheel cmd detect-wifi
permit nopass keepenv :wheel cmd ifconfig
permit nopass keepenv :wheel cmd service
permit nopass keepenv :wheel cmd wpa_supplicant
When rebooting it should automaticaly start is the desktop support xdg and make
sure that the user using NetworkMgr is in the wheel group.
======================================================================
Following the above instructions, rebooting, then launching networkmgr from a normal user within X yields:
$ networkmgr
doas: Operation not permitted
doas: Operation not permitted
doas: Operation not permitted
doas: Operation not permitted
doas: Operation not permitted
doas: Operation not permitted
doas: Operation not permitted
doas: Operation not permitted
doas: Operation not permitted
doas: Operation not permitted
Moving the /usr/local/etc/networkmgr/doas.conf to /usr/local/etc/doas.conf and relaunching networkmgr appears to work as intended:
$ networkmgr
Your wired network card is already configured.
Stopping wpa_supplicant.
Waiting for PIDS: 317.
Stopping dhclient.
Waiting for PIDS: 391.
Stopping Network: lo0 re0 pflog0.
<additional output removed>
Based on these findings, it appears that the pkg-message should replace /usr/local/etc/networkmgr/doas.conf to /usr/local/etc/doas.conf instead.
Hello,
After installing net-mgmt/networkmgr on FreeBSD, I am given the following pkg-message post-install:
Following the above instructions, rebooting, then launching networkmgr from a normal user within X yields:
Moving the /usr/local/etc/networkmgr/doas.conf to /usr/local/etc/doas.conf and relaunching networkmgr appears to work as intended:
Based on these findings, it appears that the pkg-message should replace
/usr/local/etc/networkmgr/doas.conf
to/usr/local/etc/doas.conf
instead.Thanks!