Installing printer. localhost:631 not working. Yast2 printer module keeps freezing
I'm trying to install my new printer -- a brother HL-2070N -- but I'm running into a couple of dumb problems.
1/ http://localhost:631/ doesn't work. I checked that I have the following line in /etc/hosts
I can also ping localhost.
smolloy@linux:~> grep -i localhost /etc/hosts
Cups should be listening on port 631, and I confirmed this as follows,
When I use konqueror to go to localhost:631 I get an error message,
linux:~ # lsof -i tcp:631
COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
cupsd 3902 lp 0r IPv4 11974 TCP *:ipp (LISTEN)
Can anyone help me solve this so I can configure my printer?
An error occurred while loading http://localhost:631/:
Connection to host localhost is broken.
2/ yast2 printer configuration stalls every time I try to use it to configure a new printer. It starts by going through a series of steps -- Check environment, read firewall settings, check database of printers, load current settings, detect printers -- but it never gets past "load current settings". While it is stuck here, "top" shows that y2base and cupsd are taking up a huge percentage of the CPU.
I've tried to fix this by reinstalling cups, and a whole raft of other programs, but with no success :(
Can anyone advise me on this problem? Perhaps it's related to the first problem?