I’ve just installed CUPS to play around with on my Raspberry Pi, and it seems that the default configuration file is very restrictive. I am unable to even access the Web Interface from another machine as Remote Administration is not enabled.
First thing to do – allow other machines to access CUPS.
Changing Line 20 from
fixed that first problem.
Now, I can access the CUPS Forbidden page, but nothing else.
On line 36, the code below should be present.
Looks like CUPS is not explicitly set to allow connections from the local LAN.
Changing it to this has allowed me access from another machine, however I cannot access the “Administration” page.
That still gets me a forbidden error.
Looking at the configuration file, again it has not explicitly specified that access from the LAN is allowed.
On line 41, the code below should be present.
Changing it to this seems to solve it
Now I can access the CUPS server from another machine on my network to configure CUPS as my Raspberry Pi is headless at the moment. Just make sure you restart the CUPS service by running
/etc/init.d/cups restart after you’ve changed your configuration file !
Hope this helps people !