Community discussions

 
accacca
just joined
Topic Author
Posts: 3
Joined: Fri Aug 10, 2018 9:21 am

STA device strange behavior

Fri Aug 10, 2018 9:00 pm

I have a Wifi module (Espressif ESP32 module) connected to my MikroTik router hAP ac firmware 6.42.6

When powered, the device connects to MikroTik AP and obtain an IP address but device is unreachable also using simple ping from other PC on the same network
Under WinBox tab QuickSet in the window "Wireless clients" the ESP32 device is listed with his MAC but IP address field is empty. and in IP->ARP list device is not listed

Can anyone suggest where investigate the problem
Thanks in advance
i2.png
You do not have the required permissions to view the files attached to this post.
 
accacca
just joined
Topic Author
Posts: 3
Joined: Fri Aug 10, 2018 9:21 am

Re: STA device strange behavior

Sat Aug 11, 2018 6:49 pm

I add a little update:
Using another AP (Ubiquiti) everything works properly
 
szt
just joined
Posts: 6
Joined: Mon Aug 06, 2018 9:43 pm
Location: Czech Republic

Re: STA device strange behavior

Sat Aug 11, 2018 10:55 pm

Are you sure that the device had obtained IP address from Mikrotik's DHCP ? Can you please attach a screenshot of IP/DHCP Server/Leases ?
 
accacca
just joined
Topic Author
Posts: 3
Joined: Fri Aug 10, 2018 9:21 am

Re: STA device strange behavior

Sun Aug 12, 2018 3:44 pm

thanks fo reply szt
I add the info
First device powerup, MicroTik router assign IP but device is always unreachable
espressif_1.png
After shut off and restar device IP address dosen't appear
espressif_2.png
and repeats for all device reconnection attempts

But the log of Wifi connection process from my device side (the STA) at every startup is always this: (IP is always assigned to device)
I (158) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE
I (168) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE
I (198) wifi: Init dynamic tx buffer num: 32
I (198) wifi: Init data frame dynamic rx buffer num: 32
I (198) wifi: Init management frame dynamic rx buffer num: 32
I (198) wifi: Init static rx buffer size: 1600
I (208) wifi: Init static rx buffer num: 10
I (208) wifi: Init dynamic rx buffer num: 32
I (338) phy: phy_version: 3960, 5211945, Jul 18 2018, 10:40:07, 0, 0
I (338) wifi: mode : sta (24:0a:c4:1d:43:e8)
I (338) simple wifi: wifi_init_sta finished.
I (338) simple wifi: connect to ap SSID:MikroTik_UB2  
I (458) wifi: n:5 1, o:1 0, ap:255 255, sta:5 1, prof:1
I (1438) wifi: state: init -> auth (b0)
I (1448) wifi: state: auth -> assoc (0)
I (1458) wifi: state: assoc -> run (10)
I (1468) wifi: connected with MikroTik_UB2, channel 5
I (1478) wifi: pm start, type: 1

I (2668) event: sta ip: 192.168.1.13, mask: 255.255.255.0, gw: 192.168.1.1
I (2668) simple wifi: got ip:192.168.1.13
You do not have the required permissions to view the files attached to this post.

Who is online

Users browsing this forum: bartmann and 10 guests