ghostbsd / networkmgr

NetworkMgr is a Python GTK3 network manager for FreeBSD, GhostBSD, TrueOS and DragonFlyBSD
BSD 3-Clause "New" or "Revised" License
94 stars 30 forks source link

FreeBSD icon not show and run from terminal error #2

Closed mysoundmagic closed 7 years ago

mysoundmagic commented 7 years ago

hello, i was Builds and installs successfully but there is no icon in xfce4 tray and i was try run from terminal $ networkmgr then error :

doas: syntax error at line 8

doas.conf followed followed same as readme

permit :wheel
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
permit nopass keepenv root
ericbsd commented 7 years ago

That mean the line 8 of doas.conf the syntax is invalid. Make sure that it look the same as permit nopass keepenv root and if the syntax is right and does not work remove line 8. It is not needed to make networkmgr work.

mysoundmagic commented 7 years ago

I'm sure doas.conf is as seen my comments above as

permit nopass keepenv root

ok I'll try to remove, try to run again.

mysoundmagic commented 7 years ago

still error, after I removed line "permit nopass keepenv root" and now error : doas: syntax error at line 7

i use freebsd 11 with xfce4

ericbsd commented 7 years ago

Can you at leas run doas? Try something like. doas vim /usr/local/etc/doas.conf If doas display the same error.

mysoundmagic commented 7 years ago

no, i can't run doas. always error doas:syntax error at line 8

ericbsd commented 7 years ago

I have been trying to figure out what went wrong with your doas.conf and this is really odd, here is a little doc that could help http://www.tedunangst.com/flak/post/doas-mastery.

I am also working on a port for GhsotBSD that I will commit to FreeBSD ports.

mysoundmagic commented 7 years ago

thank you for your answer. I've to copy doas.conf from my openBSD 6.0 to my freeBSD.

permit keepenv { ENV PS1 SSH_AUTH_SOCK } :wheel permit :wheel permit nopass user as root cmd netcardmgr 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 permit nopass keepenv root

networkmgr show in my panel screenshot at 2017-01-05 08 08 28

and networkmgr display the SSID of the access point, but when I click the SSID does not show message box to enter a password(nothing happened). whether it is like that?

ericbsd commented 7 years ago

Yea there was problem with WiFi detection in the code, the code was not updated to use FreeBSD 11.0 properly, I did all the change. Thanks and if there is more problem coming up let me know.

mysoundmagic commented 7 years ago

ok, thank you very much,I'll try again later and it might be easier your network manager commit to freebsd ports. đź‘Ť

ericbsd commented 7 years ago

Yea I am working on it.

On Sat, Jan 7, 2017 at 2:16 PM, Sound Magic notifications@github.com wrote:

ok, thank you very much,I'll try again later and it might be easier your network manager commit to freebsd ports. đź‘Ť

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/GhostBSD/networkmgr/issues/2#issuecomment-271100205, or mute the thread https://github.com/notifications/unsubscribe-auth/AEDY-ANLhqaheLgJAkBnn8wSawLi9rUgks5rP9aCgaJpZM4LZdMG .

--

*Eric Turgeon*GhostBSD project leader www.ghostbsd.org

Cité de la grâce Member www.citedelagrace.com