Resolving hosts on local network, finding printer

Endeavour is unable to resolve hosts on my network like ssh otherpc.local, and I’m not able to see my printer.
I followed the Arch wiki for setting up avahi, and disabling systemd-resolved.service. I’ve verified with systemctl that the avahi service is running.
Oddly, I have an Ubuntu distrobox, and can ssh otherpc.local from it with no problem.
Would appreciate any suggestions!

I am not familiar with ssh otherpc.local so can’t help you there.

As for your printer, print the results of

systemctl status cups


EnOs’ comes with a firewall pre-installed and enabled.

I suppose you would need to add ssh as a service to open its port.

Have a look at:

Following the example given in the wiki article:

sudo firewall-cmd --permanent --zone=public --add-service=ssh

sudo firewall-cmd --reload

Yes, CUPS is running correctly.
This seems to be a networking issue, as I can’t add the printer.

Sorry this is a little jacked up, as it’s
OCR of a pic of the screen.

[root@endeavour ~]# systemctl status cups
• cups.service - CUPS Scheduler
Loaded: loaded (/us/lib/systemd/sys
Active: active (running) since Thu 2
TriggeredBy: • cups.path
• cups. socket
Docs: man: cupsd (8)
Main PID: 1760 (cupsd)
Status: "Scheduler is running..
Tasks: 1 (limit: 154087)
Memory: 10.2M
CPU: 51ms
Group: /system.slice/cups.service
11760 /usr /bin/cupsd -1
May 11 15:48:08 endeavour systemd[1]: Stal May 11 15:48:08 endeavour system [1]: Stai [root@endeavour ~]#

Avahi-daemon listens on UDP port 5353. Open it in the firewall.

sudo firewall-cmd --permanent --add-port=5353/udp

Reload firewall for the change to take effect.

sudo systemctl reload firewalld

First, do a

ip route
default via dev eno1 proto dhcp src metric 100 dev eno1 proto kernel scope link src metric 100 

then use nmap (network map) to check if it sees the printer using the first three triads of the default via IP with .0/24 added on. You may have to install nmap.

sudo nmap
Snippet ....
Nmap scan report for
Host is up (0.0011s latency).
Not shown: 995 closed tcp ports (reset)
80/tcp   open  http
443/tcp  open  https
515/tcp  open  printer
631/tcp  open  ipp
9100/tcp open  jetdirect
MAC Address: 3C:2A:F4:39:D8:AF (Brother Industries)


As to the nmap. If you see other devices on the nmap report, but not the printer, then something on the printer is set up wrong, or the printer cannot respond due to the computer’s firewalld blocking it on port 1900 UDP.

To see if it is firewall problem,

systemctl stop firewalld

and see if the printer is visable now. A reboot should restore firewalld. If not

systemctl start firewalld


Looks like the firewall was the culprit!

I could have sworn it was disabled in Firewall Configuration, but after stopping the service I can see my printer, use restic to back up to that system using sftp, etc.

It is odd that the Ubuntu distrobox could ssh to that pc. I suppose it bypasses the firewall, somehow.

Thanks @pebcak and @Pudge for the help!

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.