LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Changing Network Address of Network Printer (https://www.linuxquestions.org/questions/linux-newbie-8/changing-network-address-of-network-printer-676172/)

MTUser2007 10-13-2008 11:05 PM

Changing Network Address of Network Printer
 
I am trying to troubleshoot printing from a networked printer on a Gentoo Linux server I inherited the care of.

lpstat -p -d tells me that "Network host '192.168.1.7' is busy; will retry in 30 seconds.

Unfortunately, the 192.168.1.7 is the old IP address of the printer. It was changed to 192.168.1.53 when our network and DCHP was re-arranged.

I thought I could fix this using this article: http://www.linuxquestions.org/linux/...ter_using_CUPS In trying to edit cups.conf, I don't find any reference to 192.168.1.7 to edit to 192.168.1.53.

In which file is the reference to 192.168.1.7 located? Do I need to do anything else besides edit with Nano etc.

Thank you for your help.

cmnorton 10-14-2008 07:22 AM

Two ways to do it
 
The actual IP addresses are in /etc/cups/printers.conf.

Have you tried to use http://localhost:631 ?


I prefer it. On Red Hat EL systems, it's mandatory. Using RH's interface sets our older non-9100 port printers to 9100, and then I used to have to set them all back to 10001.

Usually, I prefer hand-editing config files, but I've found CUPS' web interface to be pretty good across many Linux distros.

MTUser2007 10-14-2008 08:48 PM

Thanks for the help! Success editing the file. Can I follow up on your suggestion about using http://localhost:631 How do you get that to work from the command line? There is no graphical interface on my Gentoo server that I am aware of.

Quote:

Originally Posted by cmnorton (Post 3309661)
The actual IP addresses are in /etc/cups/printers.conf.

Have you tried to use http://localhost:631 ?


I prefer it. On Red Hat EL systems, it's mandatory. Using RH's interface sets our older non-9100 port printers to 9100, and then I used to have to set them all back to 10001.

Usually, I prefer hand-editing config files, but I've found CUPS' web interface to be pretty good across many Linux distros.


cmnorton 10-15-2008 08:52 AM

Lynx?
 
I don't know if that interface will work with a text only browser, bit it's worth a try. Otherwise, you seem to be doing fine editing the printer config files. Also, there's command line CUPS:

http://www.cups.org/doc-1.1/sam.html


All times are GMT -5. The time now is 06:43 PM.