How can automatically access an embedded device's web server using a network alias over a local LAN?

StackOverflow https://stackoverflow.com/questions/23094685

سؤال

I have a embedded linux device I want to build and I want to make it easy for anyone to connect to it. So, when it is first setup, it is connected to the LAN using a WPS button feature.

Now, I want to be able to type in "mymagicbox" in a browser from another PC on the LAN and connect to the web server within the embedded device. How can I design this to do it automatically without having the user change the router settings or lookup the actual device's IP address ?

هل كانت مفيدة؟

المحلول

Read up on Bonjour aka ZeroConf

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top