Chip details are visible when chip is getting connected to Wi-FI
-
- Posts: 20
- Joined: Wed Mar 02, 2022 2:39 pm
Chip details are visible when chip is getting connected to Wi-FI
Hi,
I am using the ESP32S3 chip for my project. When I am connecting it to my mobile hotspot, the device is visible as "espressif" in the connected devices list. Is there any way that I can modify or hide it?
Thanks,
Kowshik.
I am using the ESP32S3 chip for my project. When I am connecting it to my mobile hotspot, the device is visible as "espressif" in the connected devices list. Is there any way that I can modify or hide it?
Thanks,
Kowshik.
Re: Chip details are visible when chip is getting connected to Wi-FI
If I am not mistaken, the Access Point is using the MAC address of the ESP32 in order to identify it. MAC addresses are assigned as blocks to manufacturers and then the list of blocks are available publicly.
https://gist.github.com/aallan/b4bb86db ... 10ae9bd3e4
You can reprogram the ESP32 to have a different MAC address. You could come up with arbitrary MAC addresses, which will have a low chance of colliding with an assigned address used by someone else. However, when that happens both your device and the other device will have some serious issues communicating.
You could get your own block of addresses assigned to you, and then use them. Just make sure that any name that is assigned for those MAC addresses isn't also visible to outsiders.
https://gist.github.com/aallan/b4bb86db ... 10ae9bd3e4
You can reprogram the ESP32 to have a different MAC address. You could come up with arbitrary MAC addresses, which will have a low chance of colliding with an assigned address used by someone else. However, when that happens both your device and the other device will have some serious issues communicating.
You could get your own block of addresses assigned to you, and then use them. Just make sure that any name that is assigned for those MAC addresses isn't also visible to outsiders.
-
- Posts: 20
- Joined: Wed Mar 02, 2022 2:39 pm
Re: Chip details are visible when chip is getting connected to Wi-FI
Hi, Thanks for the reply.
Yeah, the connected device will be identified by MAC address but along with the mac address, it will also show the name of the device.
So what's happening here was the name of the device is being shown as espressif along with the MAC ID. I don't have any problem with the MAC ID but I want to change the name of the device.
Thanks,
Kowshik.
Yeah, the connected device will be identified by MAC address but along with the mac address, it will also show the name of the device.
So what's happening here was the name of the device is being shown as espressif along with the MAC ID. I don't have any problem with the MAC ID but I want to change the name of the device.
Thanks,
Kowshik.
Re: Chip details are visible when chip is getting connected to Wi-FI
In general, the name of the manufacturer is mapped from the MAC address, by the system that is displaying the clients connected. It is not a string that the ESP32 is passing to the network. The ESP32 is only sending its MAC address. The access point is then making that MAC to the manufacturer name that it displays to you.
-
- Posts: 20
- Joined: Wed Mar 02, 2022 2:39 pm
Re: Chip details are visible when chip is getting connected to Wi-FI
Got it now, Thank you so much
Re: Chip details are visible when chip is getting connected to Wi-FI
Code: Select all
config LWIP_LOCAL_HOSTNAME
string "Local netif hostname"
default 'espressif'
help
The default name this device will report to other devices on the network.
Could be updated at runtime with esp_netif_set_hostname()
Re: Chip details are visible when chip is getting connected to Wi-FI
Are you using ESP-IDF or Arduino?
You shouldn't have to change your MAC address. There should be an API call to change your hostname. For ESP-IDF, it's `esp_netif_set_hostname`.
You shouldn't have to change your MAC address. There should be an API call to change your hostname. For ESP-IDF, it's `esp_netif_set_hostname`.
Re: Chip details are visible when chip is getting connected to Wi-FI
I didn't realize there was a query/response that did this. Can you tell me what kind of a call is being made to do this? Is it an IP query or is it at the Ethernet level?boarchuz wrote: ↑Sat Dec 03, 2022 11:01 amCode: Select all
config LWIP_LOCAL_HOSTNAME string "Local netif hostname" default 'espressif' help The default name this device will report to other devices on the network. Could be updated at runtime with esp_netif_set_hostname()
-
- Posts: 20
- Joined: Wed Mar 02, 2022 2:39 pm
Re: Chip details are visible when chip is getting connected to Wi-FI
I am using ESP-IDF, and I changed the LWIP_HOSTNAME in the menu configuration. Thanks for the help, It worked.
Who is online
Users browsing this forum: Baidu [Spider], Bing [Bot], VinayDand and 363 guests