mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
fix netift
This commit is contained in:
parent
b76bbb581c
commit
5930a09dfc
38 changed files with 1918 additions and 68 deletions
28
netifd/patches/006-Fix-8021x-authentication.patch
Normal file
28
netifd/patches/006-Fix-8021x-authentication.patch
Normal file
|
@ -0,0 +1,28 @@
|
|||
diff -Nur a/scripts/netifd-wireless.sh netifd-2019-08-05-5e02f944/scripts/netifd-wireless.sh
|
||||
--- a/scripts/netifd-wireless.sh 2020-05-01 15:05:45.809410514 -0700
|
||||
+++ netifd-2019-08-05-5e02f944/scripts/netifd-wireless.sh 2020-05-01 15:08:44.124446556 -0700
|
||||
@@ -197,6 +197,8 @@
|
||||
auth_type=none
|
||||
wpa=0
|
||||
wpa_cipher=
|
||||
+ eapol_key_index_workaround=0
|
||||
+
|
||||
case "$encryption" in
|
||||
*tkip+aes|*tkip+ccmp|*aes+tkip|*ccmp+tkip) wpa_cipher="CCMP TKIP";;
|
||||
*aes|*ccmp| psk2 | wpa2) wpa_cipher="CCMP";;
|
||||
@@ -256,8 +258,14 @@
|
||||
*psk*)
|
||||
auth_type=psk
|
||||
;;
|
||||
- *wpa*|*8021x*)
|
||||
+ *wpa*)
|
||||
+ auth_type=eap
|
||||
+ eapol_key_index_workaround=1
|
||||
+ ;;
|
||||
+ *8021x*)
|
||||
auth_type=eap
|
||||
+ eapol_version=2
|
||||
+ eap_server=0
|
||||
;;
|
||||
*wep*)
|
||||
auth_type=wep
|
Loading…
Add table
Add a link
Reference in a new issue