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

    LCDProc 0.5.4-dev

    Scheduled Pinned Locked Moved pfSense Packages
    587 Posts 68 Posters 620.4k 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.
    • stephenw10S
      stephenw10 Netgate Administrator
      last edited by

      It's been a while since I looked but I believe the service monitored is listed in the package config xml file.

      Edit: Yep in the <service>section in lcdproc.xml

      Steve</service>

      1 Reply Last reply Reply Quote 0
      • M
        matrix200
        last edited by

        Yeah, but I am not sure what I should write in there to make it work.
        I can't obviously right php because thats what is actually running.
        So I guess I need to write a custom is_running function instead?

        Current network "hardware" :
        Running 2.2RC in Virtualbox 4.2.16.

        Retired:
        ALIX2C2 , 4 gigabyte disk cf card running 2.0 (official release).

        1 Reply Last reply Reply Quote 0
        • stephenw10S
          stephenw10 Netgate Administrator
          last edited by

          I believe that the Status: Services: page just greps for whatever is in the 'executable' field in the output of ps so you should be able to put the php client in there. Try it and see.

          Steve

          1 Reply Last reply Reply Quote 0
          • M
            matrix200
            last edited by

            Tried to put both in lcdproc.xml and config.xml  the string lcdproc.php (that should have been enough right?) and nada.
            Still shows as stopped.

            Current network "hardware" :
            Running 2.2RC in Virtualbox 4.2.16.

            Retired:
            ALIX2C2 , 4 gigabyte disk cf card running 2.0 (official release).

            1 Reply Last reply Reply Quote 0
            • stephenw10S
              stephenw10 Netgate Administrator
              last edited by

              You re-installed lcdproc with the changed file?

              Steve

              1 Reply Last reply Reply Quote 0
              • M
                matrix200
                last edited by

                No, but I ran some other tests which I think mean it doesn't just check ps output.
                I wrote a shellscript that just sleeps for a while and called it LCDd.
                Obviously if I do ps | grep LCDd it returns a non empty result.
                Yet the service appears to be stopped while the script is running.
                Does it have to literally match the executable string or can I just use a part of it?
                So does it have to be "/usr/local/bin/php -f /usr/local/pkg/lcdproc_client.php"  as appears in lcdproc.inc where the client is launched?

                Current network "hardware" :
                Running 2.2RC in Virtualbox 4.2.16.

                Retired:
                ALIX2C2 , 4 gigabyte disk cf card running 2.0 (official release).

                1 Reply Last reply Reply Quote 0
                • stephenw10S
                  stephenw10 Netgate Administrator
                  last edited by

                  Hmm, more complex than I thought then. Perhaps it requires the correct rc file, clearly it needs that for the service restart button onn the Status: Services: page. I don't know, I'm just guessing now. ::)
                  You should probably ask this as a new question in the packages section.

                  Steve

                  1 Reply Last reply Reply Quote 0
                  • P
                    peekmessage
                    last edited by

                    Would it be possible to add 38400 bps as an option for the port speed?
                    Take a look at: https://forum.pfsense.org/index.php?topic=90569.msg515874#msg515874 for the changes I had to make to get nMedia lcd working.

                    Thanks,
                    Ali

                    1 Reply Last reply Reply Quote 0
                    • T
                      Topper727
                      last edited by

                      For my 64 bit 2.2.2 and the latest lcdproc I have to modify the lcdproc.inc file where is says "localhost' to "127.0.0.1" for mine to start up.  I fixed this package in past but no time to fix this time around.  I need to figure github out more.

                      file for my system is in  /usr/local/pkg

                      need file already fixed I can upload mine

                      Dell 2950 g3 server
                      Intel(R) Xeon(R) CPU E5430 @ 2.66GHz
                      Current: 2000 MHz, Max: 2667 MHz
                      8 CPUs: 2 package(s) x 4 core(s)
                      8152 MiB and 600meg 10k drive
                      Pfsense 2.4 .. Hoping to get the phpvirtualbox going again.

                      1 Reply Last reply Reply Quote 0
                      • T
                        Topper727
                        last edited by

                        https://github.com/pfsense/pfsense-packages/pull/945

                        Dell 2950 g3 server
                        Intel(R) Xeon(R) CPU E5430 @ 2.66GHz
                        Current: 2000 MHz, Max: 2667 MHz
                        8 CPUs: 2 package(s) x 4 core(s)
                        8152 MiB and 600meg 10k drive
                        Pfsense 2.4 .. Hoping to get the phpvirtualbox going again.

                        1 Reply Last reply Reply Quote 0
                        • stephenw10S
                          stephenw10 Netgate Administrator
                          last edited by

                          Nice. Thanks for that Topper.  :)

                          1 Reply Last reply Reply Quote 0
                          • T
                            Topper727
                            last edited by

                            No problem. Docknotor if I spelled right also got the one going also with same patch I did. So he deserves some of thanks also :)

                            Dell 2950 g3 server
                            Intel(R) Xeon(R) CPU E5430 @ 2.66GHz
                            Current: 2000 MHz, Max: 2667 MHz
                            8 CPUs: 2 package(s) x 4 core(s)
                            8152 MiB and 600meg 10k drive
                            Pfsense 2.4 .. Hoping to get the phpvirtualbox going again.

                            1 Reply Last reply Reply Quote 0
                            • D
                              doktornotor Banned
                              last edited by

                              I'm actually seriously confused how the patch helps. The define is not used anywhere.

                              https://github.com/pfsense/pfsense-packages/blob/master/config/lcdproc/lcdproc.inc#L187
                              https://github.com/pfsense/pfsense-packages/blob/master/config/lcdproc-dev/lcdproc.inc#L188

                              1 Reply Last reply Reply Quote 0
                              • stephenw10S
                                stephenw10 Netgate Administrator
                                last edited by

                                The binding to localhost issue?

                                Ah, you mean LCDPROC_HOST is not used?

                                1 Reply Last reply Reply Quote 0
                                • D
                                  doktornotor Banned
                                  last edited by

                                  Yeah, exactly… :D

                                  1 Reply Last reply Reply Quote 0
                                  • T
                                    Topper727
                                    last edited by

                                    It was told me in Github that it does not bind right.

                                    cbuechler commented on Aug 8
                                    Merged, thanks! The reason that ends up failing is lcdproc doesn't bind to IPv6, and localhost will return as ::1 in that case.

                                    Dell 2950 g3 server
                                    Intel(R) Xeon(R) CPU E5430 @ 2.66GHz
                                    Current: 2000 MHz, Max: 2667 MHz
                                    8 CPUs: 2 package(s) x 4 core(s)
                                    8152 MiB and 600meg 10k drive
                                    Pfsense 2.4 .. Hoping to get the phpvirtualbox going again.

                                    1 Reply Last reply Reply Quote 0
                                    • chpalmerC
                                      chpalmer
                                      last edited by

                                      Anyone know what it would take to get this into 2.3??

                                      Triggering snowflakes one by one..
                                      Intel(R) Core(TM) i5-4590T CPU @ 2.00GHz on an M400 WG box.

                                      1 Reply Last reply Reply Quote 0
                                      • T
                                        Topper727
                                        last edited by

                                        If they do not have support for it in 2.3 I don't think I want to upgrade then.. But I have been keeping it going for bit now. Maybe I will be able to do something when 2.3 comes out.

                                        Dell 2950 g3 server
                                        Intel(R) Xeon(R) CPU E5430 @ 2.66GHz
                                        Current: 2000 MHz, Max: 2667 MHz
                                        8 CPUs: 2 package(s) x 4 core(s)
                                        8152 MiB and 600meg 10k drive
                                        Pfsense 2.4 .. Hoping to get the phpvirtualbox going again.

                                        1 Reply Last reply Reply Quote 0
                                        • chpalmerC
                                          chpalmer
                                          last edited by

                                          @Topper727:

                                          If they do not have support for it in 2.3 I don't think I want to upgrade then.. But I have been keeping it going for bit now. Maybe I will be able to do something when 2.3 comes out.

                                          Id try to but its above my pay grade.  :)  maybe a bribe to ya??

                                          Triggering snowflakes one by one..
                                          Intel(R) Core(TM) i5-4590T CPU @ 2.00GHz on an M400 WG box.

                                          1 Reply Last reply Reply Quote 0
                                          • T
                                            Topper727
                                            last edited by

                                            I have to fix my display since I moved and broke the usb port on it. I can fix it. once I do I will see what I can do to fix it.
                                            Not really sure I need a bounty.. but donation for it is great.. always helpful .. If you wanted I mean.

                                            Dell 2950 g3 server
                                            Intel(R) Xeon(R) CPU E5430 @ 2.66GHz
                                            Current: 2000 MHz, Max: 2667 MHz
                                            8 CPUs: 2 package(s) x 4 core(s)
                                            8152 MiB and 600meg 10k drive
                                            Pfsense 2.4 .. Hoping to get the phpvirtualbox going again.

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