invalid static ip

Gilbertoe
Posts: 10
Joined: Thu Aug 23, 2018 8:34 pm

invalid static ip

Postby Gilbertoe » Mon Aug 27, 2018 1:44 am

Hi
I am build a test application with ESP32 MDF in order to get familiar with the API. A configure a single node with a fixed WiFi network. The device can connect to wifi, but a always get the error:"invalid static ip"

Here goes my log:

I (15327) wifi: n:1 1, o:1 0, ap:1 1, sta:1 0, prof:1
I (16317) wifi: state: init -> auth (b0)
I (16322) wifi: state: auth -> assoc (0)
I (16328) wifi: state: assoc -> run (10)
I (16364) wifi: connected with Skynet, channel 1
I (16365) wifi: pm start, type: 0

E (16366) event: invalid static ip <---------------------------
W (16367) wifi: [beacon]new interval:300ms
I (16370) mdf_wifi_mesh: [esp_mesh_event_cb, 70]:esp_mesh_event_cb event.id: 7
I (16377) mdf_wifi_mesh: [esp_mesh_event_cb, 74]:wifi connected
I (16386) mdf_wifi_mesh: [esp_mesh_event_cb, 70]:esp_mesh_event_cb event.id: 14
I (18242) mdf_wifi_mesh: [esp_mesh_event_cb, 70]:esp_mesh_event_cb event.id: 17
I (18242) mdf_wifi_mesh: [esp_mesh_event_cb, 131]:wifi get ip
I (18246) event: sta ip: 192.168.0.8, mask: 255.255.255.0, gw: 192.168.0.1

Is there a way to eliminate the error?
BR Gilberto

ESP_yudong
Posts: 68
Joined: Wed May 16, 2018 12:31 pm

Re: invalid static ip

Postby ESP_yudong » Wed Oct 10, 2018 3:56 am

E (16366) event: invalid static ip

Don't worry about this line of logs.

Normally we don't need lwip or dhcp between mesh nodes, but tcpip_adapter_init() must be called before wifi start. So dhcp was stopped when mesh start. You can set a valid static ip if you really don't want to see this.

peta99
Posts: 1
Joined: Thu Feb 13, 2020 9:15 am

Re: invalid static ip

Postby peta99 » Thu Feb 13, 2020 9:23 am

If you use invalid static ip then your whole system would be failed to do work. so use valid ip address to work smoothly. you can visit https://errorcode0x.com/linksys-e1200-r ... tup-guide/ to set a a valid ip address. with the invalid ip you can not connect with another device, you cannot do much in setting and you cannot share anything . a valid ip address always allow you to each and every thing. your work would be fruitful.

Who is online

Users browsing this forum: No registered users and 14 guests