wrs4 wrote:On the other side of the wireless connection, I have an ancient piece of junk
Linksys WAP54G. Supposedly it can do WPA Pre-Shared Key, WPA RADIUS, RADIUS, and WEP (it suddenly occurs to me that psk in the supplicant config might be for pre-shared key).
wrs4 ... dependent on what version of the WAP54G you have you
may be able to install OpenWRT or DD-WRT ... this would provide a much better firmware than the one installed by linksys. Doing so would make it less of an "ancient piece of junk".
wrs4 wrote:I have a quick and dirty shell script that I can run to get it on the network:
Code: Select all
iw wlp6s0 set power_save on
ifconfig wlp6s0 up
iw dev wlp6s0 connect -w mywap54g key 0:<redacted>
ifconfig wlp6s0 172.17.1.103 broadcast 172.17.1.255 netmask 255.255.255.0
route add default gw 172.17.1.1
Which means that you're either connecting using WEP or encryption is disabled (see the section "establishing a basic connection" in the
iw documentation). iw doesn't support WPA/RSN, the only method of establishing such a connection is with wpa_supplicant.
wrs4 wrote:When I start net.wlp6s0 as a service on boot, then run /etc/init.d/net.wlp6s0 status, I get messages that the link isn't active.
No, 'status' won't tell you if the link is active or not, only if the service is started, stopped, etc ... 'wpa_cli status' will however provide the status of the connection.
wrs4 wrote:are my /etc/conf.d/net and /etc/wpa_supplicant/wpa_supplicant.conf configurations sane?
There is nothing wrong with them, though I would add the following:
/etc/conf.d/net
Code: Select all
wpa_supplicant_wlan0="-Dnl80211 -qq"
If you wanted to see what your AP is broadcasting it supports (and so the kind of connection/authentication available) you can do the following:
Code: Select all
# awk '{RS="Cell"}/mywap54g/' <(iw dev wlan0 scan)
You'll probably see WEP enabled, and I seem to remember the linksys firmware has WPS enabled (which should be disabled if you don't want someone bruteforcing the PIN ... another reason to install OpenWRT/DD-WRT).
wrs4 wrote:am I sane? :D
That's yet to be decided ;)
Well, at minimum I would disable WEP and WPS on the AP (if possible), wpa_supplicant doesn't need too much configured, it will attempt to use the most secure authentication available.
wrs4 wrote:how would I enable the power saving option?
It should be sufficent to set the following in the kernel ... CONFIG_CFG80211_DEFAULT_PS=y
Note that some cards have issues with powersave and will drop connections if its enabled (causing DISASSOC, REASSOC ... endlessly), ath9k should be fine, but it's worth looking out for ...
best ... khay