View previous topic :: View next topic |
Author |
Message |
taskara Advocate
Joined: 10 Apr 2002 Posts: 3763 Location: Australia
|
Posted: Sun Apr 20, 2003 11:54 am Post subject: how can I remotely configure cups? |
|
|
Hi,
I have a gentoo server which I want to run a printer off using cups.
I believe you can only log onto cups' web config interface from the local machine, ie http://localhost:631
however, as my server has no X, is there a way I can remotely configure the printer from a client machine on my network? (I'm sure there is, I just don't know how!)
cheers!! _________________ Kororaa install method - have Gentoo up and running quickly and easily, fully automated with an installer! |
|
Back to top |
|
|
Mpemba Effect Apprentice
Joined: 18 Sep 2002 Posts: 156
|
Posted: Sun Apr 20, 2003 5:12 pm Post subject: |
|
|
check your cups.conf - there two place to need to edit one here
Code: | <Location />
Order Deny,Allow
Deny From All
Allow From 10.0.0.*
</Location> |
and the other right at the bottom
Code: | ## Restrict access to local domain
Order Deny,Allow
Deny From All
Allow From 10.0.0.* |
Just do a search for "Allow From" and you should see it. I think the config file was originally "Allow From 127.0.0.1" but i've changed mine to any machine on my network 10.0.0.* |
|
Back to top |
|
|
Sarah Tux's lil' helper
Joined: 14 Apr 2003 Posts: 82
|
Posted: Sun Apr 20, 2003 5:28 pm Post subject: |
|
|
In additon to what Mpemba did, I also had to add a "Listen..." line for the IP address of the CUPS server. It originally was set to only listen on 127.0.0.1:631 and would not respond to any requests over the LAN. So if the CUPS server is on 10.0.0.1 just add a "Listen 10.0.0.1:631" line. _________________ Probably the last sound heard before the Universe folded up like a paper hat would be someone saying, "What happens if I do this?" - Terry Pratchett, Interesting Times |
|
Back to top |
|
|
taskara Advocate
Joined: 10 Apr 2002 Posts: 3763 Location: Australia
|
Posted: Sun Apr 20, 2003 9:41 pm Post subject: |
|
|
thanks guys that was most helpful!
I did discover I can configure using lynx on the server, however it only seems to want to browse to http://localhost:631 sometimes... so that is weird.
this has solved my issue, HOWEVER - is there a way to get the gimp-print and gimp-print-cups drivers working on a server?
I don't want to have to compile all the dependencies!
The printer is a Samsung ML-1440, which I think only works with the gimp-print drivers (ml-1220).
I have emerged gimp-print and gimp-print-cups with --nodeps, but setting up a printer doesn't show the samsung drivers, only the standard ones that come with cups.
any thoughts? I think I can download a ppd from www.linuxprinting.org - how can I tell cups to use that driver?
thank you both very much! _________________ Kororaa install method - have Gentoo up and running quickly and easily, fully automated with an installer! |
|
Back to top |
|
|
|