On Tue, Feb 21, 2006 at 03:21:23PM -0600, John Pierce wrote:
Well, I had similar problems getting cups to serve up to my local network, what I found was the cupsd.conf file says that certain defaults exist to serve a local network, and according to the documentation in the conf file those defaults should allow local machines to print to it.
What I discovered was having to manually set the defaults to make it work, I think the redhat/fedora developers tell it not to share on the network for security reasons, but fail to adjust the documentation to match their build configuration.
Take the following for example:
######## ######## Network Options ######## # # Ports/addresses that we listen to. The default port 631 is reserved # for the Internet Printing Protocol (IPP) and is what we use here. # # You can have multiple Port/Listen lines to listen to more than one # port or address, or to restrict access: # # Port 80 # Port 631 # Listen hostname # Listen hostname:80 # Listen hostname:631 # Listen 1.2.3.4 # Listen 1.2.3.4:631 According to the above statement the system should allow connection on port 631, but if I do not add the following two lines I cannot print to this host.
Listen localhost Listen 192.168.0.70:631
Go through and check the configuration file.
John
Ok, lets take this from the top. The cupsd.conf should have only one Listen statement in most cases, and that is: Listen 127.0.0.1
Clients on the same LAN will be able to print to the printer without any further configuration. That is , no server line needs o appear in the clients.conf file. Further, if the Server line appears in the client.conf file then the client will not be able to print to a local printer.
Under no circumstances should system-config-printer be used to configure CUPS printers. It has serious flaws for this purpose.
If the original poster used system-config-printer to configure the server printers this is one reason printer might have not worked on the clients.
On Tue, 2006-02-21 at 17:52 -0600, akonstam@trinity.edu wrote:
Ok, lets take this from the top. The cupsd.conf should have only one Listen statement in most cases, and that is: Listen 127.0.0.1
Clients on the same LAN will be able to print to the printer without any further configuration.
That Listen address means for the machine to listen to itself, not to the local network. You'd need something extra for it to listen to the LAN.
That Listen address means for the machine to listen to itself, not to the local network. You'd need something extra for it to listen to the LAN.
I agree, note my post in the original thread.
I have proven this several times in the last 3 months, I also noticed that I have had to keep a backup of my cupsd.conf file on the server, as every so often (and completely on it own) the server will fall back to an original configuration file and my systems will be unable to print to that printer, I simply copy my backup to the cupsd.conf file and restart cups and voila.
John
-- Registered Linux User 263680, get counted at http://counter.li.org
On Tue, 2006-02-21 at 22:18 -0600, John Pierce wrote:
I also noticed that I have had to keep a backup of my cupsd.conf file on the server, as every so often (and completely on it own) the server will fall back to an original configuration file and my systems will be unable to print to that printer, I simply copy my backup to the cupsd.conf file and restart cups and voila.
Do you have the cups-config-daemon running? It automatically reconfigures CUPS in some way that I've not seen detailed.
On Wednesday 22 February 2006 00:31, Tim wrote:
On Tue, 2006-02-21 at 22:18 -0600, John Pierce wrote:
I also noticed that I have had to keep a backup of my cupsd.conf file on the server, as every so often (and completely on it own) the server will fall back to an original configuration file and my systems will be unable to print to that printer, I simply copy my backup to the cupsd.conf file and restart cups and voila.
Do you have the cups-config-daemon running? It automatically reconfigures CUPS in some way that I've not seen detailed.
What distrib uses that, I never want to even burn a copy to cd if it does that.
-- Don't send private replies to my address, the mailbox is ignored. I read messages from the public lists.
Tim:
Do you have the cups-config-daemon running? It automatically reconfigures CUPS in some way that I've not seen detailed.
Gene Heskett:
What distrib uses that, I never want to even burn a copy to cd if it does that.
FC4, at least. Did you think we were discussing something other than Fedora on this list? Are you so vehement against HAL, Kudzu, and other auto-config tools? At least this one can be disabled without causing any woes, so far as I can tell. Things like udev and HAL we're stuck with.
So far the only description I can find of it is what's written into the system configuration GUI (This is a daemon for configuring printers through D-BUS). I've found no documention, just websites where people have attributed it to problems, and instructions to turn it off.
Tim wrote:
Tim:
Do you have the cups-config-daemon running? It automatically reconfigures CUPS in some way that I've not seen detailed.
Yes. It is running and automatically destroys whatever I could change in cupsd.conf file to have my system working properly.
We have no information about this daemon: who starts it, how to stop its nuisances, etc.
Every man about cups system refer to http://localhost:631/documentation.html
I can read in http://localhost:631/sam.html#7_3
(Sorry for the French, I cannot find this in english! in german, spanish, but not english!)
Changer la configuration du serveur
Le fichier /etc/cups/cupsd.conf contient des directives de configuration qui contrôlent le fonctionnement du serveur. Chaque directive suivie de sa valeur est disposée seule sur une ligne. Les commentaires sont ouverts par le signe dièse ("#") au début de la ligne. Etant donné que le fichier de configuration du serveur est un fichier texte, vous pouvez le modifier au moyen de votre éditeur de texte préféré.
I translate the last sentence:
You can modify it (cupsd.conf) with your preferred text editor.
Why this possibility and why should I try to do so if "cups-config-daemon", systematically destroy my work?
Gene Heskett:
What distrib uses that, I never want to even burn a copy to cd if it does that.
FC4, at least. Did you think we were discussing something other than Fedora on this list? Are you so vehement against HAL, Kudzu, and other auto-config tools?
If they are more harmful than useful, yes, we must be vehement against them.
At least this one can be disabled
How to? as you say it yourself later on: there is no documentation!!!!
So far the only description I can find of it is what's written into the system configuration GUI (This is a daemon for configuring printers through D-BUS). I've found no documention, just websites where people have attributed it to problems, and instructions to turn it off.
So, something is to be changed in Fedora distributions!
On Thursday 23 February 2006 23:30, François Patte wrote:
Tim wrote:
Tim:
Do you have the cups-config-daemon running? It automatically reconfigures CUPS in some way that I've not seen detailed.
Yes. It is running and automatically destroys whatever I could change in cupsd.conf file to have my system working properly.
We have no information about this daemon: who starts it, how to stop its nuisances, etc.
Every man about cups system refer to http://localhost:631/documentation.html
I can read in http://localhost:631/sam.html#7_3
(Sorry for the French, I cannot find this in english! in german, spanish, but not english!)
Changer la configuration du serveur
Le fichier /etc/cups/cupsd.conf contient des directives de configuration qui contrôlent le fonctionnement du serveur. Chaque directive suivie de sa valeur est disposée seule sur une ligne. Les commentaires sont ouverts par le signe dièse ("#") au début de la ligne. Etant donné que le fichier de configuration du serveur est un fichier texte, vous pouvez le modifier au moyen de votre éditeur de texte préféré.
I translate the last sentence:
You can modify it (cupsd.conf) with your preferred text editor.
Why this possibility and why should I try to do so if "cups-config-daemon", systematically destroy my work?
Gene Heskett:
What distrib uses that, I never want to even burn a copy to cd if it does that.
FC4, at least. Did you think we were discussing something other than Fedora on this list? Are you so vehement against HAL, Kudzu, and other auto-config tools?
If they are more harmful than useful, yes, we must be vehement against them.
At least this one can be disabled
How to? as you say it yourself later on: there is no documentation!!!!
So far the only description I can find of it is what's written into the system configuration GUI (This is a daemon for configuring printers through D-BUS). I've found no documention, just websites where people have attributed it to problems, and instructions to turn it off.
So, something is to be changed in Fedora distributions!
Humm, unless FC4 has seriously fouled its nest, one really should be able to do something along the lines of this from a root shell:
#>chkconfig cups-config-daemon off #>service cups-config-daemon stop
And it should be stopped forever.
-- François Patte UFR de mathématiques et informatique Université Paris 5 - Paris http://www.math-info.univ-paris5.fr/~patte
On 2/23/06, François Patte francois.patte@math-info.univ-paris5.fr wrote:
Tim wrote:
Tim:
Do you have the cups-config-daemon running? It automatically reconfigures CUPS in some way that I've not seen detailed.
Yes. It is running and automatically destroys whatever I could change in cupsd.conf file to have my system working properly.
We have no information about this daemon: who starts it, how to stop its nuisances, etc.
Every man about cups system refer to http://localhost:631/documentation.html
I can read in http://localhost:631/sam.html#7_3
(Sorry for the French, I cannot find this in english! in german, spanish, but not english!)
Changer la configuration du serveur
Le fichier /etc/cups/cupsd.conf contient des directives de configuration qui contrôlent le fonctionnement du serveur. Chaque directive suivie de sa valeur est disposée seule sur une ligne. Les commentaires sont ouverts par le signe dièse ("#") au début de la ligne. Etant donné que le fichier de configuration du serveur est un fichier texte, vous pouvez le modifier au moyen de votre éditeur de texte préféré.
I translate the last sentence:
You can modify it (cupsd.conf) with your preferred text editor.
Why this possibility and why should I try to do so if "cups-config-daemon", systematically destroy my work?
The cups-config-deamon problem was discussed on the list back in August 2005. Check this CUPS article for more information: http://www.cups.org/articles.php?L301
Gene Heskett:
What distrib uses that, I never want to even burn a copy to cd if it does that.
FC4, at least. Did you think we were discussing something other than Fedora on this list? Are you so vehement against HAL, Kudzu, and other auto-config tools?
If they are more harmful than useful, yes, we must be vehement against them.
At least this one can be disabled
How to? as you say it yourself later on: there is no documentation!!!!
So far the only description I can find of it is what's written into the system configuration GUI (This is a daemon for configuring printers through D-BUS). I've found no documention, just websites where people have attributed it to problems, and instructions to turn it off.
So, something is to be changed in Fedora distributions!
-- François Patte UFR de mathématiques et informatique Université Paris 5 - Paris http://www.math-info.univ-paris5.fr/~patte
-- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Kam Leo wrote:
The cups-config-deamon problem was discussed on the list back in August 2005. Check this CUPS article for more information: http://www.cups.org/articles.php?L301
OK. I read it. Find that the daemon comes from hal-cups-utils package. Checked the content of the package and did not found any reason or justificatio to the utility of such a package......
I stopped the daemon, and removed it from list of services launched at start-up. What will happen to me now? We'll see later!
Thanks.
On Fri, 2006-02-24 at 10:00 +0530, François Patte wrote:
We have no information about this daemon: who starts it, how to stop its nuisances, etc.
The cups-config-daemon is started like other ones. If you use the command line, you can play with chkconfig; and if you use the GUI, it's listed in the "services" Gnome configuration whatsit (I don't know what KDE offers, I don't have it installed).
I stopped it on one of my PCs ages ago. I don't recall having any problems with that PC. I don't think it gets started by something else, such as starting CUPS starting it up as well. I don't have that PC running to look at what it's doing anymore.
Judging by what I think it's supposed to do, I wouldn't run it on a server unless your server kept having printers changed on it. I might run it on remote terminals so that they can find the LAN printer all by themselves. I was pleasantly surprised to see a FC3 box do that: I installed FC3 onto a new box, never configured CUPs, was browsing a webpage, hit print without thinking I hadn't configured printers on this box, and this PC used my network printer (on another PC) all by itself.
On Fri, Feb 24, 2006 at 10:00:21AM +0530, François Patte wrote:
Tim wrote:
Tim:
Do you have the cups-config-daemon running? It automatically reconfigures CUPS in some way that I've not seen detailed.
Yes. It is running and automatically destroys whatever I could change in cupsd.conf file to have my system working properly.
We have no information about this daemon: who starts it, how to stop its nuisances, etc.
Every man about cups system refer to http://localhost:631/documentation.html
I can read in http://localhost:631/sam.html#7_3
(Sorry for the French, I cannot find this in english! in german, spanish, but not english!)
Changer la configuration du serveur
Le fichier /etc/cups/cupsd.conf contient des directives de configuration qui contrôlent le fonctionnement du serveur. Chaque directive suivie de sa valeur est disposée seule sur une ligne. Les commentaires sont ouverts par le signe dièse ("#") au début de la ligne. Etant donné que le fichier de configuration du serveur est un fichier texte, vous pouvez le modifier au moyen de votre éditeur de texte préféré.
I translate the last sentence:
You can modify it (cupsd.conf) with your preferred text editor.
Why this possibility and why should I try to do so if "cups-config-daemon", systematically destroy my work?
FC4, at least. Did you think we were discussing something other than Fedora on this list? Are you so vehement against HAL, Kudzu, and other auto-config tools?
If they are more harmful than useful, yes, we must be vehement against them.
At least this one can be disabled
How to? as you say it yourself later on: there is no documentation!!!!
So far the only description I can find of it is what's written into the system configuration GUI (This is a daemon for configuring printers through D-BUS). I've found no documention, just websites where people have attributed it to problems, and instructions to turn it off.
So, something is to be changed in Fedora distributions!
Stop cups-config-daemon by doing: chkconfig cups-config-daemon off service cups-config-daemon stop The second line stops it, the first line sees that it does not start again.
Documentation: Have you looked in: http://localhost:631 then: On Line Help.
akonstam@trinity.edu wrote:
On Fri, Feb 24, 2006 at 10:00:21AM +0530, François Patte wrote:
Tim wrote:
Tim:
Do you have the cups-config-daemon running? It automatically reconfigures CUPS in some way that I've not seen detailed.
Yes. It is running and automatically destroys whatever I could change in cupsd.conf file to have my system working properly.
We have no information about this daemon: who starts it, how to stop its nuisances, etc.
Every man about cups system refer to http://localhost:631/documentation.html
I can read in http://localhost:631/sam.html#7_3
(Sorry for the French, I cannot find this in english! in german, spanish, but not english!)
Changer la configuration du serveur
Le fichier /etc/cups/cupsd.conf contient des directives de configuration qui contrôlent le fonctionnement du serveur. Chaque directive suivie de sa valeur est disposée seule sur une ligne. Les commentaires sont ouverts par le signe dièse ("#") au début de la ligne. Etant donné que le fichier de configuration du serveur est un fichier texte, vous pouvez le modifier au moyen de votre éditeur de texte préféré.
I translate the last sentence:
You can modify it (cupsd.conf) with your preferred text editor.
Why this possibility and why should I try to do so if "cups-config-daemon", systematically destroy my work?
FC4, at least. Did you think we were discussing something other than Fedora on this list? Are you so vehement against HAL, Kudzu, and other auto-config tools?
If they are more harmful than useful, yes, we must be vehement against them.
At least this one can be disabled
How to? as you say it yourself later on: there is no documentation!!!!
So far the only description I can find of it is what's written into the system configuration GUI (This is a daemon for configuring printers through D-BUS). I've found no documention, just websites where people have attributed it to problems, and instructions to turn it off.
So, something is to be changed in Fedora distributions!
Stop cups-config-daemon by doing: chkconfig cups-config-daemon off
I've done this 2 days ago (adding --level 2345 to be sure!)
BUT: still something is re-writing my cupsd.conf on my server and clients are still unable to print.....
This re-writing is not done at boot time but at some times I cannot determine.
I check the cron and anacron daemon, I check the crontab: nothing.
Who has invented something like and for what purpose; I feel to be under windows when you cannot do anything because everything is hidden!!!
François Patte wrote:
akonstam@trinity.edu wrote:
On Fri, Feb 24, 2006 at 10:00:21AM +0530, François Patte wrote:
Tim wrote:
Tim:
Do you have the cups-config-daemon running? It automatically reconfigures CUPS in some way that I've not seen detailed.
Yes. It is running and automatically destroys whatever I could change in cupsd.conf file to have my system working properly.
We have no information about this daemon: who starts it, how to stop its nuisances, etc.
Every man about cups system refer to http://localhost:631/documentation.html
I can read in http://localhost:631/sam.html#7_3
(Sorry for the French, I cannot find this in english! in german, spanish, but not english!)
Changer la configuration du serveur
Le fichier /etc/cups/cupsd.conf contient des directives de configuration qui contrôlent le fonctionnement du serveur. Chaque directive suivie de sa valeur est disposée seule sur une ligne. Les commentaires sont ouverts par le signe dièse ("#") au début de la ligne. Etant donné que le fichier de configuration du serveur est un fichier texte, vous pouvez le modifier au moyen de votre éditeur de texte préféré.
I translate the last sentence:
You can modify it (cupsd.conf) with your preferred text editor.
Why this possibility and why should I try to do so if "cups-config-daemon", systematically destroy my work?
FC4, at least. Did you think we were discussing something other than Fedora on this list? Are you so vehement against HAL, Kudzu, and other auto-config tools?
If they are more harmful than useful, yes, we must be vehement against them.
At least this one can be disabled
How to? as you say it yourself later on: there is no documentation!!!!
So far the only description I can find of it is what's written into the system configuration GUI (This is a daemon for configuring printers through D-BUS). I've found no documention, just websites where people have attributed it to problems, and instructions to turn it off.
So, something is to be changed in Fedora distributions!
Stop cups-config-daemon by doing: chkconfig cups-config-daemon off
I've done this 2 days ago (adding --level 2345 to be sure!)
BUT: still something is re-writing my cupsd.conf on my server and clients are still unable to print.....
This re-writing is not done at boot time but at some times I cannot determine.
I check the cron and anacron daemon, I check the crontab: nothing.
Who has invented something like and for what purpose; I feel to be under windows when you cannot do anything because everything is hidden!!!
Has anyone suggested the following:-
service cups-config-daemon stop chkconfig cups-config-daemon off
I always remove the daemon,known to cause havock on some systems
david
cups-config-daemon comes from the hal utilities package, I have found it best to stop hal and cups config daemon and this usually stops most problems.
John -- Registered Linux User 263680, get counted at http://counter.li.org
On sam fév 25, 2006 at 10:51:35 -0600, John Pierce wrote:
cups-config-daemon comes from the hal utilities package, I have found it best to stop hal and cups config daemon and this usually stops most problems.
No! This is not a solution: stopping hal will stop to much thing!
There a lack of information somewhere in cups and developpers should tell where is the template for re-writing cups.conf and how to stop it.
What is the meaning of a filefor configuration with more than 800 lines if you cannot change anything in it because a devil (not a daemon!) if destroying everything you could have done to fit your system.
On Sun, Feb 26, 2006 at 05:18:31PM +0100, François Patte wrote:
On sam fév 25, 2006 at 10:51:35 -0600, John Pierce wrote:
cups-config-daemon comes from the hal utilities package, I have found it best to stop hal and cups config daemon and this usually stops most problems.
No! This is not a solution: stopping hal will stop to much thing!
There a lack of information somewhere in cups and developpers should tell where is the template for re-writing cups.conf and how to stop it.
What is the meaning of a filefor configuration with more than 800 lines if you cannot change anything in it because a devil (not a daemon!) if destroying everything you could have done to fit your system.
I have an off the wall question for you. Do you have a /sys directory on your system? ------------------------------------------- Aaron Konstam Computer Science Trinity University telephone: (210)-999-7484
akonstam@trinity.edu wrote:
On Tue, Feb 21, 2006 at 03:21:23PM -0600, John Pierce wrote:
Well, I had similar problems getting cups to serve up to my local
<snip>
Ok, lets take this from the top. The cupsd.conf should have only one Listen statement in most cases, and that is: Listen 127.0.0.1
Clients on the same LAN will be able to print to the printer without any further configuration. That is , no server line needs o appear in the clients.conf file. Further, if the Server line appears in the client.conf file then the client will not be able to print to a local printer.
Under no circumstances should system-config-printer be used to configure CUPS printers. It has serious flaws for this purpose.
If the original poster used system-config-printer to configure the server printers this is one reason printer might have not worked on the clients.
Yes I did. But this answer might be a joke: I read the documentation under http://localhost:631/admin
<quote>
Adding Your First Printer from the Command-Line
/usr/sbin/lpadmin -p printer -E -v device -m ppd ENTER
</quote>
OK I have a HP laserjet 1015
<quote>
You'll find a complete list of PPD files and the printers they will work with in Appendix C, "Printer Drivers".
</quote>
Nothing for my printer.... (system-config-printer has it).
So:
<quote>
Adding Your First Printer from the Web
</quote>
Same problem: the only hp laserjet in the list is: 1020 and, of course, this does not match my printer.....
What can I do?