You are not logged in.
After I updated to CUPS 1.6, I experienced the following problems:
1. Since CUPS sharing protocol was dropped, I can't see shared printers on my local network even if avahi-daemon started before cupsd. I simply can't figure out how can I share my printer in an auto-discoverable way with avahi. (I can see the printer in avahi-discover, but not in printer dialog.)
2. When I trying to access to the CUPS configuration interface remotely, I get "Bad Request", and unable to access, even if it's enabled.
Could somebody help me?
Last edited by City-busz (2012-08-05 09:54:20)
Offline
Offline
Offline
The avahi related problems were solved by a patch: https://bugs.archlinux.org/task/31007
Now I configured by clients manually using the dnssd protocol (avahi).
How can do you do that? What commands do you run? If you run nmap, what ports are open in the server?
In my case:
nmap nm85239f.local
Starting Nmap 6.01 ( http://nmap.org ) at 2012-09-06 12:44 CEST
Nmap scan report for nm85239f.local (10.216.147.26)
Host is up (0.75s latency).
rDNS record for 10.216.147.26: centres.educacio.caib.es
Not shown: 992 closed ports
PORT STATE SERVICE
21/tcp open ftp
80/tcp open http
515/tcp open printer
631/tcp open ipp
9100/tcp open jetdirect
9101/tcp open jetdirect
9102/tcp open jetdirect
9103/tcp open jetdirect
Nmap done: 1 IP address (1 host up) scanned in 1.68 seconds
Thanks in advance,
Xan.
Last edited by xanb (2012-09-06 10:44:49)
Owning one OpenRC (artoo way) and other three systemd machines
Offline
I've used the CUPS admin interface on http://localhost:631/
On the server:
1. Add your printer manually. It should be listed in "Local Printers" section.
2. Enable the "Share printers connected to this system" option.
3. An opened 631/tcp port should be enough.
On the client:
1. Add your printer manually. It should be listed in "Discovered Network Printers" section.
Offline
I've used the CUPS admin interface on http://localhost:631/
On the server:
1. Add your printer manually. It should be listed in "Local Printers" section.
2. Enable the "Share printers connected to this system" option.
3. An opened 631/tcp port should be enough.On the client:
1. Add your printer manually. It should be listed in "Discovered Network Printers" section.
Thanks for reply. On the client, what programs do you have installed? Do you have cups or only libcups installed?
Thanks in advance,
Xan.
Owning one OpenRC (artoo way) and other three systemd machines
Offline
Offline
Avahi and cups daemons are required to be installed and enabled both on client and on server.
Thanks, but this is not what wiki says. In wiki, we have that only libcups is need. But, thanks. Now I know what fails.
Owning one OpenRC (artoo way) and other three systemd machines
Offline
Perhaps you could update the wiki for writing that libcups is not enough
Regards,
Owning one OpenRC (artoo way) and other three systemd machines
Offline
For clarification:
It's enough to have libcups on the client when you know the static IP or hostname in your network. It's not even needed to run avahi on the server if you have dnssd browsing disabled. All client applications will automatically find the server's printer. There's no need to further add any printer on the client through a webinterface. So the cups daemon pkg is not needed.
If you are unsure about the server IP or hostname or you are looking (brwosing) for unknown printers in your network you will need avahi and the cups daemon running on your client. But this is usally not needed in a linux/linux network setup.
My local setup as an example and it should be a common setup: the server has dnssd browsing enabled and avahi + cupsd running and I have only libcups on all my clients where I add my server IP into the client.conf. That's it. All aaplications show my servers printers available.
Offline
For clarification:
It's enough to have libcups on the client when you know the static IP or hostname in your network. It's not even needed to run avahi on the server if you have dnssd browsing disabled. All client applications will automatically find the server's printer. There's no need to further add any printer on the client through a webinterface. So the cups daemon pkg is not needed.
In my case it does not work. How can I do for detect where is the problem?
Thanks in advance,
Xan.
Owning one OpenRC (artoo way) and other three systemd machines
Offline