LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-13-2008, 11:05 PM   #1
MTUser2007
LQ Newbie
 
Registered: Mar 2008
Posts: 8

Rep: Reputation: 0
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.
 
Old 10-14-2008, 07:22 AM   #2
cmnorton
Member
 
Registered: Feb 2005
Distribution: Ubuntu, CentOS
Posts: 585

Rep: Reputation: 35
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.
 
Old 10-14-2008, 08:48 PM   #3
MTUser2007
LQ Newbie
 
Registered: Mar 2008
Posts: 8

Original Poster
Rep: Reputation: 0
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 View Post
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.
 
Old 10-15-2008, 08:52 AM   #4
cmnorton
Member
 
Registered: Feb 2005
Distribution: Ubuntu, CentOS
Posts: 585

Rep: Reputation: 35
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem when changing ip address on 2 network card machine tdunk Linux - Networking 1 08-01-2008 06:03 PM
How to link to a network printer using the IP address Yu Gi Oh Linux - Newbie 4 05-20-2008 04:51 AM
Changing Mac Address on Network Card? neopiper Linux - Networking 10 11-21-2007 02:14 AM
Cannot install a network printer, that is connected directly to the network. Epeescott Linux - Networking 3 03-19-2006 08:31 PM
FC4 I get IP address (on any network) but I can't access to outside the network bodhisattva Fedora 10 02-07-2006 06:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration