Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have a big problem setting up cups. I installed RedHat 9.0A and have the problem that I cannot connect to cups.
Cupsd is running, cups.conf is set up, a firewall is not enabled. If I now type localhost:631 in my browser, the browser reports connection to localhost refused.
I don't have any ideas how to solve this problem. Thanks to everyone who can help me.
I suggest that you take another look at your cupsd.conf file, paying particular attention to the <Location /> section. I believe you must specifically permit access by localhost (a 127.0.0.1 line or so) in addition to whatever other nets you want to configure for. I'd also suggest that you post your cupsd.conf if you're still having problems. One more thing, take a look in /var/log/cups/ for useful info.
<Location />
Order Deny, Allow
Deny From All
Allow From 127.0.0.1
</Location>
It would be a great deal if others post their final solution if a problem is solved. In many forums I can see that a possible solution is posted and the original poster doesn't give any feedback if the tip was right.
Everything was working... I moved our print server to a new office and changed from 192.168.x.x to 10.0.x.x and everythig stopped working. All I did was replace the lines. I even backed up the file first and then did a diff. Cups will start but I get connection refused.
Here is the params
<Location /printers>
Order Deny,Allow
Deny From All
Allow From 10.0.0.*
</Location>
<Location /printers/epsonc82>
Order Deny,Allow
Deny From All
Allow From 10.0.0.*
AuthType None
</Location>
<Location />
Allow From 10.0.0.*
</Location>
Browsing On
BrowseProtocols cups
BrowseAllow from 127.0.0.*
BrowseAllow from 10.0.0.*
When I nmap the box port 631 is not opened. Am I missing something simple. Perhaps I messed up the file prior to backing it up.
What happens if you drop your old config back in, restart cupsd, and try connecting from localhost? (I assume that's what you're saying has now broken, rather than just remote access)
I reinstalled CUPS and now redhat-config-printer hoses. I can add the printper but If I print a test page cups dies. I tried adding the printer through the CUPS's web GUI and it adds fine until I try to print a test page and then CUPS just dies. It is an epson stylus 82c. Like I said it wos working.
I am not sure where the problem is. I will post here if I find it.
Hi all-
I'm using 64 bit Slack 13.37.
I was configuring cups and when localhost 631 asked me for a name and password I stupidly gave my login and associated password instead of root and its password. Now I can't access 631 at all. I have ascertained all daemons are listening and have chmod +x /etc/rc.d/rc.cups; stopped and restarted rc.cups and rebooted. All to no avail. Short of ripping out cups and reinstalling it I don't know what to do. Here's the error log for cups:
root@mediabox:~# cat /var/log/cups/error_log
E [17/Jul/2012:17:22:38 -0700] Unable to set ACLs on root certificate "/var/run/cups/certs/0" - Operation not supported
E [17/Jul/2012:17:26:15 -0700] Returning HTTP Forbidden for CUPS-Get-Devices (no URI) from localhost
E [17/Jul/2012:17:26:15 -0700] [CGI] CUPS-Get-Devices request failed with status 401: Forbidden
E [17/Jul/2012:17:27:18 -0700] Returning HTTP Forbidden for CUPS-Get-Devices (no URI) from localhost
E [17/Jul/2012:17:28:31 -0700] Returning HTTP Forbidden for CUPS-Get-Devices (no URI) from localhost
E [17/Jul/2012:17:28:31 -0700] [CGI] CUPS-Get-Devices request failed with status 401: Forbidden
E [17/Jul/2012:17:28:39 -0700] Returning HTTP Forbidden for CUPS-Get-Devices (no URI) from localhost
E [17/Jul/2012:18:10:13 -0700] Unable to set ACLs on root certificate "/var/run/cups/certs/0" - Operation not supported
E [18/Jul/2012:16:00:41 -0700] Unable to set ACLs on root certificate "/var/run/cups/certs/0" - Operation not supported
E [18/Jul/2012:16:25:25 -0700] Unable to set ACLs on root certificate "/var/run/cups/certs/0" - Operation not supported
root@mediabox:~#
I hope I'm not hijacking this thread.
Can any one help me? TIA
Cicciuzzu (a Sicilian nickname for Frank)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.