Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WPA_SUPPLICANT - better way to deal with it #403

Open
darkdrgn2k opened this issue May 12, 2019 · 3 comments
Open

WPA_SUPPLICANT - better way to deal with it #403

darkdrgn2k opened this issue May 12, 2019 · 3 comments

Comments

@darkdrgn2k
Copy link
Contributor

Work around made for this issue on #399 There is a similar one in ADHOC. Perhaps it be nice to have a better solution to isolate single interfaces

--- issue ----

Mesh point interfaces sometimes do not enter "RUNNING" mode. This prevents some services like Yggdrasil to peer.

wlan1: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500

Seems that wpa_supplicant is interfering with this working on some os/wifi device combinations.

Patch will kill wpa_supplicant if running and not access point defined, but better solution required.

Does not to be a good one at the moment - Refrence
https://serverfault.com/questions/869857/systemd-how-to-selectively-disable-wpa-supplicant-for-a-specific-wlan-interface/880575

@darkdrgn2k
Copy link
Contributor Author

workaround:

disable encryption

Disable wpa_supplicant
sudo /sbin/wpa_supplicant /sbin/wpa_supplicant.bak

Change /etc/hostapd/hostapd.conf by removing the following lines

auth_algs=1
wpa=2
wpa_key_mgmt=WPA-PSK
wpa_pairwise=CCMP
rsn_pairwise=CCMP

or

auth_algs=1
wpa=3
wpa_key_mgmt=WPA-EAP
ieee8021x=1

eap_server=1
eap_user_file=/etc/hostapd/hostapd.eap_user

ca_cert=/etc/hostapd/ca.pem
server_cert=/etc/hostapd/server.pem
private_key=/etc/hostapd/server.pem
private_key_passwd=whatever

wpa_pairwise=CCMP
rsn_pairwise=CCMP

reboot

@darkdrgn2k
Copy link
Contributor Author

New patch i created SHOULD create an opt-in list for WPA enabled interfaces

Testing Required

@darkdrgn2k
Copy link
Contributor Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant