Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've installed cups and cups-client.

I'm in the lpadmin group.

Now when I click on 'Add Printer' in the Administration nothing happens.

The access log says it was successful though.

localhost - - [11/May/2012:13:43:49 +0200] "POST /admin/ HTTP/1.0" 200 60 - -
localhost - - [11/May/2012:13:43:49 +0200] "POST /admin/ HTTP/1.0" 200 4987 - -

EDIT: it does not work with localhost:631 or but with the ipv6 version http://[::1]:631

EDIT2: contents of /etc/hosts:   localhost

# The following lines are desirable for IPv6 capable hosts
::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters

EDIT3: changed the first line of the /etc/hosts to localhost ipv4-localhost ipv4-loopback, still don't working. if I bind cups to it is obviously not reachable via [::1]:631 but still not working via either.

share|improve this question
i.e. with ipv6 it works? :) Also, what is the value of AuthType for CUPS-Add-Modify-Printer (if it is Default then provide DefaultAuthType too). – barti_ddu May 11 '12 at 18:29
it only works with ipv6. DefaultAuthType is Basic and AuthType for everything in the config is Default. – snippl May 12 '12 at 7:53
good; now post contents of your /etc/hosts file. – barti_ddu May 12 '12 at 11:56
1. try changing entry localhost in /etc/hosts -> localhost ipv4-localhost ipv4-loopback (restart cups after that); 2. you may also try to bind cups to ipv4 explicitely (by changing Listen localhost:631 -> Listen in cups conf). – barti_ddu May 12 '12 at 12:56

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.