Bug #904
closed
wpa_supplicant.conf is not working with local router
Added by Hammel about 2 years ago.
Updated 9 months ago.
Description
The setup use the following:
network={
ssid="AP_SSID"
psk="psk"
proto=RSN
key_mgmt=WPA-PSK
pairwise=CCMP
group=CCMP
}
The
following changes seem necessary to do strict WPA2:
- proto should be "RSN"
- pairwise should be CCMP
- group should be CCMP
For mixed mode support the group can be set to TKIP instead of CCMP.
It's not clear, after some minor testing, that this actually works with my router. This bug will remain open until I can explain this.
- Description updated (diff)
- Status changed from New to In Progress
- % Done changed from 0 to 20
This might be due to missing firmware.
Look in crda firmware package for
- regulatory.db
- regulatory.db.p7s
Update:
These may not be needed. I ran
iwlist scan > /media/mmcblk0p3/log/iwlist.log
andd searched for the router mac address. Then I looked or "group" and "pairwise" settings for that router and set the wpa_supplicant.conf on the Pi to match. That worked. So it's a matter of finding those settings and updating wpa_supplicant.conf accordingly.
I should do the following:
- Add Ctrl-T to launcher to get terminal window (this is quick fix)
- Add tool for finding those fields given either SSID or mac address.
- Eventually make pinet and pnc smart enough to do this automatically.
- Has duplicate Bug #927: RPi2 fails to connect via wifi added
It should be noted that a new router I setup worked fine with this configuration. And I've been having lots of other troubles with the older router. So maybe all my troubles are just router specific and not PiBox specific.
In any case, the RSN/CCMP/CCMP setup seems to work with the new router.
- Priority changed from Urgent to Immediate
- Severity changed from 02 - High to 01 - Critical
- Blocks Testing #1099: Verify Media System and Player System properly support PiNet's web UI. added
- % Done changed from 20 to 50
I've made the change to pnc to force CCMP in the right places. The RSN change doesn't appear necessary as having the current default, "WPA RSN", seems to work with PiNet as long as the CCMP settings are there.
This needs to be rebuilt and tested on hardware.
- Status changed from In Progress to Closed
- % Done changed from 50 to 100
Tested and working.
Code committed and pushed.
Closing issue.
Also available in: Atom
PDF