Manual IP in ESPEasy
Moderators: grovkillen, Stuntteam, TD-er
-
- Normal user
- Posts: 11
- Joined: 19 Jan 2018, 07:57
- Location: Poland, Krakwo
Manual IP in ESPEasy
Is it possible to add a manual entry of the IP address, for example in the last four bytes of the firmware?
regards
regards
----
Regards, Freddy
Regards, Freddy
-
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
Re: Manual IP in ESPEasy
Please elaborate what you mean. Manual IP have been around for a long time.
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you

ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you



-
- Normal user
- Posts: 303
- Joined: 15 Apr 2017, 05:13
- Location: Riverside CA USA
Re: Manual IP in ESPEasy
Maybe wants to hardcode it into the firmware and compile it?
"The glass is twice as big as it needs to be".
-
- Normal user
- Posts: 11
- Joined: 19 Jan 2018, 07:57
- Location: Poland, Krakwo
Re: Manual IP in ESPEasy
I know that manual IP addresses is possible for a long time.
My ask is to make it possible to correct the IP address in the compiled code, because AP does not always allow connection.
I do not know if I described it well
My ask is to make it possible to correct the IP address in the compiled code, because AP does not always allow connection.
I do not know if I described it well
----
Regards, Freddy
Regards, Freddy
-
- Core team member
- Posts: 9907
- Joined: 01 Sep 2017, 22:13
- Location: the Netherlands
Re: Manual IP in ESPEasy
There are some default defines in the code (look for "#define DEFAULT_") which you can change.
There will be a change very soon to allow to have a separate file with all those defines you can use for your own compiles.
But if you set the IP as static in the config, it will always have that IP. Just make sure it isn't one from the range used by the DHCP server on your modem, or else you will experience other issues.
Note that when you cannot connect to the accesspoint, setting the IP to static doesn't make a difference, since it is still not connected to the network.
There will be a change very soon to allow to have a separate file with all those defines you can use for your own compiles.
But if you set the IP as static in the config, it will always have that IP. Just make sure it isn't one from the range used by the DHCP server on your modem, or else you will experience other issues.
Note that when you cannot connect to the accesspoint, setting the IP to static doesn't make a difference, since it is still not connected to the network.
-
- Normal user
- Posts: 11
- Joined: 19 Jan 2018, 07:57
- Location: Poland, Krakwo
Re: Manual IP in ESPEasy
#define default it's good idea 
I know about static IP address, My DHCP is starting from 192.168.0.10, and I have pool of 20 addresses.
I already have static addresses for printer, and scanner, so that's ... no problem
That's why I must change my address from 192.168.4.1 to 192.168.0.110 f.e .

I know about static IP address, My DHCP is starting from 192.168.0.10, and I have pool of 20 addresses.
I already have static addresses for printer, and scanner, so that's ... no problem

Note that when you cannot connect to the accesspoint, setting the IP to static doesn't make a difference, since it is still not connected to the network.
That's why I must change my address from 192.168.4.1 to 192.168.0.110 f.e .

----
Regards, Freddy
Regards, Freddy
-
- Core team member
- Posts: 9907
- Joined: 01 Sep 2017, 22:13
- Location: the Netherlands
Re: Manual IP in ESPEasy
That 192.168.4.xxx address is only for initial setup when you cannot yet connect to a network and the ESP thus acts as an accesspoint.
Then you can connect to it via your mobile (or laptop) and start initial setup of the ESP module.
Then you can connect to it via your mobile (or laptop) and start initial setup of the ESP module.
-
- Normal user
- Posts: 11
- Joined: 19 Jan 2018, 07:57
- Location: Poland, Krakwo
Re: Manual IP in ESPEasy
I changed the initial address 192.168.4.xxx for my 192.168.0.110
I saved the settings I made reboot, but the address 192.168.4.xx is still active, and 192.168.0.110 is not working
I saved the settings I made reboot, but the address 192.168.4.xx is still active, and 192.168.0.110 is not working
----
Regards, Freddy
Regards, Freddy
-
- Core team member
- Posts: 9907
- Joined: 01 Sep 2017, 22:13
- Location: the Netherlands
Re: Manual IP in ESPEasy
The 192.168.4.x address in the code is only used when the ESP is an accesspoint for initial configuration.
When you want to set a fixed IP, do it through the web interface.
-
- Normal user
- Posts: 11
- Joined: 19 Jan 2018, 07:57
- Location: Poland, Krakwo
Re: Manual IP in ESPEasy
Thanks,
do I must to switch something to not work in AP mode, but it was visible in the router?
do I must to switch something to not work in AP mode, but it was visible in the router?
----
Regards, Freddy
Regards, Freddy
Who is online
Users browsing this forum: Anthropic Claude Bot [bot] and 14 guests