Cups web interface disabled

Moderator: BarryK

Post Reply
Derek B
Posts: 4
Joined: Thu Feb 15, 2024 6:17 pm
Has thanked: 1 time

Cups web interface disabled

Post by Derek B »

I'm trying to setup my hp envy 6452e printer in EasyOS 5.7 Kirkstone. I have been a user on and off of puppy linux since puppy 431. Usually Cups works out of the box with any flavour of puppy I have tried, even StudioPuppy lol.
When I choose Cups out of the setup/hardware, then choosing Cups Printer Management, and clicking "no" on the dialog asking if I'm setting up a new printer since I've already read it 3x, I'm faced with a browser window which reads: Web Interface is Disabled
The web interface is currently disabled. Run "cupsctl WebInterface=yes" to enable it.
Well, upon running the above instructions in a sakura terminal via copy and shift-ctrl-v to paste it there, it reports
cupsctl: Not Found, which is different than the standard 'bash: lov: command not found' (lov is a non-command I used to illustrate the point and has bearing on my question)
Many thanks to anyone who has a good idea of what to do or investigate, please help!

User avatar
Flash
Moderator
Posts: 897
Joined: Tue Dec 03, 2019 3:13 pm
Location: Arizona, U.S.
Has thanked: 46 times
Been thanked: 105 times

Re: Cups web interface disabled

Post by Flash »

Maybe "cupsctl" is something in cups, not a terminal?

Chaos coordinator :?
FeodorF
Posts: 161
Joined: Tue Jul 14, 2020 7:52 pm
Has thanked: 8 times
Been thanked: 24 times

Re: Cups web interface disabled

Post by FeodorF »

@Derek B

Go to /etc/cups/cupsd.conf and add WebInterface Yes to it.

Code: Select all

LogLevel info
SystemGroup lpadmin
# Only listen for connections from the local machine.
Listen localhost:631
Listen /var/run/cups/cups.sock
# Disable printer sharing.
Browsing Off
BrowseOrder allow,deny
BrowseAllow all
DefaultAuthType Basic
WebInterface Yes

It'll be better to do this:

Go to /mnt/.easy_ro/easy_sfs/etc/cups and copy cupsd.conf to /etc/cups

Code: Select all

#
# "$Id: cupsd.conf.in 7199 2008-01-08 00:16:30Z mike $"
#
#   Sample configuration file for the Common UNIX Printing System (CUPS)
#   scheduler.  See "man cupsd.conf" for a complete description of this
#   file.
#

# Log general information in error_log - change "info" to "debug" for
# troubleshooting...
LogLevel info

# Administrator user group...
# playdayz advised these two... 110827 pemasu...
# SystemGroup root
SystemGroup lpadmin

# Only listen for connections from the local machine.
Listen localhost:631
Listen /var/run/cups/cups.sock

# Show shared printers on the local network.
Browsing On
BrowseOrder allow,deny
BrowseAllow all

# Default authentication type, when authentication is required...
DefaultAuthType Basic

#20201001 BK seems that we now need this, as default is web-interface disabled...
WebInterface Yes

# Restrict access to the server... 110827 pemasu comment-out...
#<Location />
#  Order deny,allow
#</Location>

# Restrict access to the admin pages... 110827 pemasu comment-out...
#<Location /admin>
#  Order deny,allow
#</Location>

# Restrict access to configuration files... 110827 pemasu comment-out Require user...
<Location /admin/conf>
  AuthType None
  #Require user @SYSTEM
  Order deny,allow
</Location>

# Set the default printer/job policies...
<Policy default>
  <Limit All>
    Order deny,allow
  </Limit>
</Policy>

#
# End of "$Id: cupsd.conf.in 7199 2008-01-08 00:16:30Z mike $".
#
Post Reply

Return to “EasyOS”