Temat: OpenWRT + ESP8266
Czy pomiędzy Reboot (17.01-SNAPSHOT, r3876-efb6ca1) a OpenWrt 18.06.4, r7808-ef686b7292
zmieniło się coś tak znacznie że na tym pierwszym esp8266 działa prawidłowo a na tym drugim nie potrafi się prawidłowo połączyć ?
Jak ustawię hotspot na telefonie i połączę esp8266 z nim to wszystko jest okey. Jeśli natomiast próbuję połączyć się z OW 18.06.4 to mam komunikat połączono ale nie otrzymuję adresu IP i rozłącza mnie. (na routerze również nie widzę przypisanego IP) a sam moduł zachowuje się następująco:
ESP8266: WIFI CONNECTED
ESP8266: FAIL
ESP8266: WIFI DISCONNECTModuł obsługuję poprzez komendy AT. Zmiana komend AT na cokolwiek innego (zmiana firmware) nie wchodzi w gre ze względu na już wcześniej zbudowany cały system. Poza tym objaw ewidentne wskazuje na ustawienia OpenWRT. Czy coś gdzieś trzeba zienić ustawić itp ?
Dodatkowo debug z wifi:
daemon.debug hostapd: wlan1: STA 84:f3:eb:0a:44:2d IEEE 802.11: authentication OK (open system)
daemon.debug hostapd: wlan1: STA 84:f3:eb:0a:44:2d MLME: MLME-AUTHENTICATE.indication(84:f3:eb:0a:44:2d, OPEN_SYSTEM)
daemon.debug hostapd: wlan1: STA 84:f3:eb:0a:44:2d MLME: MLME-DELETEKEYS.request(84:f3:eb:0a:44:2d)
daemon.debug hostapd: wlan1: STA 84:f3:eb:0a:44:2d IEEE 802.11: association OK (aid 4)
daemon.info hostapd: wlan1: STA 84:f3:eb:0a:44:2d IEEE 802.11: associated (aid 4)
daemon.debug hostapd: wlan1: STA 84:f3:eb:0a:44:2d MLME: MLME-ASSOCIATE.indication(84:f3:eb:0a:44:2d)
daemon.debug hostapd: wlan1: STA 84:f3:eb:0a:44:2d MLME: MLME-DELETEKEYS.request(84:f3:eb:0a:44:2d)
daemon.debug hostapd: wlan1: STA 84:f3:eb:0a:44:2d IEEE 802.11: binding station to interface 'wlan1'
daemon.debug hostapd: wlan1: STA 84:f3:eb:0a:44:2d WPA: event 1 notification
daemon.debug hostapd: wlan1: STA 84:f3:eb:0a:44:2d WPA: start authentication
daemon.debug hostapd: wlan1: STA 84:f3:eb:0a:44:2d IEEE 802.1X: unauthorizing port
daemon.debug hostapd: wlan1: STA 84:f3:eb:0a:44:2d WPA: sending 1/4 msg of 4-Way Handshake
daemon.debug hostapd: wlan1: STA 84:f3:eb:0a:44:2d WPA: received EAPOL-Key frame (2/4 Pairwise)
daemon.debug hostapd: wlan1: STA 84:f3:eb:0a:44:2d WPA: sending 3/4 msg of 4-Way Handshake
daemon.debug hostapd: wlan1: STA 84:f3:eb:0a:44:2d WPA: received EAPOL-Key frame (4/4 Pairwise)
daemon.notice hostapd: wlan1: AP-STA-CONNECTED 84:f3:eb:0a:44:2d
daemon.debug hostapd: wlan1: STA 84:f3:eb:0a:44:2d IEEE 802.1X: authorizing port
daemon.info hostapd: wlan1: STA 84:f3:eb:0a:44:2d WPA: pairwise key handshake completed (RSN)
daemon.info hostapd: wlan1: STA 84:f3:eb:0a:44:2d IEEE 802.11: authenticated
daemon.notice hostapd: wlan1: AP-STA-DISCONNECTED 84:f3:eb:0a:44:2d
daemon.debug hostapd: wlan1: STA 84:f3:eb:0a:44:2d WPA: event 2 notification
daemon.debug hostapd: wlan1: STA 84:f3:eb:0a:44:2d IEEE 802.1X: unauthorizing port
daemon.info hostapd: wlan1: STA 84:f3:eb:0a:44:2d IEEE 802.11: disassociated
kern.debug kernel: [ 3807.349985] ieee80211 phy1: staid 4 deleted
daemon.debug hostapd: wlan1: STA 84:f3:eb:0a:44:2d MLME: MLME-DISASSOCIATE.indication(84:f3:eb:0a:44:2d, 8)
daemon.debug hostapd: wlan1: STA 84:f3:eb:0a:44:2d MLME: MLME-DELETEKEYS.request(84:f3:eb:0a:44:2d)
daemon.info hostapd: wlan1: STA 84:f3:eb:0a:44:2d IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
daemon.debug hostapd: wlan1: STA 84:f3:eb:0a:44:2d MLME: MLME-DEAUTHENTICATE.indication(84:f3:eb:0a:44:2d, 2)
daemon.debug hostapd: wlan1: STA 84:f3:eb:0a:44:2d MLME: MLME-DELETEKEYS.request(84:f3:eb:0a:44:2d)