Hi everybody,
how to set the station hostname? I tried to use the API function wifi_station_set_hostname("esp8266"); but nothing is changed.
My router displays the IP of ESP correctly, but the hostname is "UNKNOWN". Same thing using an IP scanner like Angry IP Scanner...no hostname is displayed.
There is a trick to use wifi_station_set_hostname() function?
Info: I'm using SDK 1.4.0 and the chip is configured in station mode only with dhcp enabled.
Thanks
How to set Station Hostname
-
- Posts: 1
- Joined: Mon Feb 08, 2016 1:43 am
Re: How to set Station Hostname
Postby Aleksander » Mon Feb 08, 2016 2:48 am
I have the same problem with my WeMos D1 mini. I want to set the the hostname for station mode, but there is no information how to do this. By default my device is seen on the network as "ESP-xxxxxx" where "xxxxxx" are last six digits of MAC address.
Who is online
Users browsing this forum: No registered users and 60 guests
Login
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
Latest SDK
Documentation
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!
- All times are UTC+08:00
- Top
- Delete all board cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. We are the manufacturer of ESP8266EX.