avahi-daemon stops advertising printers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have two printers advertised via avahi-daemon as AirPrint printers.
When avahi-daemon starts up, they're seen via the bonjour devices on the
network.  (See  log, below.)

After some time, usually within the hour, the bonjour devices can no
longer see the printers, but the local avahi-browser application thinks
they're still there, and there are no errors in any of the logs.

Restarting the daemon immediately makes the printers visible again.

Any ideas?

$ avahi-daemon --debug
Found user 'avahi' (UID 495) and group 'avahi' (GID 488).
Successfully dropped root privileges.
avahi-daemon 0.6.27 starting up.
Successfully called chroot().
Successfully dropped remaining capabilities.
Loading service file /services/AirPrint-Marilyn_HP.service.
Loading service file /services/AirPrint-PSC-2200-Series.service.
Loading service file /services/ssh.service.
Loading service file /services/udisks.service.
Joining mDNS multicast group on interface wlan0.IPv4 with address
192.168.123.10.
New relevant interface wlan0.IPv4 for mDNS.
Network interface enumeration completed.
Registering new address record for fe80::211:95ff:febc:e5f3 on wlan0.*.
Registering new address record for 192.168.123.10 on wlan0.IPv4.
Registering HINFO record with values 'I686'/'LINUX'.
Server startup complete. Host name is sds-desk.local. Local service
cookie is 2690789964.
Service "sds-desk" (/services/udisks.service) successfully established.
Service "sds-desk" (/services/ssh.service) successfully established.
Service "AirPlay PSC-2200-Series @ sds-desk"
(/services/AirPrint-PSC-2200-Series.service) successfully established.
Service "AirPlay Marilyn_HP @ sds-desk"
(/services/AirPrint-Marilyn_HP.service) successfully established


Here's one of the service files:

# cat /etc/avahi/services/AirPrint-PSC-2200-Series.service
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE service-group SYSTEM "avahi-service.dtd">
<service-group>
  <name replace-wildcards="yes">AirPlay PSC-2200-Series @ %h</name>
  <service>
    <type>_ipp._tcp</type>
    <subtype>_universal._sub._ipp._tcp</subtype>
    <port>631</port>
    <txt-record>txtvers=1</txt-record>
    <txt-record>qtotal=1</txt-record>
    <txt-record>Transparent=T</txt-record>
    <txt-record>URF=none</txt-record>
    <txt-record>rp=/printers/PSC-2200-Series</txt-record>
    <txt-record>note=Hewlett-Packard PSC 2200 Series</txt-record>
    <txt-record>product=(GPL Ghostscript)</txt-record>
    <txt-record>printer-state=3</txt-record>
    <txt-record>printer-type=0x82901c</txt-record>

<txt-record>pdl=application/octet-stream,application/pdf,application/postscript,image/gif,image/jpeg,image/png,image/tiff,text/html,text/plain,application/vnd.cups-banner,application/vnd.cups-pdf,application/vnd.cups-postscript,application/vnd.cups-raw</txt-record>

<txt-record>adminurl=ipp://192.168.123.10:631/printers/PSC-2200-Series</txt-record>
  </service>
</service-group>


And the avahi-daemon.conf file

# grep -v '#' /etc/avahi/avahi-daemon.conf

[server]
host-name=sds-desk
use-ipv4=yes
use-ipv6=no
allow-interfaces=eth0,wlan0
[wide-area]
enable-wide-area=no
[publish]
[reflector]
[rlimits]
rlimit-core=0
rlimit-data=4194304
rlimit-fsize=0
rlimit-nofile=300
rlimit-stack=4194304
rlimit-nproc=3

-- 
-- Steve
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux