Wireless encryption with Slackware 12.2 (WPA, WPA2): Best practice?
I just managed to connect my old laptop to my wireless DSL box using WPA encryption. However, it wasn't quite as smooth as I hoped for, and I wonder, if the solution I found is really recommended. The reason I am unsure here is that all the more up-to-date documentation I found describes an even simpler method, that didn't, however, work for me. But maybe I missed something.
So here is what I have.
And in /etc/rc.inet1.conf I added the following lines.
Anyhow, although the command answers with messages such as "Operation not supported" an encrypted connection is established.
The connection is not established automatically on boot, other than with the 12.1 system running previously on this computer. Finally, "the book" doesn't mention that /etc/rc.d/rc.inet1.conf needs to be edited, at all:
Slackbook Chapter NETWORK CONFIGURATION WIRELESS
And in fact, this all seems a bit redundant to me. Why do I have to specify the encryption key in one file and the passphrase in another one to make all of this work? And so on...
Please let me know your opinions:
Is the configuration above ok?
What's the recommended way to get connected automatically, instead of having to issue the wpa_supplicant command every time? (E. g., should I append this command to my /etc/rc.d/rc.local file?)
Or are there better options for WPA/WPA2 wireless encryption with Slackware 12.2?
It's a while since I've done this so I am probably a bit rusty ! Anyway - I don't think you need /etc/rc.d/rc.wireless - pretty sure WPA can be setup with /etc/rc.d/rc.net1.conf and /etc/wpa_supplicant.conf alone.
Just a few observations ..
The wireless box I set up in the past isn't here right now so I can't refer back to compare setups.
There may be things I've missed but to be sure consult the defacto setup guide, it's from Alien Bob and may be found here. I highly recommend studying it.
Alien Bob's guide is definitely a must-read guidance. For 12.2, it is highly recommended to put all wireless settings into one file: /etc/rc.d/rc.inet1.conf (you can just forget about rc.wireless.conf)
In addition, I found that to get connected in 12.2 you use:
So in /etc/rc.d/rc.inet1.conf, you should put
Thanks a lot for pointing me to Alien Bob's great guide, and shame on me for posting here!
Here I am searching the web with multi-billion dollar search engines, but don't find the most valuable document right in front of me. No excuses for that, I guess.
Following Alien Bob's advice, everything seems to work quite well. Only exception is that the LEDs of my card are not controlled by the system (they were under 12.1), but that's only cosmetic and I can live with it.
Thanks a lot!
|All times are GMT -5. The time now is 12:20 PM.|