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.
case "$HWADDR" in
# My wireless setup
# WPA protected network
group=CCMP TKIP WEP104 WEP40
# Plaintext connection (no WPA, etc.)
And in /etc/rc.inet1.conf I added the following lines.
# config information for ath0
So far, this is exactly, what I had for 12.1. Now, to get connected I have to issue the following command as root:
# wpa_supplicant -Dwext -iwlan0 -c /etc/wpa_supplicant.conf
I don't remember that this was necessary on 12.1. In fact, my laptop connected automatically to my wireless access point when booting, and as far as I recall I didn't use a script issuing this command, anywhere. But that maybe me, getting old and senile...
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?