|
View:
New views
6 Messages
—
Rating Filter:
Alert me
|
|
|
Help with CUPS reconfigurationI am trying to reconfigure a bunch of machine to acomodate new domain
names. One of these machines is a fairly old FreeBSD machine (6.3). We have done a search through all the files of these machines looking for references to the old domain name. One of these is in /etc/printcap/ /etc/printcap has a comment in it that says it is auto generated by cops. It refers to /usr/local/etc/cups/printers.conf as the source file. However, this file does not have a reference to the old domain. My guess is that this is picked up automatically from the machine name, when it is built. Therein lies the issue. I cant connect remotely port 631 on this machine as the certificate is no longer valid, as the domain has changed. When I go to the machine an try to connect to localhost:631, it gets connected, but no combination of username password works. How can I force cups to reconfigure? -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? _______________________________________________ freebsd-questions@... mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@..." |
|
|
Re: Help with CUPS reconfiguration> Therein lies the issue. I cant connect remotely port 631 on this machine as
> the certificate is no longer valid, as the domain has changed. Normally, a browser will let you proceed if you give it the correct instructions. > When I > go to the machine an try to connect to localhost:631, it gets connected, > but no combination of username password works. > root should work. > > How can I force cups to reconfigure? > > man cupsd.conf -- Adam Vande More _______________________________________________ freebsd-questions@... mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@..." |
|
|
Re: Help with CUPS reconfigurationOn Thu, Nov 05, 2009 at 02:27:17PM -0600, Adam Vande More wrote:
> > Therein lies the issue. I cant connect remotely port 631 on this machine as > > the certificate is no longer valid, as the domain has changed. > > > Normally, a browser will let you proceed if you give it the correct > instructions. OK, but it doesn't. > > > > When I > > go to the machine an try to connect to localhost:631, it gets connected, > > but no combination of username password works. > > > > root should work. I agree, it _should_ but as I stated, it _does_ not. > > > > > > How can I force cups to reconfigure? > > > > > man cupsd.conf OK, I read that. It tells me how to configure cups, but as far as I can tell, it does not tell me how to get cups to regenerate /etc/printcap, which is what I need to do. -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? _______________________________________________ freebsd-questions@... mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@..." |
|
|
Re: Help with CUPS reconfigurationOn Thu, 5 Nov 2009 17:22:39 -0500, stan <stanb@...> wrote:
> It tells me how to configure cups, but as far as I can > tell, it does not tell me how to get cups to regenerate /etc/printcap, > which is what I need to do. I have very few experience with CUPS (prefer apsfilter or PS), but as far as I understood, the printcap file is altered every time a printer is changed. So when you remove the existing printer and create it again, all files should be regenerated, both the /etc/printcap file as well as the files in the /usr/local/etc/cups subtree. Deleting and recreating still sounds like the "Windows" way of doing things, but due to my impression that CUPS is designed in a way that it appeals this special kind of users' expectations, this may be the only way to achieve your goal. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... _______________________________________________ freebsd-questions@... mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@..." |
|
|
Re: Help with CUPS reconfigurationOn Fri, Nov 06, 2009 at 12:23:51AM +0100, Polytropon wrote:
> On Thu, 5 Nov 2009 17:22:39 -0500, stan <stanb@...> wrote: > > It tells me how to configure cups, but as far as I can > > tell, it does not tell me how to get cups to regenerate /etc/printcap, > > which is what I need to do. > > I have very few experience with CUPS (prefer apsfilter or PS), > but as far as I understood, the printcap file is altered > every time a printer is changed. So when you remove the > existing printer and create it again, all files should be > regenerated, both the /etc/printcap file as well as the > files in the /usr/local/etc/cups subtree. > > Deleting and recreating still sounds like the "Windows" > way of doing things, but due to my impression that CUPS > is designed in a way that it appeals this special kind > of users' expectations, this may be the only way to achieve > your goal. I agree with everthing you said. The question I am sking, though, is "How can I modify the CUPS configuration, without using the web based interface (which is not working, in such a manner that the /etc/printcap file gets rebuilt. -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? _______________________________________________ freebsd-questions@... mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@..." |
|
|
Re: Help with CUPS reconfigurationOn Fri, 6 Nov 2009 08:50:39 -0500, stan <stanb@...> wrote:
> The question I am sking, though, is "How can I modify the CUPS > configuration, without using the web based interface (which is not working, > in such a manner that the /etc/printcap file gets rebuilt. The problem is that hte web interface seems to be a very integrated part of the CUPS configuration which isn't intended to be "not used". An option would maybe be to rewrite the files in /usr/local/etc/cups as well as /etc/printcap manually to reflect the desired changes, but I am not sure that this will be sufficient - maybe there are other files that are touched by automated processes during the printer installation / reconfiguration through the web interface... I think the only important parts in /etc/printcap are those that reference to the printer filter and those that set some specific values (resolution etc.); everything else is kept in the CUPS files, and both places of settings should contain the same individual data (e. g. same spool dir reference). If you could take the following example as a starting point and correct the settings manually so they show the same settings as what you already have configured in CUPS. Laserjet|ljet4d;r=600x600;q=high;c=full;p=a4;m=auto:\ :lp=/dev/lpt0:\ :if=/usr/local/etc/apsfilter/basedir/bin/apsfilter:\ :sd=/var/spool/lpd/Laserjet:\ :lf=/var/spool/lpd/Laserjet/log:\ :af=/var/spool/lpd/Laserjet/acct:\ :mx#0:\ :sh: I'm not sure if cap_mkdb has to be run for /etc/printcap. If you're using a network attached printer, a reference to its name (known through /etc/hosts mechanism) should be okay. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... _______________________________________________ freebsd-questions@... mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@..." |
| Free embeddable forum powered by Nabble | Forum Help |