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

    LCDproc Looses Connection - Restarting service Fixes but goes down again shortly after

    Scheduled Pinned Locked Moved pfSense Packages
    7 Posts 4 Posters 1.1k 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.
    • N
      ngr2001
      last edited by

      PFSense+ 24.11-RELEASE
      LCDproc 0.12_2

      LCDproc is working just fine with my CrystalFontz LCD, however after what appears to be only a few hours, LCDproc looses its connection and the LCD stops displaying data. If I restart the LCDproc services everything starts working again. A few hours later the service looses connection again and the LCD goes dead.

      Error In Log:

      179634fa-923b-46a6-b9c5-a219a931d117-image.png

      Config Below:

      7527a249-75b2-42df-b07c-16f313670c1b-image.png

      E 1 Reply Last reply Reply Quote 0
      • E
        elvisimprsntr @ngr2001
        last edited by elvisimprsntr

        @ngr2001

        I use the following port.

        USB COM port 1 (/dev/cuaUO)
        

        Screenshot 2025-01-28 at 2.17.26 PM.png

        N 1 Reply Last reply Reply Quote 0
        • N
          ngr2001 @elvisimprsntr
          last edited by

          @elvisimprsntr

          I have a hunch that maybe resetting the firewall states breaks the LCDproc connection. I've been bouncing that a lot lately for some rule testing, perhaps this was self inflected. I will continue to monitor. I think the port is really tied to your specific hardware setup, but if it dies again ill give that a go for sure.

          E 1 Reply Last reply Reply Quote 0
          • E
            elvisimprsntr @ngr2001
            last edited by elvisimprsntr

            @ngr2001

            it's the same physical port just a different kernel driver. From what I read tty is for dial-in devices and cua is for dial-out devices.

            N 1 Reply Last reply Reply Quote 0
            • N
              ngr2001 @elvisimprsntr
              last edited by

              @elvisimprsntr

              Well you learn something new each day.

              I flipped it, still works, ill leave it your way and see how it goes.

              thanks.

              1 Reply Last reply Reply Quote 0
              • jimpJ
                jimp Rebel Alliance Developer Netgate
                last edited by

                Firewall states wouldn't affect LCDProc since it's not a TCP connection, it's local serial.

                You should definitely be using cuaU0 or a cuaU<n> port, though, not a TTY.

                I have LCDProc going on two systems, one with a crystalfontz display and another with an adafruit LCD+Backpack setup. Both work great and never lose connection.

                Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                Need help fast? Netgate Global Support!

                Do not Chat/PM for help!

                fireodoF 1 Reply Last reply Reply Quote 0
                • fireodoF
                  fireodo @jimp
                  last edited by fireodo

                  @jimp

                  Hi,

                  as far as I know the lcd driver (LCDd) is connected to the display via USB/Serial/Parallel but the lcdproc process is connected to the driver in this way:

                  Bind=127.0.0.1
                  Port=13666
                  

                  Extract from pfctl -ss:

                  lo0 tcp 127.0.0.1:20639 -> 127.0.0.1:13666       ESTABLISHED:ESTABLISHED
                  lo0 tcp 127.0.0.1:13666 <- 127.0.0.1:20639       ESTABLISHED:ESTABLISHED
                  

                  So there could be a possibility to loose connection when states get killed ... IMHO (If I'm wrong please correct)

                  EDIT: I cleared all states and this made the lcdproc also to loose connection flooding the syslog. After restarting lcdproc all fine again.

                  Regards,
                  fireodo

                  Kettop Mi4300YL CPU: i5-4300Y @ 1.60GHz RAM: 8GB Ethernet Ports: 4
                  SSD: SanDisk pSSD-S2 16GB (ZFS) WiFi: WLE200NX
                  pfsense 2.8.0 CE
                  Packages: Apcupsd, Cron, Iftop, Iperf, LCDproc, Nmap, pfBlockerNG, RRD_Summary, Shellcmd, Snort, Speedtest, System_Patches.

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