Firebox LCD Driver for LCDProc
-
Whch Driver do I need to use for the LCD on the x6000? LCDPROC or the one stephenw10 has written. I did a upgrade to the latest version last night and realized that the LCD stopped working after the upgrade was done.
I am having to use the 2GB nano version because the 4GB nano release will not fit on my flash drive.
RC
-
Use the firebox script, lcdd4. Unfortunately because it isn't a proper pfSense package, yet, it doesn't survive an update.
2GB image is fine, I'm using the 1GB image on a 4GB card.
Steve
-
Hey Steve! It's been awhile hope your well.
Got a question for you, I made the mistake of finding the lcdd3.tar file before I noticed this post with lcdd4.tar, is the file system mounting restored on reboot or should I reinstall after using lcdd3? I noticed after reboot it's writable and not sure if it should be. lcdd3.tar is what I used and on a X700
Thanks a bunch!
-
Which version of pfSense are you running?
There is a bug in current 2.0 snapshots (unless it's been fixed while I wasn't looking!) that leaves the filesystem mounted read-write. It's not really a problem or anything to worry about.
The lcdd3 script used the mount command directly which is not the correct way to do it in recent versions. This combined with the bug can leave the filesystem mounted read-only with no way to remount it RW. This means that you can't save changes, add packages etc.
If you used lcdd3 and you're running 2.0Beta5 or newer you may have a problem.
Steve
-
Which version of pfSense are you running?
There is a bug in current 2.0 snapshots (unless it's been fixed while I wasn't looking!) that leaves the filesystem mounted read-write. It's not really a problem or anything to worry about.
The lcdd3 script used the mount command directly which is not the correct way to do it in recent versions. This combined with the bug can leave the filesystem mounted read-only with no way to remount it RW. This means that you can't save changes, add packages etc.
If you used lcdd3 and you're running 2.0Beta5 or newer you may have a problem.
Steve
Thank you for the reply Steve! You're always a big help.
I installed lcdd3 on a 2.0-RC1 system and just updated yesterday with a current snapshot. It would not be a problem for this system to be reinstalled because it's not live yet and I have a backup config. I just need to make sure this system is stable so it would definetely be worth the extra work to re-do it and install the lcdd4 instead. What do you think?
This script is terrific, thank you for this and to everyone else who worked on it
-
Hmm, well that's the exact set of things that I would expect to cause a problem. Perhaps the bug has been fixed?
Anyway if it's not a problem I would reflash and use lcdd4 to be sure.Steve
Edit: Doesn't seem to have been fixed, not deliberately anyway! http://redmine.pfsense.org/issues/1279
-
Hmm, well that's the exact set of things that I would expect to cause a problem. Perhaps the bug has been fixed?
Anyway if it's not a problem I would reflash and use lcdd4 to be sure.Steve
Edit: Doesn't seem to have been fixed, not deliberately anyway! http://redmine.pfsense.org/issues/1279
After all of my config experiments yesterday, I got the reflashing process down fast! no problem at all. Thanks for the help Steve and enjoy your weekend.
-
Hmm, well that's the exact set of things that I would expect to cause a problem. Perhaps the bug has been fixed?
Anyway if it's not a problem I would reflash and use lcdd4 to be sure.Steve
Edit: Doesn't seem to have been fixed, not deliberately anyway! http://redmine.pfsense.org/issues/1279
Slightly off topic a bit but do you know anything about the serial console menu not showing up on a watchguard. last message is "Bootup complete".
-
It seems to be an issue only with the X-Core, or at least I haven't had that problem with either the X-peak or X-e boxes. It may be a symptom of the file system being mounted incorrectly. It seemed to start showing up around the same time the lcdd3 script broke.
Steve
-
It seems to be an issue only with the X-Core, or at least I haven't had that problem with either the X-peak or X-e boxes. It may be a symptom of the file system being mounted incorrectly. It seemed to start showing up around the same time the lcdd3 script broke.
Steve
That's what I am using the xcore. It seams as though the BIOS for the watchguard also has control of the LCD because I noticed without any CF card in there you can boot it and change the port speed from the LCD/keypad. Maybe something is conflicting, not sure will have to play around with it more but it's wierd that it works for the rest of the boot and stops at Bootup complete.
-
Hello Firebox users! :)
I am still working on getting the LCD driver into a proper pfSense package. It's proving to be far beyond my usual level of tinkering but it's all good fun.
Anyway as, jjgoessens said when he wrote it, there isn't enough memory in the LCD to hold all the special characters required for vertical graphs, big clock and the heartbeat graphic. His latest driver doesn't support the heatbeat as a result.
Personally I would rather see the heartbeat working as I don't use big clock or vertical graphs.
Is anybody out there actually using these features?Steve
-
when i try to install the tar package and give ./ command it say's permission denied . logged in via ssh as root
-
You mean when you try to run this?
./install-embed2.lcdd.sh
Seems odd. It usually untars with the correct permissions.
You can reset the permissions with:chmod 0755 install-embed2.lcddd.sh
What version of pfSense are you using?
Steve
-
Thanks for reply.
I'm runing 2.0 Rc3 its a full hd install on x700. when i try to do chmod it say's command not found?
-
Hmm, well that seems very weird.
I don't have a full install to test right now but I can't believe that there's no chmod in it. It's certainly present in the nanoBSD install of RC3.
Are you experiencing any other problems?
The script is intended for embedded installs and may cause a problem with mounting the filesystem RO on a full install. However as you haven't managed to run it yet it can't be that. ???Steve
-
Hey
just like to confirm that it work's with full HDD install aswell
this is what i did
$ chmod 0755 ./install-embed2.lcdd.sh
$ /usr/local/etc/rc.d/lcdd.shVOLA it works :)
Thanks again for your help …
-
Hello stephenw10,
thank you for lcdd4.tar, it work quit well on my Firebox X700.
It is possible to disable/enable/blink the "Arm/Disarm"-LED in the BIOS (permanent).
One think could be enhanced: to extend the lcd-driver to set the "Arm/Disarm"-LED to green on init and to red on exit.
I don't have the source code, but I think it should be simple and would be the icing on the cake.xleox
-
It wasn't at all simple! ::)
Read the entire thread to discover just how not simple or go straight to this post to get the resulting program to set the led.Steve
-
I'm currently in the proces of migrating to pfSense 2.0. I installed a full 2.0RC3 version on a HD and installed Steve's LCD and LED packages on a WG Firebox X700. Just like on 1.2.3 it looks like it is running fine. I once encounterd a problem with the LCD driver only displaying "LCDproc Server" but couldn't reproduce.
Today I booted my Firebox for configuring and directly after bootup the LCD is "locked up" (see picture).
Arrow up shows "next", down shows "prev", right does nothing, left enters the menu with: options, screens, test menu. There is no system data like uptime, mem usage etc.-
version: 2.0-RC3 (i386) built on Sun Jul 24 19:17:15 EDT 2011
-
did not install the package LCDproc via packages, only Steve's tarball
-
Serial console shows a normal startup of the lcdd script
Starting CRON... done. Starting /usr/local/etc/rc.d/WGXepc.sh...done. Starting /usr/local/etc/rc.d/lcdd.sh...done. Bootup complete
What is going on here? Strange thing is it doesn't happen every time I boot or reboot the firewall…
I have little knowledge of FreeBSD, but is it possible to restart the lcdd service via the terminal? How?Thanks for your info and help!
-
-
LCDproc is in two parts. lcdd is the server half that talks to the screen. lcdprocc is the client that tells lcdd what to put on the screen. If you only have the server half running you get what you are seeing.
Got to the console and run 'top' you should see both lcdd and lcdproc:[2.0-RC3][root@pfsense.fire.box]/root(1): top last pid: 8157; load averages: 0.01, 0.01, 0.00 up 35+01:07:41 15:50:32 44 processes: 1 running, 43 sleeping CPU: 4.8% user, 0.0% nice, 0.0% system, 0.0% interrupt, 95.2% idle Mem: 52M Active, 20M Inact, 62M Wired, 128K Cache, 59M Buf, 352M Free Swap: PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND 18701 nobody 1 64 20 3364K 1424K nanslp 51:51 0.00% LCDd 19029 root 1 64 20 3352K 1216K nanslp 28:42 0.00% lcdproc
q to stop.
You can start lcdproc manually by running:
/usr/local/etc/rc.d/lcdd.sh
Though it will try to start both server and client. It's hard to say why it stopped working reliably, disk errors? :-\
Steve