Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
qt5 wpa_gui
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
josephg
l33t
l33t


Joined: 10 Jan 2016
Posts: 783
Location: usually offline

PostPosted: Sun Jan 17, 2016 10:50 pm    Post subject: qt5 wpa_gui Reply with quote

3.1 Using wpa_gui wiki says "build wpa_supplicant with the the qt4 or qt5 flag enabled"

so i use qt5, and was hoping to find wpa_gui somewhere on my filesystem. but nada :( what am i doing wrong here?

Code:
# USE=qt5 emerge wpa_supplicant
[ebuild   R   ] net-wireless/wpa_supplicant-2.4-r3

Would you like to merge these packages? [Yes/No]
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) net-wireless/wpa_supplicant-2.4-r3::gentoo
>>> Installing (1 of 1) net-wireless/wpa_supplicant-2.4-r3::gentoo

 * Messages for package net-wireless/wpa_supplicant-2.4-r3:

 * If this is a clean installation of wpa_supplicant, you
 * have to create a configuration file named
 * /etc/wpa_supplicant/wpa_supplicant.conf
 *
 * An example configuration file is available for reference in
 * /usr/share/doc/wpa_supplicant-2.4-r3/


Code:
$ qlist wpa_supplicant                                                                                                                                                     
/etc/wpa_supplicant/wpa_cli.sh                                                                                                                                                       
/etc/conf.d/wpa_supplicant                                                                                                                                                           
/etc/init.d/wpa_supplicant                                                                                                                                                           
/usr/lib/systemd/system/wpa_supplicant-wired@.service                                                                                                                                 
/usr/lib/systemd/system/wpa_supplicant-nl80211@.service                                                                                                                               
/usr/lib/systemd/system/wpa_supplicant@.service                                                                                                                                       
/usr/share/man/man8/wpa_supplicant.8.bz2
/usr/share/man/man8/wpa_priv.8.bz2
/usr/share/man/man8/wpa_passphrase.8.bz2
/usr/share/man/man8/wpa_gui.8.bz2
/usr/share/man/man8/wpa_cli.8.bz2
/usr/share/man/man8/wpa_background.8.bz2
/usr/share/man/man8/eapol_test.8.bz2
/usr/share/man/man5/wpa_supplicant.conf.5.bz2
/usr/share/doc/wpa_supplicant-2.4-r3/build-config.bz2
/usr/share/doc/wpa_supplicant-2.4-r3/wpa_supplicant.conf.bz2
/usr/share/doc/wpa_supplicant-2.4-r3/README-WPS.bz2
/usr/share/doc/wpa_supplicant-2.4-r3/README.bz2
/usr/share/doc/wpa_supplicant-2.4-r3/todo.txt.bz2
/usr/share/doc/wpa_supplicant-2.4-r3/eap_testing.txt.bz2
/usr/share/doc/wpa_supplicant-2.4-r3/ChangeLog.bz2
/usr/bin/wpa_cli
/usr/bin/wpa_passphrase
/usr/sbin/wpa_supplicant


Last edited by josephg on Wed Jan 20, 2016 1:17 pm; edited 4 times in total
Back to top
View user's profile Send private message
The Doctor
Moderator
Moderator


Joined: 27 Jul 2010
Posts: 2597

PostPosted: Sun Jan 17, 2016 11:02 pm    Post subject: Reply with quote

Three problems. USE=qt5 emerge wpa_supplicant must be USE="qt5" emerge wpa_supplicant with quotes.

Second you should use the --verbose (short -v) invocation with emerge to see what options are enabled. Generally, this option should always be used as it doesn't really have a drawback and the information it gives can be critical if anything is going wrong. You should always use --ask (short option -a) to prompt for a yes or no before proceeding as well since portage can occasionally do very stupid things if let it.

Third, you really should ether enable qt5 globally in make.conf or per package in /etc/portage/package.use so portage will remember this choice in future. You will have to create the package.use file and the syntacs is <package> <use1> <use2> -<don't use>, so your entry would look like
Code:
net-wireless/wpa_supplicant qt5

_________________
First things first, but not necessarily in that order.

Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box.
Back to top
View user's profile Send private message
josephg
l33t
l33t


Joined: 10 Jan 2016
Posts: 783
Location: usually offline

PostPosted: Sun Jan 17, 2016 11:25 pm    Post subject: Reply with quote

thank you! this is also helping me understand emerge/portage as well..

i keep forgetting those options. so i added them to my make.conf. that way it is always there. i took --verbose out, as i thought it contradicted with --quiet which i recently added. it seems not, and both are mutually exclusive + happily exist together. that's gone back in there now. this is what i have now..

Code:
$ cat /etc/portage/make.conf | grep EMERGE
EMERGE_DEFAULT_OPTS="--ask --tree --verbose --quiet --jobs=2"


i would like to create my package.use. that way i'll have a ready reckoner to remind me of what i used, having emerged many packages with USE= on the command line. is there any way i could extract all those USE= for each of my packages to build my package.use?

as you suggest, i would prefer a single file /etc/portage/package.use, with an entry in each line.

but my system uses that name for a directory. it contains two files - intel & iputils. intel contains one line. iputils contains 43 lines. neither of which i created. can i delete them?

i had qt5 globally in make.conf, but i couldn't get a wpa_gui. hence USE="qt5" emerge on commandline to make sure it was happening.
thanks to your --verbose prompting which led me to experiment. i find this very interesting..

Code:
# USE="qt5" emerge -pv wpa_supplicant
[ebuild   R   ] net-wireless/wpa_supplicant-2.4-r3  USE="hs2-0 readline ssl -ap -dbus -eap-sim -fasteap -gnutls -p2p (-ps3) -qt4* (-selinux) -smartcard -tdls -uncommon-eap-types -wimax -wps"


Code:
# USE="qt5 -qt4" emerge -pv wpa_supplicant
[ebuild   R   ] net-wireless/wpa_supplicant-2.4-r3  USE="hs2-0 readline ssl -ap -dbus -eap-sim -fasteap -gnutls -p2p (-ps3) -qt4* (-selinux) -smartcard -tdls -uncommon-eap-types -wimax -wps"


Code:
# USE="qt4" emerge -pv wpa_supplicant
[ebuild   R   ] net-wireless/wpa_supplicant-2.4-r3  USE="hs2-0 qt4 readline ssl -ap -dbus -eap-sim -fasteap -gnutls -p2p (-ps3) (-selinux) -smartcard -tdls -uncommon-eap-types -wimax -wps"


Code:
# USE="qt4 -qt5" emerge -pv wpa_supplicant
[ebuild   R   ] net-wireless/wpa_supplicant-2.4-r3  USE="hs2-0 qt4 readline ssl -ap -dbus -eap-sim -fasteap -gnutls -p2p (-ps3) (-selinux) -smartcard -tdls -uncommon-eap-types -wimax -wps"


Code:
# USE="" emerge -pv wpa_supplicant
[ebuild   R   ] net-wireless/wpa_supplicant-2.4-r3  USE="hs2-0 readline ssl -ap -dbus -eap-sim -fasteap -gnutls -p2p (-ps3) -qt4* (-selinux) -smartcard -tdls -uncommon-eap-types -wimax -wps"


seems qt5 is not available for wpa_supplicant.. something wrong with my setup??


Last edited by josephg on Tue Jan 26, 2016 6:57 pm; edited 2 times in total
Back to top
View user's profile Send private message
josephg
l33t
l33t


Joined: 10 Jan 2016
Posts: 783
Location: usually offline

PostPosted: Sun Jan 17, 2016 11:31 pm    Post subject: Reply with quote

i can't emerge wpa_gui in qt5, but qt4 works. i wanted qt5 as all lxqt etc seems to be qt5 now.
Back to top
View user's profile Send private message
The Doctor
Moderator
Moderator


Joined: 27 Jul 2010
Posts: 2597

PostPosted: Sun Jan 17, 2016 11:52 pm    Post subject: Reply with quote

If it is really that important to ditch qt4 you can use the unstable version by using /etc/portage/package.accept_keywords and adding wpa_supplicant. This may or may not cause problems as sometimes unstable packages require unstable dependencies.

Mixing branches is not typically recommended as it can lead to unexpected results.
_________________
First things first, but not necessarily in that order.

Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box.
Back to top
View user's profile Send private message
josephg
l33t
l33t


Joined: 10 Jan 2016
Posts: 783
Location: usually offline

PostPosted: Mon Jan 18, 2016 12:26 am    Post subject: Reply with quote

thanks for explaining.. i guess it is not worth the trouble.
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 2657

PostPosted: Wed Jan 20, 2016 12:43 pm    Post subject: Reply with quote

josephg wrote:
i can't emerge wpa_gui in qt5, but qt4 works. i wanted qt5 as all lxqt etc seems to be qt5 now.

My mistake. I added qt5 to that wiki article ignoring that version 2.5 of wpa_supplicant is not yet marked stable.
Sorry for causing confusion.
Back to top
View user's profile Send private message
josephg
l33t
l33t


Joined: 10 Jan 2016
Posts: 783
Location: usually offline

PostPosted: Wed Jan 20, 2016 1:22 pm    Post subject: Reply with quote

charles17, no worries. this has helped me understand portage a bit better.

if you are the wiki man, may i suggest adding a few more bits where you mention wpa_gui.. i think we could also mention editing wpa_supplicant file, with update_config=1. unless the requirement is only to allow users to connect/disconnect from preferred networks.
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 2657

PostPosted: Wed Jan 20, 2016 1:42 pm    Post subject: Reply with quote

josephg wrote:
if you are the wiki man, may i suggest adding a few more bits where you mention wpa_gui.. i think we could also mention editing wpa_supplicant file, with update_config=1. unless the requirement is only to allow users to connect/disconnect from preferred networks.

Why not start yourself editing the wiki?
Back to top
View user's profile Send private message
josephg
l33t
l33t


Joined: 10 Jan 2016
Posts: 783
Location: usually offline

PostPosted: Fri Jan 22, 2016 3:10 pm    Post subject: Reply with quote

charles17 wrote:
Why not start yourself editing the wiki?

started :)
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 2657

PostPosted: Fri Jan 22, 2016 3:47 pm    Post subject: Reply with quote

josephg wrote:
started :)

And for good ideas regarding the handbook, you might file them as bugs.
Back to top
View user's profile Send private message
josephg
l33t
l33t


Joined: 10 Jan 2016
Posts: 783
Location: usually offline

PostPosted: Sat Jan 23, 2016 1:02 am    Post subject: Reply with quote

i wonder why gentoo can't share logins across all of gentoo.org. i have separate logins for forum, wiki, and now bugzilla wants me to create another login. surely this could be made more efficient, and also help users having a single identity in gentoo.

i also feel a bit awkward filing bug reports against the handbook. i can see the point. but it feels like i'm telling them something is wrong.
Back to top
View user's profile Send private message
desultory
Administrator
Administrator


Joined: 04 Nov 2005
Posts: 9266

PostPosted: Tue Jan 26, 2016 4:51 am    Post subject: Reply with quote

josephg wrote:
i wonder why gentoo can't share logins across all of gentoo.org. i have separate logins for forum, wiki, and now bugzilla wants me to create another login. surely this could be made more efficient, and also help users having a single identity in gentoo.
Mostly because doing so would require hosting something akin to OpenID, and that appears to not be likely any time soon.

josephg wrote:
i also feel a bit awkward filing bug reports against the handbook. i can see the point. but it feels like i'm telling them something is wrong.
That is rather the point of filing a bug: to tell people that something is wrong, or at least appears to be.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum