Skip to content

Conversation

@riggyz
Copy link

@riggyz riggyz commented Dec 5, 2025

This is an impromptu fix for station mode DHCP.

Context

In my personal layout I use a DCC-EX command station that is an esp8266, arduino mega, and the arduino motor driver with the HW tweaks applied to it.

Problem

To that extent I had an issues that (I forgot about because I kludged it at home). When working with The command station on an existing network, the WifiInterface does not enforce DHCP being on. This leads to whatever the manufacturer default OR whatever was falshed to the network chip acting as the default.

Solution

This simple 3 line remedy just uses the AT command support already in the project to force interface 1 into DHCP mode before creating a connection.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant