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

Firebox LCD Driver for LCDProc

Hardware
97
398
412.4k
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.
  • S
    stephenw10 Netgate Administrator
    last edited by Apr 25, 2011, 10:46 AM Apr 25, 2011, 10:44 AM

    @hmeister:

    MMmmm….

    Still can't seem to get this syntax to work - it keeps saying my drive is mounted and I can't seem to write the commands...
    install.embed.lcdd.sh

    That post you quoted is over three years old! It's the first version of the driver built against a much older version of pfSense. It won't work for 2.0 at all.

    The most recent version complete with an install script that works for 1.2.3 or 2.0 and many other improvements is here.

    What version are you installing on? There is a good chance that the install script from the first version will have left your file system incorrectly mounted.

    Steve

    1 Reply Last reply Reply Quote 0
    • H
      hmeister
      last edited by Apr 25, 2011, 11:13 AM

      Ok…

      I will look at the other thread... just trying to figure out where to start and Yes- it messed with the setup and I started over...!
      I tried the upgrade and that did not work either going from 1.2.3. to 2 x386.
      That thread shows RC2. I am running 1.2.3...
      I am running the embedded 1.2.3 on hard drive and that is something else I am trying to figure out - how and what file to use for upgrading...
      The last attempt just cycles the boot process over and over... I was able to upgrade using the GUI.
      Thx for the pointer and I will read some more...
      H.

      Best Regards;
      H.

      1 Reply Last reply Reply Quote 0
      • S
        stephenw10 Netgate Administrator
        last edited by Apr 25, 2011, 12:39 PM

        Hmmm,
        The file I linked to in that post, lcdd4.tar, is intended for embedded systems. I'm not sure what it would do on a full install.
        The embedded nanobsd install has the file system mounted read only to prevent excessive writes to flash media. The script re-mounts the filesystem RW, install the LCD driver and daemon and then re-mounts it read only. Obviously you do not want a full HD install mounted RO. However it uses the included functionality on pfSense to do the re-mounting, /etc/rc.conf_mount_rw and /etc/rc.conf_mount_ro. If those files are not included in a full install then it will probably work just fine. Or it may just throw up errors!  ::)
        Try it and see if it's a fresh install with nothing to loose.

        Steve

        1 Reply Last reply Reply Quote 0
        • E
          erisan500
          last edited by Apr 25, 2011, 1:15 PM

          stephenw10,

          lcdd4.tar works perfectly on 2.0 RC1 full install (uniproc kernel) as I have this installed on my firebox core xxl.

          Greetings,
          Eric

          1 Reply Last reply Reply Quote 0
          • S
            stephenw10 Netgate Administrator
            last edited by Apr 25, 2011, 1:23 PM

            Great, that's good to know.
            Can you remember if it gave any errors?

            Steve

            1 Reply Last reply Reply Quote 0
            • E
              erisan500
              last edited by Apr 25, 2011, 1:24 PM

              No errors at all, just run the install script and poef…enjoy your lcd display

              1 Reply Last reply Reply Quote 0
              • H
                hmeister
                last edited by Apr 25, 2011, 4:32 PM

                erisan - are you running 2.0 on CF or 1.2.3?
                I am running 1.2.3 on a hard drive but am thinking to try and use the CF.
                Thx….

                Best Regards;
                H.

                1 Reply Last reply Reply Quote 0
                • E
                  erisan500
                  last edited by Apr 25, 2011, 7:35 PM

                  I'm running 2.0 on a HD

                  1 Reply Last reply Reply Quote 0
                  • H
                    hmeister
                    last edited by Apr 26, 2011, 4:59 PM

                    Ok Erisan and Steve - I will try the script tonight on the 1.2.3 embedded build on my HD install.
                    Thanks for the help… and thank-you for your script...
                    Will update you later tomorrow -
                    Regards;
                    H.

                    Best Regards;
                    H.

                    1 Reply Last reply Reply Quote 0
                    • P
                      phr0zen
                      last edited by Apr 27, 2011, 6:04 PM Apr 27, 2011, 3:32 PM

                      I am having an issue installing the lcdd4.tar.  (firebox x700, 1.2.3 embeded installed via live cd, onto HD)

                      Steps:
                      1. uploaded the lcdd4.tar via web interface
                      2. opened console via serial (putty)
                      3. tar -xvf lcdd4.tar
                      4. ./install-embed2.lcdd.sh

                      I get this:

                      ln /lib/libkvm.so.4:  File Exists

                      I try to run it anyway with:
                      /usr/local/etc/rc.d/lcdd.sh

                      I get:
                      /libexec/ld-elf.so.1: Shared object "libkvm.so.3" not found, required by "lcdproc"

                      Can anyone help me?
                      (btw, this was a fresh install, only thing i did after interface setup was try to install this lccd4.tar)

                      Thanks!

                      EDIT:

                      Ok… so I think I figured it out.  Got it working at least.
                      I had to edit the install-embed.lcdd.sh. It looked like it was creating the wrong symlinks for 1.2.3 (gathered from other posts).  Here is what I edited it to:

                      
                      #!/bin/csh
                      /etc/rc.conf_mount_rw
                      cp -R lcdd /usr/local/share/
                      cp /usr/local/share/lcdd/lcdd.sh /usr/local/etc/rc.d/
                      chown -R root:wheel /usr/local/share/lcdd
                      chmod -R ugo=rX /usr/local/share/lcdd
                      chown root:wheel /usr/local/etc/rc.d/lcdd.sh
                      chmod ugo=rx /usr/local/etc/rc.d/lcdd.sh
                      ln -s /lib/libc.so.7 /lib/libc.so.6
                      ln -s /lib/libkvm.so.4 /lib/libkvm.so.3
                      /etc/rc.conf_mount_ro
                      
                      
                      1 Reply Last reply Reply Quote 0
                      • S
                        stephenw10 Netgate Administrator
                        last edited by Apr 27, 2011, 6:08 PM

                        Yes, my fault! Sorry  :-[

                        libkvm.so.5 is only in 2.0.

                        I'm late for a dinner party, I'll edit something later!

                        Steve

                        1 Reply Last reply Reply Quote 0
                        • S
                          stephenw10 Netgate Administrator
                          last edited by Apr 27, 2011, 10:43 PM

                          Ok, so as pointed out phr0zen above the file lcdd4.tar does not install properly on 1.2.3 since it sets sym links for libkvm.so.5 which doesn't exist in 1.2.3.

                          If you have installed it and got the error

                          ln /lib/libkvm.so.4:  File Exists
                          

                          You need to add the sym link manually with the following console commands:

                          
                          /etc/rc.conf_mount_rw
                          ln -s /lib/libkvm.so.4 /lib/libkvm.so.3
                          /etc/rc.conf_mount_ro
                          
                          

                          Now you can start the server and all should be well.

                          Steve

                          1 Reply Last reply Reply Quote 0
                          • H
                            hmeister
                            last edited by May 1, 2011, 1:32 AM

                            @phr0zen:

                            I am having an issue installing the lcdd4.tar.  (firebox x700, 1.2.3 embeded installed via live cd, onto HD)

                            Steps:
                            1. uploaded the lcdd4.tar via web interface
                            2. opened console via serial (putty)
                            3. tar -xvf lcdd4.tar
                            4. ./install-embed2.lcdd.sh

                            I get this:

                            ln /lib/libkvm.so.4:  File Exists

                            I try to run it anyway with:
                            /usr/local/etc/rc.d/lcdd.sh

                            I get:
                            /libexec/ld-elf.so.1: Shared object "libkvm.so.3" not found, required by "lcdproc"

                            Can anyone help me?
                            (btw, this was a fresh install, only thing i did after interface setup was try to install this lccd4.tar)

                            Thanks!

                            EDIT:

                            Ok… so I think I figured it out.  Got it working at least.
                            I had to edit the install-embed.lcdd.sh. It looked like it was creating the wrong symlinks for 1.2.3 (gathered from other posts).  Here is what I edited it to:

                            
                            #!/bin/csh
                            /etc/rc.conf_mount_rw
                            cp -R lcdd /usr/local/share/
                            cp /usr/local/share/lcdd/lcdd.sh /usr/local/etc/rc.d/
                            chown -R root:wheel /usr/local/share/lcdd
                            chmod -R ugo=rX /usr/local/share/lcdd
                            chown root:wheel /usr/local/etc/rc.d/lcdd.sh
                            chmod ugo=rx /usr/local/etc/rc.d/lcdd.sh
                            ln -s /lib/libc.so.7 /lib/libc.so.6
                            ln -s /lib/libkvm.so.4 /lib/libkvm.so.3
                            /etc/rc.conf_mount_ro
                            
                            

                            phr0zen & steve…
                            Ok - so if I run the 4.tar with the original syntax and then clean up with your (phr0zen) instructions will that get this to work? I just hate to hose my HD install of the 1.2.3 imbedded. I just finished up cleaning up the 3 fans and added a quiet coolermaster with a modded heat sync. I also fell into the perfect drive sled that works with the 2.5laptop drive. I made the decision to close the case - but this may be too soon if this next attempt at the CLI does not get the lcd working... Thanks for all your help here...
                            H.

                            Best Regards;
                            H.

                            1 Reply Last reply Reply Quote 0
                            • H
                              hmeister
                              last edited by May 1, 2011, 1:37 AM

                              @stephenw10:

                              Ok, so as pointed out phr0zen above the file lcdd4.tar does not install properly on 1.2.3 since it sets sym links for libkvm.so.5 which doesn't exist in 1.2.3.

                              If you have installed it and got the error

                              ln /lib/libkvm.so.4:  File Exists
                              

                              You need to add the sym link manually with the following console commands:

                              
                              /etc/rc.conf_mount_rw
                              ln -s /lib/libkvm.so.4 /lib/libkvm.so.3
                              /etc/rc.conf_mount_ro
                              
                              

                              Now you can start the server and all should be well.

                              Steve

                              Steve - Ok - I read this twice and I am ready to jump in again on the CLI…
                              I will expect the error and move on with your instructions here...
                              Thanks for the efforts here and hoping to put this project together and start building the firewall rules. Will update tomorrow and let you know how things are going ....
                              Thx & Best Regards...
                              H.
                              BTW - I took off Friday and on Admin at work asked if I stayed home on Friday to watch the wedding but my reply was something like beer and fishing were the order of the day. Her reply was "In the name of the wedding I presume" :)

                              Best Regards;
                              H.

                              1 Reply Last reply Reply Quote 0
                              • S
                                stephenw10 Netgate Administrator
                                last edited by May 1, 2011, 1:43 AM

                                Here in London it was pretty crazy!  ::)

                                National day off was nice though.  :)

                                Steve

                                1 Reply Last reply Reply Quote 0
                                • H
                                  hmeister
                                  last edited by May 1, 2011, 2:53 AM

                                  @stephenw10:

                                  Here in London it was pretty crazy!  ::)

                                  National day off was nice though.  :)

                                  Steve

                                  There ya go - Niiiccce…
                                  That crowd was huge!

                                  Well, I tried and now consider myself Linux challenged... Must have been the beer and fishing on Friday..
                                  Tar'd the version 4 and got no error? but continued and ran rw on the system and tried the edit. I think I need to edit the install-embed.lcdd.sh following phr0zen's syntax - I can see it try and load but no joy...

                                  Best Regards;
                                  H.

                                  1 Reply Last reply Reply Quote 0
                                  • S
                                    stephenw10 Netgate Administrator
                                    last edited by May 1, 2011, 10:54 AM

                                    Editing the script should definitely work. But I would expect it to simply need the extra sym link.  :-
                                    What error does it give when it tries to load?

                                    When you ran the install script it didn't give an error? Weird!

                                    Steve

                                    1 Reply Last reply Reply Quote 0
                                    • H
                                      hmeister
                                      last edited by May 1, 2011, 11:44 AM

                                      @stephenw10:

                                      Editing the script should definitely work. But I would expect it to simply need the extra sym link.  :-
                                      What error does it give when it tries to load?

                                      When you ran the install script it didn't give an error? Weird!

                                      Steve

                                      Steve…
                                      No Error...
                                      I am going to build out another 2 version ISO and write another drive...
                                      I got the error the first time on the 1.2.3 and rebuilt 1.2.3 drive again as I think it changes the system boot so I started over. I think you mentioned it messes with the imbedded RO.

                                      When I build the hard drive & use my current 2 version ISO it never gets to the last menu when it boots so I am going to download 2 again and rebuild the ISO again and try that... It would be great to get the LCD going but it is not a show stopper but I am willing to try and figure out how to do this. - Like you said - It isn't that hard.... :)

                                      Best Regards;
                                      H.

                                      1 Reply Last reply Reply Quote 0
                                      • H
                                        hmeister
                                        last edited by May 1, 2011, 1:10 PM

                                        I am going to throw this out there - (sameless lack of effort) ::)
                                        Anyone have a .gho or acronis image??
                                        I am burning the 2.0 RC1 now but was just wondering?

                                        Best Regards;
                                        H.

                                        1 Reply Last reply Reply Quote 0
                                        • H
                                          hmeister
                                          last edited by May 1, 2011, 4:49 PM

                                          Hi…

                                          When you build 2.0 imbedded - it boots and does not go to the last menu nor does it allow you to setup the LAN addressing? Is that normal?

                                          I am rebuilding my 1.2.3 and going after this again - Thanks everyone for your help...
                                          Getting back to Linux after a few years is a challange but things are slowly coming back and I think this is a good exercise for me - If I start whining to much just give me a snickers bar and I will be ok...

                                          Regards;

                                          H.

                                          Best Regards;
                                          H.

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