Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Printing or CUPS issue

  1. #1

    Default 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!

    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.

  2. #2
    Join Date
    Jun 2008
    Location
    /dev/swat
    Posts
    1,181

    Default Re: Printing or CUPS issue

    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
    Linux[openSUSE, KDE], PHP, MySQL, Wordpress, Tech News, etc :
    http://anl4u.com

  3. #3

    Default Re: Printing or CUPS issue

    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?

  4. #4

    Default Re: Printing or CUPS issue

    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.

  5. #5
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    20,397
    Blog Entries
    1

    Default Re: Printing or CUPS issue

    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.

  6. #6

    Default Re: Printing or CUPS issue

    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.

  7. #7
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    20,397
    Blog Entries
    1

    Default Re: Printing or CUPS issue

    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. Anything further to check, correct, or add???

  8. #8

    Default Re: Printing or CUPS issue

    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.

  9. #9
    Join Date
    Jun 2008
    Location
    Brisbane Australia
    Posts
    30

    Default Re: Printing or CUPS issue

    Mate,

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

    Dave

  10. #10

    Default Re: Printing or CUPS issue

    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.

Page 1 of 2 12 LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •