Skip to content

Set hostname before starting wifi to properly identify to DHCP server#2

Open
JanneMantyharju wants to merge 1 commit into
yuri-rage:masterfrom
JanneMantyharju:hostname_fix
Open

Set hostname before starting wifi to properly identify to DHCP server#2
JanneMantyharju wants to merge 1 commit into
yuri-rage:masterfrom
JanneMantyharju:hostname_fix

Conversation

@JanneMantyharju

Copy link
Copy Markdown

At least for ESP32, the hostname needs to be set before setting WiFi mode (even before WiFi.begin like usually mentioned) to avoid hostname to get overridden to ESP-XXXX

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