Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
You are abridging the output. I would expect to see something like the following for a printer....
Code:
+ eth0 IPv4 HP LaserJet Pro M428f-M429f [BE6E3C] Web Site local
= eth0 IPv4 HP LaserJet Pro M428f-M429f [BE6E3C] Web Site local
hostname = [Comms-printer.local]
address = [192.168.30.150]
port = [80]
txt = []
where comms-printer.local is the Avahi hostname, and pinging by it's name....
Code:
~> ping comms-printer.local
PING comms-printer.local (192.168.30.150) 56(84) bytes of data.
64 bytes from 192.168.30.150 (192.168.30.150): icmp_seq=1 ttl=64 time=1.49 ms
64 bytes from 192.168.30.150 (192.168.30.150): icmp_seq=2 ttl=64 time=1.59 ms
64 bytes from 192.168.30.150 (192.168.30.150): icmp_seq=3 ttl=64 time=1.12 ms
64 bytes from 192.168.30.150 (192.168.30.150): icmp_seq=4 ttl=64 time=1.47 ms
64 bytes from 192.168.30.150 (192.168.30.150): icmp_seq=5 ttl=64 time=1.16 ms
^C
--- comms-printer.local ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4006ms
rtt min/avg/max/mdev = 1.124/1.367/1.592/0.194 ms
shakespeare@RYZEN:~$ ping 192.168.2.99
PING 192.168.2.99 (192.168.2.99) 56(84) bytes of data.
64 bytes from 192.168.2.99: icmp_seq=1 ttl=255 time=1.49 ms
64 bytes from 192.168.2.99: icmp_seq=2 ttl=255 time=1.18 ms
64 bytes from 192.168.2.99: icmp_seq=3 ttl=255 time=1.19 ms
64 bytes from 192.168.2.99: icmp_seq=4 ttl=255 time=1.19 ms
64 bytes from 192.168.2.99: icmp_seq=5 ttl=255 time=1.25 ms
64 bytes from 192.168.2.99: icmp_seq=6 ttl=255 time=1.23 ms
64 bytes from 192.168.2.99: icmp_seq=7 ttl=255 time=1.30 ms
64 bytes from 192.168.2.99: icmp_seq=8 ttl=255 time=1.15 ms
64 bytes from 192.168.2.99: icmp_seq=9 ttl=255 time=1.26 ms
64 bytes from 192.168.2.99: icmp_seq=10 ttl=255 time=1.18 ms
64 bytes from 192.168.2.99: icmp_seq=11 ttl=255 time=1.12 ms
64 bytes from 192.168.2.99: icmp_seq=12 ttl=255 time=1.17 ms
64 bytes from 192.168.2.99: icmp_seq=13 ttl=255 time=1.26 ms
64 bytes from 192.168.2.99: icmp_seq=14 ttl=255 time=1.18 ms
64 bytes from 192.168.2.99: icmp_seq=15 ttl=255 time=1.14 ms
^C
--- 192.168.2.99 ping statistics ---
15 packets transmitted, 15 received, 0% packet loss, time 14018ms
rtt min/avg/max/mdev = 1.128/1.223/1.490/0.090 ms
shakespeare@RYZEN:~$ ping 192.168.2.97
PING 192.168.2.97 (192.168.2.97) 56(84) bytes of data.
64 bytes from 192.168.2.97: icmp_seq=1 ttl=64 time=1.44 ms
64 bytes from 192.168.2.97: icmp_seq=2 ttl=64 time=0.403 ms
64 bytes from 192.168.2.97: icmp_seq=3 ttl=64 time=0.409 ms
64 bytes from 192.168.2.97: icmp_seq=4 ttl=64 time=0.397 ms
64 bytes from 192.168.2.97: icmp_seq=5 ttl=64 time=0.417 ms
64 bytes from 192.168.2.97: icmp_seq=6 ttl=64 time=0.424 ms
64 bytes from 192.168.2.97: icmp_seq=7 ttl=64 time=0.450 ms
64 bytes from 192.168.2.97: icmp_seq=8 ttl=64 time=0.423 ms
64 bytes from 192.168.2.97: icmp_seq=9 ttl=64 time=0.443 ms
64 bytes from 192.168.2.97: icmp_seq=10 ttl=64 time=0.413 ms
64 bytes from 192.168.2.97: icmp_seq=11 ttl=64 time=0.418 ms
64 bytes from 192.168.2.97: icmp_seq=12 ttl=64 time=0.396 ms
64 bytes from 192.168.2.97: icmp_seq=13 ttl=64 time=0.450 ms
^C
--- 192.168.2.97 ping statistics ---
13 packets transmitted, 13 received, 0% packet loss, time 12270ms
rtt min/avg/max/mdev = 0.396/0.499/1.449/0.275 ms
shakespeare@RYZEN:~$shakespeare@RYZEN:~$ ping EPSON791349.local
PING EPSON791349.local (192.168.2.97) 56(84) bytes of data.
64 bytes from M200 (192.168.2.97): icmp_seq=2 ttl=64 time=1.20 ms
64 bytes from M200 (192.168.2.97): icmp_seq=3 ttl=64 time=0.869 ms
64 bytes from M200 (192.168.2.97): icmp_seq=4 ttl=64 time=0.892 ms
64 bytes from M200 (192.168.2.97): icmp_seq=5 ttl=64 time=0.928 ms
64 bytes from M200 (192.168.2.97): icmp_seq=6 ttl=64 time=0.944 ms
64 bytes from M200 (192.168.2.97): icmp_seq=7 ttl=64 time=0.875 ms
64 bytes from M200 (192.168.2.97): icmp_seq=8 ttl=64 time=0.915 ms
64 bytes from M200 (192.168.2.97): icmp_seq=9 ttl=64 time=0.951 ms
64 bytes from M200 (192.168.2.97): icmp_seq=10 ttl=64 time=0.876 ms
^C
--- EPSON791349.local ping statistics ---
10 packets transmitted, 9 received, 10% packet loss, time 9120ms
rtt min/avg/max/mdev = 0.869/0.939/1.208/0.106 ms
shakespeare@RYZEN:~$ ping DCP9055.local
PING DCP9055.local (192.168.2.99) 56(84) bytes of data.
64 bytes from DCP9055 (192.168.2.99): icmp_seq=1 ttl=255 time=2.39 ms
64 bytes from DCP9055 (192.168.2.99): icmp_seq=2 ttl=255 time=0.427 ms
64 bytes from DCP9055 (192.168.2.99): icmp_seq=3 ttl=255 time=0.410 ms
64 bytes from DCP9055 (192.168.2.99): icmp_seq=4 ttl=255 time=1.50 ms
64 bytes from DCP9055 (192.168.2.99): icmp_seq=5 ttl=255 time=1.23 ms
64 bytes from DCP9055 (192.168.2.99): icmp_seq=6 ttl=255 time=1.28 ms
64 bytes from DCP9055 (192.168.2.99): icmp_seq=7 ttl=255 time=1.31 ms
64 bytes from DCP9055 (192.168.2.99): icmp_seq=8 ttl=255 time=1.23 ms
64 bytes from DCP9055 (192.168.2.99): icmp_seq=9 ttl=255 time=1.24 ms
64 bytes from DCP9055 (192.168.2.99): icmp_seq=10 ttl=255 time=1.21 ms
64 bytes from DCP9055 (192.168.2.99): icmp_seq=11 ttl=255 time=1.16 ms
64 bytes from DCP9055 (192.168.2.99): icmp_seq=12 ttl=255 time=1.19 ms
64 bytes from DCP9055 (192.168.2.99): icmp_seq=13 ttl=255 time=1.20 ms
64 bytes from DCP9055 (192.168.2.99): icmp_seq=14 ttl=255 time=1.18 ms
64 bytes from DCP9055 (192.168.2.99): icmp_seq=15 ttl=255 time=1.17 ms
64 bytes from DCP9055 (192.168.2.99): icmp_seq=16 ttl=255 time=1.26 ms
64 bytes from DCP9055 (192.168.2.99): icmp_seq=17 ttl=255 time=1.19 ms
^C
--- DCP9055.local ping statistics ---
17 packets transmitted, 17 received, 0% packet loss, time 16049ms
rtt min/avg/max/mdev = 0.410/1.214/2.395/0.404 ms
shakespeare@RYZEN:~$
They do respond to pinging by their host name.
shakespeare@RYZEN:~$
Last edited by shakespeare1; 10-05-2020 at 01:21 AM.
Reason: ???
Ok, you finally demonstrated that you can at least ping the printer by its Avahi hostname (DCP9055.local)
Way back at post #9, you reported output showing "Printer State: Processing - Unable to locate printer". This can be due Avahihostname resolution or firewall configuration... https://wiki.archlinux.org/index.php...locate_printer
However, I assume that you no longer have this error.
shakespeare@RYZEN:~$ lpstat -t
scheduler is running
system default destination: Epson-AL-M200DN
device for Brother_DCP-9055CDN: dnssd://Brother%20DCP-9055CDN._pdl-datastream._tcp.local/
device for Epson-AL-M200DN: socket://192.168.2.97:9100
device for EPSON-XP-352-355-Series: usb://EPSON/XP-352%20355%20Series?serial=583543473134373514&interface=1
Brother_DCP-9055CDN accepting requests since pe 2. lokakuuta 2020 16.12.52
Epson-AL-M200DN accepting requests since ke 30. syyskuuta 2020 10.46.16
EPSON-XP-352-355-Series accepting requests since to 19. maaliskuuta 2020 12.14.05
printer Brother_DCP-9055CDN is idle. enabled since pe 2. lokakuuta 2020 16.12.52
printer Epson-AL-M200DN disabled since ke 30. syyskuuta 2020 10.46.16 -
Backend /usr/lib/cups/backend/socket does not exist!
printer EPSON-XP-352-355-Series disabled since to 19. maaliskuuta 2020 12.14.05 -
File "/opt/epson-inkjet-printer-escpr/cups/lib/filter/epson-escpr-wrapper" not available: No such file or directory
shakespeare@RYZEN:~$
shakespeare@RYZEN:~$ egrep -i "name|model|filter" /etc/cups/ppd/*
grep: /etc/cups/ppd/Brother_DCP-9055CDN.ppd: Permission denied
grep: /etc/cups/ppd/Brother_DCP-9055CDN.ppd.O: Permission denied
grep: /etc/cups/ppd/Epson-AL-M200DN.ppd: Permission denied
grep: /etc/cups/ppd/EPSON-XP-352-355-Series.ppd: Permission denied
shakespeare@RYZEN:~$
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.