Printing or CUPS issue

opensuse 11

Trying to install a network printer.

First off using the yast system it allows me to setup my printer but doesn’t seem to be able to scan for it.

smb://xphompc05/psc750 or smb://mshome/xphompc05/psc750 usually does it for other linux distros.

If I go to the cups interface I can’t do much as it’s asking fo authentication and the username/pass isn’t my linux user. So can’t add/modify printers or even stop or delete jobs.

Back in 10.3 I had similar issues which were sorted by stopping the firewall - this solution doesn’t work now! :slight_smile:

So I can install the printer as I know the smb address but Suse just isn’t allowing me to get to it.

cups is installed and running. smb is installed and running. nmb is installed and running.

Firstly how can I get Suse/yast to playy with my printer?

Secondly how can I access the cups admin interface?

Ta.

Mate i face this problem before.
And have solve it here in my thread.
Now whenever i install any openSUSE version, using that steps solve the headache for me.
hoping this thread will solve it for you.
Below is the link:
Link to thread

Ta for that, have now managed to log into cups and add my printer. All works if I disable the firewall.

Next question is what ports do I open on the firewall for cups?

OK, bit further, have allowed cups in the external zon of the firewall. Still no printing unless I close the firewall. localhost:631 gives me an error of ‘unable to connect to the cifs-host’ or thereabouts.

Are there any ports I should be opening?

Ta.

Good network printing guide here:

Printer Sharing: Windows Print Server for Suse/openSUSE Linux Clients [Samba and LPD]

For samba printing, you need ports 135, 137, 138 and 139 open.

Firewall is only allowing me to add three ports open so I’ve had to use 135 137:139.

Whichever way still not working though, same errors.

Firewall is only allowing me to add three ports open so I’ve had to use 135 137:139.

I don’t understand this. (I’m able to add as many as I like). Under Allowed Services, select ‘Advanced’. Here you can enter the desired ports.

Review the guide linked above.

Important ports for samba are UDP ports 137, 138 and TCP ports 139, 445

Make sure its not a firewall issue on windows machine as well. Network gurus, please assist. :slight_smile: Anything further to check, correct, or add???

Thanks for the time deano!

With the firewall running these ports are open

TCP 135 139 445 515
UDP 137 138 515

cups is also added as an allowed service.

However, if I try to print then no joy. The localhost:631 gives me these messages:

Unable to connect to CIFS host, will retry in 60 seconds… and also something about not recognizing an NT_ something.

With firewall off all prints fine.

Ta.

Mate,

don’t worry about the ports to poke open. Just use the Yast firewall tool and allow the IPP service

Dave

IPP was set to allowed service.

Panic over for now as I’ve replaced Suse with another distro.

Couldn’t get it sorted in 103. or 11 so maybe I’ll wait for the next release.

Cheers.

chrishall57 wrote:

>
> Ta for that, have now managed to log into cups and add my printer. All
> works if I disable the firewall.
>
> Next question is what ports do I open on the firewall for cups?
>
>

I had a similair problem (if I’ve understood you correctly) in that I could
create a CUPS printer but could only access it from the CUPs server. To
connect from other machines I had to edit the file /etc/cups/cupsd.conf on
the CUPs server machine. You need to comment out the line “listen
localhost:631” and replace it with “Port 631” (ignore the quote
characters).

HTH