Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    2.1.5 -> 2.2 Printer is not working

    Scheduled Pinned Locked Moved 2.2 Snapshot Feedback and Problems - RETIRED
    17 Posts 7 Posters 4.8k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • K
      kejianshi
      last edited by

      Have you been running a printer share directly connected to pfsense?

      1 Reply Last reply Reply Quote 0
      • w0wW
        w0w
        last edited by

        Yes. Using CUPS and tricks to make it possible :)

        1 Reply Last reply Reply Quote 0
        • K
          kejianshi
          last edited by

          Hmmmm - I wouldn't think all those "tricks" would survive an upgrade.

          1 Reply Last reply Reply Quote 0
          • w0wW
            w0w
            last edited by

            I have automated it mostly, for upgrade, it was working flawlessly since 2.0 RC versions untill NOW.
            BTW… CUPS is running at least, but only main page. Any other link from this page - timed out or internal server error, may be misconfiguration error or this is caused by missing ulpt.
            Anyway the main problem for me now is that ulpt driver is not working in this release candidate of pfsense. That's the problem. Any suggestions?

            1 Reply Last reply Reply Quote 0
            • P
              phil.davis
              last edited by

              It's a whole new version of FreeBSD under the hood of pfSense 2.2. Driver things that you used in the previous pfSense were for FreeBSD 8.3 - so they would have survived and still run as pfSense version incremented but FreeBSD stayed similar enough.

              As you are hopefully aware, there is no support for doing that stuff on your firewall. If want to do it then you will need to find the corresponding drivers/libraries/packages… for FreeBSD 10.1 and put that on your system, like I suppose you must have done some time back to get it going on the previous pfSense.

              As the Greek philosopher Isosceles used to say, "There are 3 sides to every triangle."
              If I helped you, then help someone else - buy someone a gift from the INF catalog http://secure.inf.org/gifts/usd/

              1 Reply Last reply Reply Quote 0
              • w0wW
                w0w
                last edited by

                Driver things?
                ULPT is not some old and crappy just some printer driver, this driver provides support for USB printers that follow the printer
                bi- or uni-directional protocol. I mean any printer with USB connection should work using this driver at least at base functionality like receive and send data.
                ulpt driver  was embedded into freebsd for the years, not 8.3 only, but 10.1 according to this man
                https://www.freebsd.org/cgi/man.cgi?query=ulpt&sektion=4

                I think pfsense just compiled this time without ulpt driver for some reason. I can add ulpt.ko now to check if it's working, but i don't understand why it's not compiled this time.

                1 Reply Last reply Reply Quote 0
                • w0wW
                  w0w
                  last edited by

                  Ok, I have downloaded and configured to load ulpt.ko from 10.0 release. Printer is now detected. Updated CUPS, CUPS is running, but not printing, this should be CUPS issue that not this thread problem.
                  I request to include the ulpt back into pfsense kernel if it possible.

                  1 Reply Last reply Reply Quote 0
                  • KOMK
                    KOM
                    last edited by

                    I can't remember too many times when I need a printer attached to my firewall.

                    1 Reply Last reply Reply Quote 0
                    • w0wW
                      w0w
                      last edited by

                      Is there any reason not to do it? :)

                      1 Reply Last reply Reply Quote 0
                      • K
                        kejianshi
                        last edited by

                        I'm not sure if running a samba share there is a security issue or not.  I'd have to let people test it to death.

                        1 Reply Last reply Reply Quote 0
                        • H
                          heper
                          last edited by

                          @kejianshi:

                          I'm not sure if running a samba share there is a security issue or not.  I'd have to let people test it to death.

                          everything you add to a firewall is a potential additional attack target where you'd need to keep up with the security advisories /updates / ….
                          every addon package pfsense has a risk of being less secure then a "stock" bsd release.

                          1 Reply Last reply Reply Quote 0
                          • C
                            charliem
                            last edited by

                            @kejianshi:

                            I'm not sure if running a samba share there is a security issue or not.  I'd have to let people test it to death.

                            Samba?  Not sure what that has to do with CUPS.  I agree it's poor form to 'accessorize' your firewall, but not everyone has the luxury of that, or some may prefer to learn from personal experience.

                            The question of including the ulpt module has come up before: https://forum.pfsense.org/index.php?topic=78498.msg428605#msg428605 but I guess it never went any further.  Including it as a loadable module would seem to be a pretty low risk.

                            1 Reply Last reply Reply Quote 0
                            • w0wW
                              w0w
                              last edited by

                              I don't see any risks if ulpt is compiled into kernel also, I don't ask you to compile CUPS or samba-tumba into kernel. What risks could be caused by ulpt, theoretically? If you don't connect any printer it is not executing any code. Including module instead of compiling into, would be great also for paranoids.  ;D

                              1 Reply Last reply Reply Quote 0
                              • w0wW
                                w0w
                                last edited by

                                https://redmine.pfsense.org/issues/4108

                                1 Reply Last reply Reply Quote 0
                                • C
                                  cmb
                                  last edited by

                                  @w0w:

                                  https://redmine.pfsense.org/issues/4108

                                  No. It's a firewall, not a print server.

                                  1 Reply Last reply Reply Quote 0
                                  • w0wW
                                    w0w
                                    last edited by

                                    I did not asked you to compile a print server into pfsense is not it? :) And a print server is not the same as usb printer driver support, not even close.
                                    If you just will add ulpt.ko module into pfsense distribution, this is not changing the main concept and do not adding any security holes if firewall user itself don't bring them up. But as I answered on bug tracker… No means no.

                                    1 Reply Last reply Reply Quote 0
                                    • First post
                                      Last post
                                    Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.