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 659.9k 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.
    • A
      Ace of Space
      last edited by

      @timotl:

      After playing around for a couple hours, I have LCDProc dev working in 2.3.
      I have no idea how to make/update a package, but it's not too hard to manually install it.

      1- Add lcdproc and freetype2 packages.
        pkg add http://pkg.freebsd.org/freebsd:10:x86:64/release_3/All/freetype2-2.6.2.txz
        pkg add http://pkg.freebsd.org/freebsd:10:x86:64/release_3/All/lcdproc-0.5.7_2.txz

      2- Copy package related files from 2.2.6 install
        lcdproc.inc -> /usr/local/pkg
        lcdproc.xml -> /usr/local/pkg
        lcdproc_client.php -> /usr/local/pkg
        lcdproc_screens.xml -> /usr/local/pkg

      lcdproc.sh -> /usr/local/etc/rc.d

      3- Backup your existing configuration. All, with RRD data if you care.
          Backup Package Manager configuration only

      4- Add the contents of LCDPROC-config.xml to the <installedpackages>section of the Package Manager backup.
      5- Restore the edited Package Manager backup and reboot.

      Configure under Services/LCDproc as usual.
      The package seems to behave exactly as before
      Tested with CrystalFontz 635 with CrystalFontz Packet driver.
      I have attached the needed files, but if you have a working 2.2.6 you can just copy them from it and get the installedpackages section from your own config.
      If you grab them from 2.2.6, a couple files needed to be edited for different paths. The DriverPath in lcdproc.inc and I think the paths in lcdproc.sh also.

      Should need to be said, but please carefully test this before doing anything to a production machine. I think it's relatively safe, but you never know.

      -timotl</installedpackages>

      Hi,

      thank you for your installation instructions for pfSense 2.3.x :), but i have two small problems. I'am using lcdproc on my astaro/sophos asg 220 utm Rev. 4 (NEXCOM NSA 3110) and the LCD-Display works fine with the settings for the watchguard x750.

      The first problem is, that i can select any setting for the lcd backlight and nothing changes… the backlight will turn off after a few seconds, but i want to have the lcd backlight allway on :)

      my Second problem is, that the screens are changing after a few seconds, but it is possible to stop the auto screen roatation? I want to select a screen like "load averge" with the keys from the lcd display, and this screen should be there until reboot or selecting another screen?

      Ace

      Photo-2016-07-05-21-27-16_4523.JPG
      Photo-2016-07-05-21-27-16_4523.JPG_thumb

      1 Reply Last reply Reply Quote 0
      • _Adrian__
        _Adrian_
        last edited by

        @uknownme123:

        Thank you, got it working following all directions here. To elaborate for noobies like me. This is only if you only have lcdproc install, if you have other packages, it will not restore anything else except lcdproc

        Basically go to Diagnostics > Backup & Restore.

        Backup area: choose "Package Manager", leave everything default.
        Click on "Download configuration as XML", a file be be downloaded unto your pc.
        Using your PC, edit this file using text editor, delete everything except <installedpackages></installedpackages>.
        Copy everything from timotl's "LCDPROC-config.xml" and put them in between <installedpackages></installedpackages>.
        Save your edited .xml file.

        Go back to Restore Backup in pfSense GUI, in restore area: choose "Package Manager", Configuration file: will be the file you saved edited on your PC.
        Click "Restore Configuration."

        Got a message saying "The firewall will reboot after restoring the configuration." but didn't have to reboot. I went under Services and saw LCDproc. Nothing was listed under Install Packages, even after reboot. But no worries, everything is working as it should.

        Thanks a million!

        Same here… followed it to a T and no joy after the reboot...
        package isn't even showing up in package manager.

        If it ain't broken, fix it till it is :P

        1 Reply Last reply Reply Quote 0
        • _Adrian__
          _Adrian_
          last edited by

          So…
          I went ahead and axed it all!

          Erased the CF card and started fresh.
          After everything was said setup i went ahead and was gonna re-attempt the lcd package
          To my surprise i got this :

          
          Fetching lcdproc-0.5.7_2.txz: .......... done
          Installing lcdproc-0.5.7_2...
          pkg: wrong architecture: FreeBSD:10:amd64 instead of FreeBSD:10:i386
          
          Failed to install the following 1 package(s): http://pkg.freebsd.org/freebsd:10:x86:64/release_3/All/lcdproc-0.5.7_2.txz
          
          

          Am I drunk ?? LOL

          If it ain't broken, fix it till it is :P

          1 Reply Last reply Reply Quote 0
          • D
            DeLorean
            last edited by

            On the Watchguard Firebox E-series , you must use the 32bit version of the LCDproc package :

            http://pkg.freebsd.org/freebsd:10:x86:32/release_3/All/lcdproc-0.5.7_2.txz

            I have made that mistake also when i was messing arroung to get it working on 2.3

            Grtz
            DeLorean

            1 Reply Last reply Reply Quote 0
            • _Adrian__
              _Adrian_
              last edited by

              Thanks… after i retried it was showing that the package is installed  :o

              I's so confused LOL
              Also the package now shows up under services but yet is missing under the installed packages tab.

              either way...
              What are the LCD setting for a X750e ??

              If it ain't broken, fix it till it is :P

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

                @timotl:

                2- Copy package related files from 2.2.6 install
                  lcdproc.inc -> /usr/local/pkg
                  lcdproc.xml -> /usr/local/pkg
                  lcdproc_client.php -> /usr/local/pkg
                  lcdproc_screens.xml -> /usr/local/pkg

                lcdproc.sh -> /usr/local/etc/rc.d

                Another sad LCDProc user; trying to follow timotl's instruction but I don't find /usr/local/etc/rc.d/lcdproc.sh on my WatchGuard Firebox X750e after the upgrade. What am I missing (apart from that file, of course :))?

                Any help? Or can anyone post that file please?

                -San

                1 Reply Last reply Reply Quote 0
                • D
                  DeLorean
                  last edited by

                  @MacUsers:

                  @timotl:

                  2- Copy package related files from 2.2.6 install
                    lcdproc.inc -> /usr/local/pkg
                    lcdproc.xml -> /usr/local/pkg
                    lcdproc_client.php -> /usr/local/pkg
                    lcdproc_screens.xml -> /usr/local/pkg

                  lcdproc.sh -> /usr/local/etc/rc.d

                  Another sad LCDProc user; trying to follow timotl's instruction but I don't find /usr/local/etc/rc.d/lcdproc.sh on my WatchGuard Firebox X750e after the upgrade. What am I missing (apart from that file, of course :))?

                  Any help? Or can anyone post that file please?

                  -San

                  Do you use the Shellcmd and WGXexpc packages ?
                  I can provide you the right files , but i have a configfile which included the settings for these 2 packages also.

                  Grtz
                  DeLorean

                  1 Reply Last reply Reply Quote 0
                  • D
                    DeLorean
                    last edited by

                    This is the method that i use for LCDproc to work on a Watchguard x550e , x750e and x1250e
                    after a CLEAN install of pfSense.

                    1 ) Download and install WinSCP (we need this at the end)  :
                    https://winscp.net/download/WinSCP-5.9-Setup.exe

                    2 ) Download and extract the zip with the LCDproc files from the attachment of this reply

                    3 ) Login with the Web UI in your Watchguard device and go to :
                    Diagnostics -> command prompt

                    4 ) Install the package Freetype by copypaste this line :
                    pkg add http://pkg.freebsd.org/freebsd:10:x86:32/release_3/All/freetype2-2.6.2.txz
                    Click execute and wait a few seconds

                    5 ) Install the package LCDproc by copypaste this line :
                    pkg add http://pkg.freebsd.org/freebsd:10:x86:32/release_3/All/lcdproc-0.5.7_2.txz
                    Click execute and wait till it complets (less then a minute)

                    6 ) Enable Secure Shell by going to Web UI :
                    System -> Advanced and enable "Secure Shell Server" and save

                    7 ) Start WinSCP and use these settings :
                    Fileprotocol :SFTP
                    IP-adress: 192.168.1.1 (IP of your Watchguard)
                    Port : 22
                    Username : root
                    Password : pfsense

                    pfsense is the default password, change this by your password if different

                    8 ) In WinSCP you have on your left side a colum with the contents of your local pc filesystem,
                    and on the right the pfSense filesystem.
                    Browse on the left to the folder you previously downloaded,
                    and copy these files by drag and drop :
                    lcdproc.inc -> /usr/local/pkg/
                    lcdproc.xml -> /usr/local/pkg/
                    lcdproc_client.php -> /usr/local/pkg/
                    lcdproc_screens.xml -> /usr/local/pkg/
                    lcdproc.sh -> /usr/local/etc/rc.d/lcdproc.sh

                    1. In the Web UI go to diagnostics -> Backup & Restore
                      and select "Packagemanager under Restore Area.
                      Browse to the file installedpackages.xml from the zip you downloaded.

                    2. Reboot your Watchguard

                    If your LCD screen is not show any information,then go to :
                    Services -> LCDproc
                    And unselect "enable LCDproc" and save.
                    Select "enable LCDproc" and save.
                    After this, go to Status -> Services
                    and restart the LCDproc by clicking halfround circle icon
                    LCDproc shall now be working.

                    The zip contains the files Timotl provides in this reply -> https://forum.pfsense.org/index.php?topic=44034.msg609820#msg609820
                    and i added my installedpackages.xml config file to it instead of the instructions on modifying your config file.
                    In this installedpackages.xml config file there also the settings for Shellcmd and WGXepc packages.

                    Good luck ;-)

                    Grtz
                    DeLorean

                    lcdproc2.3.2.zip

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

                      Is anyone attempting to convert the LCDProc package to 2.3?

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

                        @DeLorean:

                        Do you use the Shellcmd and WGXexpc packages ?
                        I can provide you the right files , but i have a configfile which included the settings for these 2 packages also.

                        I think I'm using Shellcmd. How do I know for sure?

                        -S

                        1 Reply Last reply Reply Quote 0
                        • D
                          DeLorean
                          last edited by

                          @MacUsers:

                          @DeLorean:

                          Do you use the Shellcmd and WGXexpc packages ?
                          I can provide you the right files , but i have a configfile which included the settings for these 2 packages also.

                          I think I'm using Shellcmd. How do I know for sure?

                          -S

                          Under services, if Shellcmd is installed, then its showing under services.

                          Grtz
                          DeLorean

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

                            @DeLorean:

                            Under services, if Shellcmd is installed, then its showing under services.

                            I think I was wrong then. I don't see Shellcmd under Services menu.

                            -S

                            pfSenseService.png
                            pfSenseService.png_thumb

                            1 Reply Last reply Reply Quote 0
                            • D
                              DeLorean
                              last edited by

                              You can make a backup of your entire config,
                              and try my tutorial.

                              Grtz
                              DeLorean

                              1 Reply Last reply Reply Quote 0
                              • U
                                uknownme123
                                last edited by

                                Thanks DeLorean !!! Your methods and explanation from above helped a lot of people. It's working for me well.

                                1 Reply Last reply Reply Quote 0
                                • U
                                  uknownme123
                                  last edited by

                                  @_Adrian_:

                                  I's so confused LOL
                                  Also the package now shows up under services but yet is missing under the installed packages tab.

                                  It is not an official pfSense package and will not show up in "installed packages" section of pfSense. Therefore you can't remove/install in in pfSense GUI. It is a freeBSD package, part of the process performed using the steps above was to rig pfSense's GUI to show LCDproc_dev, using xml codes from 2.2.6. Hope this help clear up some confusion.

                                  1 Reply Last reply Reply Quote 0
                                  • D
                                    DeLorean
                                    last edited by

                                    @uknownme123:

                                    Thanks DeLorean !!! Your methods and explanation from above helped a lot of people. It's working for me well.

                                    Nice to hear  ;)

                                    grtz
                                    DeLorean

                                    1 Reply Last reply Reply Quote 0
                                    • A
                                      ayumifanshawn
                                      last edited by

                                      @DeLorean:

                                      This is the method that i use for LCDproc to work on a Watchguard x550e , x750e and x1250e
                                      after a CLEAN install of pfSense.

                                      1 ) Download and install WinSCP (we need this at the end)  :
                                      https://winscp.net/download/WinSCP-5.9-Setup.exe

                                      2 ) Download and extract the zip with the LCDproc files from the attachment of this reply

                                      3 ) Login with the Web UI in your Watchguard device and go to :
                                      Diagnostics -> command prompt

                                      4 ) Install the package Freetype by copypaste this line :
                                      pkg add http://pkg.freebsd.org/freebsd:10:x86:32/release_3/All/freetype2-2.6.2.txz
                                      Click execute and wait a few seconds

                                      5 ) Install the package LCDproc by copypaste this line :
                                      pkg add http://pkg.freebsd.org/freebsd:10:x86:32/release_3/All/lcdproc-0.5.7_2.txz
                                      Click execute and wait till it complets (less then a minute)

                                      6 ) Enable Secure Shell by going to Web UI :
                                      System -> Advanced and enable "Secure Shell Server" and save

                                      7 ) Start WinSCP and use these settings :
                                      Fileprotocol :SFTP
                                      IP-adress: 192.168.1.1 (IP of your Watchguard)
                                      Port : 22
                                      Username : root
                                      Password : pfsense

                                      pfsense is the default password, change this by your password if different

                                      8 ) In WinSCP you have on your left side a colum with the contents of your local pc filesystem,
                                      and on the right the pfSense filesystem.
                                      Browse on the left to the folder you previously downloaded,
                                      and copy these files by drag and drop :
                                      lcdproc.inc -> /usr/local/pkg/
                                      lcdproc.xml -> /usr/local/pkg/
                                      lcdproc_client.php -> /usr/local/pkg/
                                      lcdproc_screens.xml -> /usr/local/pkg/
                                      lcdproc.sh -> /usr/local/etc/rc.d/lcdproc.sh

                                      1. In the Web UI go to diagnostics -> Backup & Restore
                                        and select "Packagemanager under Restore Area.
                                        Browse to the file installedpackages.xml from the zip you downloaded.

                                      2. Reboot your Watchguard

                                      If your LCD screen is not show any information,then go to :
                                      Services -> LCDproc
                                      And unselect "enable LCDproc" and save.
                                      Select "enable LCDproc" and save.
                                      After this, go to Status -> Services
                                      and restart the LCDproc by clicking halfround circle icon
                                      LCDproc shall now be working.

                                      The zip contains the files Timotl provides in this reply -> https://forum.pfsense.org/index.php?topic=44034.msg609820#msg609820
                                      and i added my installedpackages.xml config file to it instead of the instructions on modifying your config file.
                                      In this installedpackages.xml config file there also the settings for Shellcmd and WGXepc packages.

                                      Good luck ;-)

                                      Grtz
                                      DeLorean

                                      oh my god im so happy this worked on my astaro 220 thank you so much!

                                      now i just need the settings to take control of the screen.

                                      1 Reply Last reply Reply Quote 0
                                      • A
                                        ayumifanshawn
                                        last edited by

                                        ok thanks to several of you guys i was able to get the lcd proc server into my pfsense.

                                        however im not sure as to what settings i should apply for use in a astaro 220

                                        ive searched the net and found conflicting information and after several hours of trial and error i have not got it to work.

                                        any suggestions?
                                        im running pfsense 2.3.2 i386

                                        so just a update i got it to work with the watchguard driver  on parallel port 1 2 rowes 20 columns 8bit wiring lcdtime port speed default

                                        now i just cant get the backlight to stay on any ideas?

                                        1 Reply Last reply Reply Quote 0
                                        • G
                                          geekypr
                                          last edited by

                                          Hi,
                                          I'm trying to get it to works a S1602b lcd panel on a gteprotect box. I just installed the latest lcdprc package and i don't get it to work.
                                          Looking around i found that this panel uses the hd47780 driver, but I need some assistance on how to identify the port it is using.

                                          On services the lcddriver service is running, but, I still get an error "lcdproc: Start client procedure. Error counter: (0)"

                                          Any help will be much appreciated….

                                          1 Reply Last reply Reply Quote 0
                                          • R
                                            rickygm
                                            last edited by

                                            Hi , I tried to run in pfsense 2.3.2 and Astaro 425 , the service is installed but not start

                                            check this page
                                            https://github.com/Treer/FreeBSD-ports/blob/devel/README.md

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