NetBIOS not working with SoftAP?

A6ESPF
Posts: 28
Joined: Tue Dec 10, 2019 12:16 pm

NetBIOS not working with SoftAP?

Postby A6ESPF » Mon Mar 27, 2023 10:44 am

When I connect my ESP32 to my home LAN and use its NetBIOS name to access the device, it works perfectly. However, when I connect to the device's access point, I can't look it up anymore using NetBIOS and I have to type in 192.168.4.1 to access the device. Why doesn't NetBIOS work with SoftAP?

ESP_Sprite
Posts: 9773
Joined: Thu Nov 26, 2015 4:08 am

Re: NetBIOS not working with SoftAP?

Postby ESP_Sprite » Tue Mar 28, 2023 12:38 am

Are you running something specific that handles NetBIOS on your ESP32? Because if not, it's more likely either mDNS or your router that does DHCP->DNS that allows you to resolve the domain name. (Note that mDNS is also something you have to actively enable/install in your ESP32, so if you don't do that, it's likely your router.)

A6ESPF
Posts: 28
Joined: Tue Dec 10, 2019 12:16 pm

Re: NetBIOS not working with SoftAP?

Postby A6ESPF » Thu May 04, 2023 11:23 am

Sorry for the late reply. I first initialize NetBIOS on ESP32 using netbiosns_init function. Then I set the NetBIOS name using netbiosns_set_name function. This topic (viewtopic.php?f=13&t=32062) was also started by me, so you can see how I initialized NetBIOS on ESP32.

Who is online

Users browsing this forum: No registered users and 50 guests