Project

General

Profile

Actions

Bug #904

open

wpa_supplicant.conf is not working with local router

Added by Hammel 9 months ago. Updated 16 days ago.

Status:
In Progress
Priority:
Urgent
Assignee:
Target version:
Start date:
24 Sep 2022
Due date:
% Done:

20%

Estimated time:
Severity:
02 - High

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.


Related issues

Has duplicate pibox-network-config - Bug #927: RPi2 fails to connect via wifiNewHammel01 Dec 2022

Actions
Actions #1

Updated by Hammel 9 months ago

  • Description updated (diff)
Actions #2

Updated by Hammel 3 months ago

  • 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.
Actions #3

Updated by Hammel 3 months ago

  • Has duplicate Bug #927: RPi2 fails to connect via wifi added
Actions #4

Updated by Hammel 16 days ago

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.

Actions

Also available in: Atom PDF