for example, I had installed node-red on my pi zero w
and I can access it just http://dietpi:1880/ overall the local network.
before this, I install node-red on raspian. and access it with http://zerow.local:1880
I can access it by zerow.local:1880 on Mac.
but I can not access zero w by zerow.local:1880 on my smartphone.
so, somebody can help me out what made this difference?
why i can access my pi zero w via http://dietpi/
Re: why i can access my pi zero w via http://dietpi/
Hi,
You'll need to install avahi-daemon for hostname broadcasting:
You'll need to install avahi-daemon for hostname broadcasting:
Code: Select all
dietpi-software install 152
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Re: why i can access my pi zero w via http://dietpi/
thank you! so avahi-daemon is pre-install software in DietPi image right?Fourdee wrote:Hi,
You'll need to install avahi-daemon for hostname broadcasting:Code: Select all
dietpi-software install 152
but I find that in the software additional avahi-daemon is not install currently.
Re: why i can access my pi zero w via http://dietpi/
dietpi was clean installed on zero w
without install additional software
and I can access it by http://dietpi/
but a clean install of raspian lite
it can access by http://pi.local/
but it can not access on android phone
wanna know what makes this difference
without install additional software
and I can access it by http://dietpi/
but a clean install of raspian lite
it can access by http://pi.local/
but it can not access on android phone
wanna know what makes this difference
Re: why i can access my pi zero w via http://dietpi/
finally , I find out I can access my pi by pi.local/ and pi/
that is the same with dietpi
thanks !
that is the same with dietpi
thanks !
Re: why i can access my pi zero w via http://dietpi/
did you modify your hosts file?
How did you get it working?
How did you get it working?
Re: why i can access my pi zero w via http://dietpi/
avahi-daemon is not installed by default with DietPi. The additional package increases cpu/mem usage (spawns a process). And, in most cases, is not required by the user.songz wrote:dietpi was clean installed on zero w
without install additional software
and I can access it by http://dietpi/
but a clean install of raspian lite
it can access by http://pi.local/
but it can not access on android phone
wanna know what makes this difference
However, we do offer it for additional installation in dietpi-software, if required

If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Re: why i can access my pi zero w via http://dietpi/
i do not modify any hosts file or something.WarHawk wrote:did you modify your hosts file?
How did you get it working?
but I found it would not work with my tp-link router. must install avahi to enable .local
i am not a professor with networking.
Re: why i can access my pi zero w via http://dietpi/
It's also a client side requirement to be able to resolve .local via zeroconf/bonjour. Out of the box Android can't do that and you need a special app handling that. MacOS/iOS comes preinstalled with the bonjour service and can resolve it. Linux needs avahi to do that and Windows needs bonjour (standalone or via iTunes) installed as a service. This is often overlooked and blamed on the server, but you can serve up name.local all day long and you won't be able to resolve it if you do not have these prerequisites.