Mailinglist Archive: opensuse (3103 mails)
| < Previous | Next > |
Re: [SLE] CUPS Problem
- From: Graham Smith <gqs@xxxxxxxxxxxx>
- Date: Tue, 18 Feb 2003 22:39:01 +1100
- Message-id: <200302182239.01691.gqs@xxxxxxxxxxxx>
On Tue, 18 Feb 2003 19:53, Jerome Lyles wrote:
> I have installed and uninstalled CUPS many times over the last few days but
> my problem persists. I'm using SuSE 8.1 Pro on two computers on a LAN.
> They both have CUPS installed in the server configuration. The one with
> the printer attached is the server and works fine. The other one is the
> remote.
>
------- Snipped ------------------
> I can access the cups server computer from the remote with my browser.
------ Snipped --------------------
> I've run out of ideas. Can anyone help me solve this problem?
> Jerome.
It appears you have permission problems with browsing. Yast does not really
setup the configuration files properly for a LAN install.
The easiest way to fix the problem is to edit the file /etc/cups/cupsd.conf on
the machine which has the printer connected. This file is very well
commented.
Before you start please backup this file so that if you muck up anything you
can revert back.
Now with your favourite editor open /etc/cups/cupsd.conf and go down to about
Line 50 you will see
#ServerName myhost.domain.com
Add a new entry after this line as
ServerName <your full server name>
e.g If your server is known as fred and your domain is linux you would add
ServerName fred.linux
At Line 420 you will see
########
######## Browsing Options
########
>From there go down to about Line 478
#BrowseAddress x.y.255.255
#BrowseAddress x.255.255.255
Now add in BrowseAddress <Your IP Address.255>
eg if your ip address is say 10.11.12.1 you would enter
BrowseAddress 10.11.12.255
Further down add in BrowseAllow <Your IP Address.*>
e.g as per above IP address
BrowseAllow 10.11.12.*
THat should get you going. There are a number of other options you can add in
latter in this file. Save the file and restart cups.
-----------------------------------------------
On the client machine edit /etc/cups/client.conf and go to line 40
and add in your server name the same as you did before
e.g
ServerName fred.linux
You should now be able to print from the client machine now.
--
Regards,
Graham Smith
---------------------------------------------------------
> I have installed and uninstalled CUPS many times over the last few days but
> my problem persists. I'm using SuSE 8.1 Pro on two computers on a LAN.
> They both have CUPS installed in the server configuration. The one with
> the printer attached is the server and works fine. The other one is the
> remote.
>
------- Snipped ------------------
> I can access the cups server computer from the remote with my browser.
------ Snipped --------------------
> I've run out of ideas. Can anyone help me solve this problem?
> Jerome.
It appears you have permission problems with browsing. Yast does not really
setup the configuration files properly for a LAN install.
The easiest way to fix the problem is to edit the file /etc/cups/cupsd.conf on
the machine which has the printer connected. This file is very well
commented.
Before you start please backup this file so that if you muck up anything you
can revert back.
Now with your favourite editor open /etc/cups/cupsd.conf and go down to about
Line 50 you will see
#ServerName myhost.domain.com
Add a new entry after this line as
ServerName <your full server name>
e.g If your server is known as fred and your domain is linux you would add
ServerName fred.linux
At Line 420 you will see
########
######## Browsing Options
########
>From there go down to about Line 478
#BrowseAddress x.y.255.255
#BrowseAddress x.255.255.255
Now add in BrowseAddress <Your IP Address.255>
eg if your ip address is say 10.11.12.1 you would enter
BrowseAddress 10.11.12.255
Further down add in BrowseAllow <Your IP Address.*>
e.g as per above IP address
BrowseAllow 10.11.12.*
THat should get you going. There are a number of other options you can add in
latter in this file. Save the file and restart cups.
-----------------------------------------------
On the client machine edit /etc/cups/client.conf and go to line 40
and add in your server name the same as you did before
e.g
ServerName fred.linux
You should now be able to print from the client machine now.
--
Regards,
Graham Smith
---------------------------------------------------------
| < Previous | Next > |