View previous topic :: View next topic |
Author |
Message |
charles17 Advocate
Joined: 02 Mar 2008 Posts: 3685
|
Posted: Mon Sep 15, 2014 10:14 am Post subject: net-misc/DHCPCD-UI |
|
|
Could we plase get an ebuild of the development version. I don't want DBus, but once I have a chance to test dhcpcd-ui without DBus I would create the requested wiki page. |
|
Back to top |
|
|
UberLord Retired Dev
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
|
Back to top |
|
|
charles17 Advocate
Joined: 02 Mar 2008 Posts: 3685
|
Posted: Mon Sep 15, 2014 10:42 am Post subject: |
|
|
Done. |
|
Back to top |
|
|
UberLord Retired Dev
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
|
Back to top |
|
|
charles17 Advocate
Joined: 02 Mar 2008 Posts: 3685
|
Posted: Tue Nov 11, 2014 9:17 am Post subject: |
|
|
As version net-misc/dhcpcd-ui-0.7.4 is now in portage. Some questions about it.
- As it seems not possible to compile with the icons USE flag disabled, why does it have this USE flag at all?
- When compiled with qt4 then Preferences in the tray menu is greyed out and unfunctional as shown here http://i.imgur.com/BeVcCyZ.png
Am I missing something in qt4 setup? How to make it work? With gtk it's normal.
Last edited by charles17 on Tue Nov 11, 2014 9:23 am; edited 2 times in total |
|
Back to top |
|
|
UberLord Retired Dev
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
Posted: Tue Nov 11, 2014 9:21 am Post subject: |
|
|
charles17 wrote: | As version net-misc/dhcpcd-ui-0.7.4 is now in portage. Some questions about it.
- As it seems not possible to compile with the icons USE flag disabled, why does it have this USE flag at all?
|
I queried that. A gentoo dev wanted that.
Icons are only needed for GTK and QT builds - when building dhcpcd-online tool no icons are needed.
Quote: |
When compiled with qt4 then Preferences in the tray menu is greyed out and unfunctional as shown here http://i.imgur.com/BeVcCyZ.png
Am I missing something in qt4 setup? How to make it work? With gtk it's normal. |
Ah, that's odd.
If it's greyed out then it means that it cannot communicate either with dhcpcd privileged socket.
So in theory it should be greyed out in the GTK version as well (the code path they use to work it out should be the same) _________________ Use dhcpcd for all your automated network configuration needs
Use dhcpcd-ui (GTK+/Qt) as your System Tray Network tool |
|
Back to top |
|
|
charles17 Advocate
Joined: 02 Mar 2008 Posts: 3685
|
Posted: Tue Nov 11, 2014 9:32 am Post subject: |
|
|
UberLord wrote: | Icons are only needed for GTK and QT builds - when building dhcpcd-online tool no icons are needed. | I've tried compiling without gtk and qt4 but no luck http://i.imgur.com/RsvrWpJ.png
Should it be possible at all? |
|
Back to top |
|
|
UberLord Retired Dev
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
|
Back to top |
|
|
charles17 Advocate
Joined: 02 Mar 2008 Posts: 3685
|
|
Back to top |
|
|
UberLord Retired Dev
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
|
Back to top |
|
|
charles17 Advocate
Joined: 02 Mar 2008 Posts: 3685
|
Posted: Thu Nov 13, 2014 10:15 am Post subject: |
|
|
UberLord wrote: | It's telling is that Gentoo QA is out of date with regards to Cinnamon desktop entries. | Ok, that's another story.
I still have the authorization problem https://529020.bugs.gentoo.org/attachment.cgi?id=389164 although my user is in wheel and the socket has rw for that group Code: | $ groups
wheel uucp audio cdrom dialout video games cdrw usb users portage scanner charles17 plugdev |
Code: | $ ls -al /run/dhcpcd.sock
srw-rw---- 1 root wheel 0 Nov 13 08:33 /run/dhcpcd.sock |
Authorization for wpa_supplicant and dhcpcd config files are the same. But wpa_gui can write to its file and dhcpcd-gtk still shows "Permission denied" https://529020.bugs.gentoo.org/attachment.cgi?id=389164 . Code: | $ ls -al /etc/wpa_supplicant/wpa_supplicant.conf /etc/dhcpcd.conf
-rw-r--r-- 1 root root 1246 Nov 13 08:29 /etc/dhcpcd.conf
-rw-r--r-- 1 root root 791 Nov 11 13:45 /etc/wpa_supplicant/wpa_supplicant.conf |
How to get rid of "Permission denied"? |
|
Back to top |
|
|
UberLord Retired Dev
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
|
Back to top |
|
|
charles17 Advocate
Joined: 02 Mar 2008 Posts: 3685
|
|
Back to top |
|
|
RazielFMX l33t
Joined: 23 Apr 2005 Posts: 835 Location: NY, USA
|
Posted: Thu Nov 13, 2014 1:59 pm Post subject: |
|
|
Something is odd here...
Code: |
# emerge -pv net-misc/dhcpcd-ui
These are the packages that would be merged, in order:
Calculating dependencies -
!!! Problem resolving dependencies for net-misc/dhcpcd-ui
... done!
!!! The ebuild selected to satisfy "net-misc/dhcpcd-ui" has unmet requirements.
- net-misc/dhcpcd-ui-0.7.4::gentoo USE="gtk icons libnotify qt4 -debug -gtk3" ABI_X86="64"
The following REQUIRED_USE flag constraints are unsatisfied:
at-most-one-of ( gtk gtk3 qt4 )
The above constraints are a subset of the following complete expression:
at-most-one-of ( gtk gtk3 qt4 ) gtk3? ( !gtk ) gtk? ( !gtk3 ) icons? ( any-of ( gtk gtk3 qt4 ) )
|
The USE flags do not match reality:
Code: | # grep dhcpcd /etc/portage/package.use
net-misc/dhcpcd -gtk -gtk3 |
Yet it still insists on bringing in gtk alongside qt4. _________________ I am not anti-systemd; I am pro-choice. If being the latter makes you feel that I am the former, then so be it. |
|
Back to top |
|
|
UberLord Retired Dev
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
|
Back to top |
|
|
charles17 Advocate
Joined: 02 Mar 2008 Posts: 3685
|
Posted: Thu Nov 13, 2014 6:19 pm Post subject: |
|
|
So presently we can use it as a nice additional monitor showing which interface is connected and the current IP address. https://wiki.gentoo.org/images/f/f7/Dhcpcd-ui_status.png
It can write network sections to wpa_supplicant.conf and details for static IP address to dhcpcd.conf.
Caution is still needed to not overwrite existing items. Before new entries are written to wpa_supplicant.conf or to dhcpcd.conf or existing entries are changed we should have the possibility to abort or to save.
I really like this direct access more than first opening wpa_gui, then clicking "Manage Networks". |
|
Back to top |
|
|
UberLord Retired Dev
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
|
Back to top |
|
|
UberLord Retired Dev
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
|
Back to top |
|
|
charles17 Advocate
Joined: 02 Mar 2008 Posts: 3685
|
Posted: Mon Nov 17, 2014 11:31 am Post subject: |
|
|
Ok, I'll try extending the todo list.
Another question: Why in dhcpcd-gtk is the "IP Address:" line greyed out? http://i.imgur.com/jJgdvF0.png
In dhcpcd-qt it's functional. |
|
Back to top |
|
|
UberLord Retired Dev
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
|
Back to top |
|
|
charles17 Advocate
Joined: 02 Mar 2008 Posts: 3685
|
Posted: Mon Nov 17, 2014 11:47 am Post subject: |
|
|
Gentoo bug or upstream? |
|
Back to top |
|
|
UberLord Retired Dev
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
|
Back to top |
|
|
charles17 Advocate
Joined: 02 Mar 2008 Posts: 3685
|
|
Back to top |
|
|
UberLord Retired Dev
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
|
Back to top |
|
|
UberLord Retired Dev
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
|
Back to top |
|
|
|