Hostname (standard PC-192-168-xxx-xxx)
-
- Posts: 7
- Joined: Tue May 19, 2015 3:43 am
Hostname (standard PC-192-168-xxx-xxx)
Postby Blackfarmer » Sun May 31, 2015 7:20 pm
I'm using the SDK of ESP822. Currently the device is registered in my network with the name 'PC-aaa-bbb-ccc-ddd', where aaa, bbb, ccc, ddd is the IP address. I would like to change this name into a myself generated name. How can I do this?
Thanks!
Blackfarmer
Re: Hostname (standard PC-192-168-xxx-xxx)
Postby ESP_Faye » Tue Jun 09, 2015 2:01 pm
Thanks for your interest in ESP8266 !
Sorry that we don‘t have the API to set hostname right now.
But this is a valuable advice,we will work on it !
Re: Hostname (standard PC-192-168-xxx-xxx)
Postby joostn » Tue Jun 09, 2015 6:54 pm
I'm currently solving this by using my own LWIP but this is a pain to maintain between SDK upgrades.
-
- Posts: 7
- Joined: Tue May 19, 2015 3:43 am
Re: Hostname (standard PC-192-168-xxx-xxx)
Postby Blackfarmer » Sun Jun 14, 2015 3:56 am
you solved my request with SDK 1.1.2 (wifi_station_set_hostname(hostname)).
I'm impressed how fast you react to user requests! Great job - Thanks!
Best regards
Blackfarmer
Re: Hostname (standard PC-192-168-xxx-xxx)
Postby blubb » Mon Jun 22, 2015 5:41 am
I can see the hostname on my router's info page. I can ping the module from a linux client.
I cannot ping the module from a windows client!
However, Windows' nslookup command shows me the module's ip.
So something is still missing.
Re: Hostname (standard PC-192-168-xxx-xxx)
Postby blubb » Mon Jun 29, 2015 5:30 pm
Re: Hostname (standard PC-192-168-xxx-xxx)
Postby tve » Tue Jun 30, 2015 10:49 am
Re: Hostname (standard PC-192-168-xxx-xxx)
Postby ESP_Faye » Wed Jul 01, 2015 9:59 am
Yes,windows client can not ping ESP8266 by hostname.
Because ESP8266 does not support protocol “NBNS” .
Please ping it through IP.
So sorry for the inconvenience.
Who is online
Users browsing this forum: No registered users and 294 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.