From: Mick <michaelkintzios@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Wireless Configuration...
Date: Tue, 6 Sep 2011 22:32:04 +0100 [thread overview]
Message-ID: <201109062232.30109.michaelkintzios@gmail.com> (raw)
In-Reply-To: <1315319073.62993.YahooMailNeo@web39313.mail.mud.yahoo.com>
[-- Attachment #1: Type: Text/Plain, Size: 4629 bytes --]
On Tuesday 06 Sep 2011 15:24:33 BRM wrote:
> ----- Original Message -----
>
> > From: Mick <michaelkintzios@gmail.com>
> >
> > On Saturday 03 Sep 2011 15:14:27 BRM wrote:
> >> ----- Original Message -----
> > I think the above should be either:
> >
> > ctrl_interface=/var/run/wpa_supplicant
> > ctrl_interface_group=wheel
> >
> > or,
> >
> > DIR=/var/run/wpa_supplicant GROUP=wheel
>
> Ok. Corrected that to the first one.
Fine. I note that you said the wpa_gui won't scan further down this thread,
just in case ... is your user part of the wheel group?
> >> #ctrl_interface_group=wheel
> >> ap_scan=1
> >> fast_reauth=1
> >> # This blank configuration will automatically use DHCP for any net.*
> >> # scripts in /etc/init.d. To create a more complete configuration,
> >> # please review /etc/conf.d/net.example and save your configuration
> >> # in /etc/conf.d/net (this file :]!).
> >>
> >> # Standard Network:
> >> config_eth0=( "dhcp" )
> >
> > The old syntax you use here, which was ( "value" ) is now deprecated.
> > You
> > should replace all such entries by removing the brackets, e.g. the above
> > becomes:
> >
> > config_eth0="dhcp"
> >
> > This is explained in: http://www.gentoo.org/doc/en/openrc-migration.xml
>
> Corrected that one too. eth0 was working fine though.
Yes, because eth0 will default to dhcp, after the old syntax you were using
errors out or is ignored.
> > modules="wpa_supplicant"
> > wpa_supplicant_wlan0="-Dwext"
> > config_wlan0="dhcp"
>
> I re-enabled those and added the last line.
OK, wpa_supplicant should now work as intended.
> > You need to add or uncomment the following to your wpa_supplicant.conf:
> > =====================
> > network={
> > key_mgmt=NONE
> > priority=0
> > }
> > =====================
> > The above will let latch on the first available AP.
>
> I wasn't sure that that one was for. I've re-enabled it and the original
> one for my network.
OK, this is useful for open AP which accept connections. If they need
encryption you can add this using the wpa_gui.
> > Also, you can then add any AP of preference with passphrases and what
> > not: =====================
> > # Home Network
> > network={
> > ssid="MY-NETWORK"
> > # key_mgmt=IEEE8021X <--You don't need these entries here, unless
> > # eap=TLS <--you run SSL certs for authentication
> > wep_key0=DEADBEAF0123456789ABCDEF000
> > priority=1
> > auth_alg=OPEN
> > }
> > =====================
>
> Interestingly, wpa_supplicant complains if those two lines are not there
> even though I am not doing SSL auth.
Hmm ... what is the error/warning that comes up?
Either way, can you please add:
eapol_version=1
> > and something like this for WPA2:
> > =====================
> > network={
> > ssid="what-ever"
> > proto=RSN
> > key_mgmt=WPA-PSK
> > pairwise=CCMP
> > auth_alg=OPEN
> > group=CCMP
> > psk"pass_123456789"
> > priority=5
> > =====================
>
> I want to try to get away from adding things directly to the
> wpa_supplicant.conf file as I would rather that the connection information
> be managed by a GUI tool.
You should be able to add such details in the GUI of choice. Adding them in
wpa_supplicant.conf means that they should appear already filled in the GUI.
> I'd rather use the NetworkManager in KDE than wpa_gui.
>
> That said, NetworkManager in KDE seems to be using wicd for some reason.
You need someone else to chime in here, because I use neither of these. As
far as I read in this M/L wicd is more or less fool-proof.
> I also have KDE running under Kubuntu on my work computer (4.6.2) and the
> Network Manager is completely different (don't know why) - it's not wicd
> as far as I can tell.
>
> However, They are still not working. wpa_gui refuses to scan and find
> networks; while wicd is not finding networks either - but there's so
> little information in the GUI that it is practically useless to say why.
> Perhaps I've got something at the KDE layer screwed up?
I don't know if one is causing a clash with the other, so don't try to use
both at the same time. If wicd is started automatically when you boot/login,
then just use that.
When wpa_gui refuses to scan what message do you get? What do the logs say.
Also, if wpa_gui or wicd fail to scan for APs what do you get from:
# iwlist wlan0 scanning
--
Regards,
Mick
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
next prev parent reply other threads:[~2011-09-06 21:33 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-02 3:52 [gentoo-user] Wireless Configuration BRM
2011-09-02 13:30 ` Canek Peláez Valdés
2011-09-02 13:38 ` BRM
2011-09-02 15:29 ` Mick
2011-09-03 14:14 ` BRM
2011-09-03 15:12 ` Mick
2011-09-06 14:24 ` BRM
2011-09-06 21:32 ` Mick [this message]
2011-09-07 13:54 ` BRM
2011-09-07 14:06 ` Michael Mol
2011-09-09 11:53 ` [gentoo-user] " Moritz Schlarb
2011-09-09 15:49 ` Albert W. Hopkins
2011-09-08 3:52 ` [gentoo-user] " BRM
2011-09-08 20:04 ` Mick
2011-09-08 21:13 ` BRM
2011-09-08 22:40 ` Mick
2011-09-09 13:31 ` BRM
2011-09-10 8:13 ` Mick
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201109062232.30109.michaelkintzios@gmail.com \
--to=michaelkintzios@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox