Firebox LCD Driver for LCDProc
-
The default options are quite limited you have choices of:
screen can be one of the following: C CPU show detailed CPU usage P SMP-CPU CPU usage overview: one line per CPU, especially useful on SMP systems. G CPUGraph CPU histogram L Load Load histogram M Memory memory & swap usage S ProcSize memory usage of 5 biggest processes D Disk filling level of the mounted file systems I Iface network interface usage B Battery battery status T TimeDate time & date information O OldTime old time screen U Uptime old uptime screen K BigClock big clock N MiniClock minimal clock A About credits page
Add the letters to where lcdproc is called in /usr/local/etc/rc.d/lcdd.sh. Not all of them work. I went with C T U.
Otherwise write your own client or use one someone else has written (a lot). It's supposed to be quite easy but since the last time I coded anything was at Uni about 12 years ago it's beyond me! ::)
Steve
-
The default options are quite limited you have choices of:
screen can be one of the following: C CPU show detailed CPU usage P SMP-CPU CPU usage overview: one line per CPU, especially useful on SMP systems. G CPUGraph CPU histogram L Load Load histogram M Memory memory & swap usage S ProcSize memory usage of 5 biggest processes D Disk filling level of the mounted file systems I Iface network interface usage B Battery battery status T TimeDate time & date information O OldTime old time screen U Uptime old uptime screen K BigClock big clock N MiniClock minimal clock A About credits page
Add the letters to where lcdproc is called in /usr/local/etc/rc.d/lcdd.sh. Not all of them work. I went with C T U.
Otherwise write your own client or use one someone else has written (a lot). It's supposed to be quite easy but since the last time I coded anything was at Uni about 12 years ago it's beyond me! ::)
Steve
Steve I am away from home for a few days I can ssh to the boxbut I cannot see the lcd so I cant test.
Are you able to display nework stats (letter I) on your box? -
Hmm, the screen shows up OK but no data is shown for I. Maybe with some tweaking.
The only really useful things for me is how long since it last crashed and is the CPU pegged at 100% by some hideous crashed code. Anything else I'll just log in and look. To be honest none of the screens are very nice at 2X20. I should get off my arse and write something, it could easily have a single screen with cpu usage and uptime.
Steve -
Hmm, the screen shows up OK but no data is shown for I. Maybe with some tweaking.
The only really useful things for me is how long since it last crashed and is the CPU pegged at 100% by some hideous crashed code. Anything else I'll just log in and look. To be honest none of the screens are very nice at 2X20. I should get off my arse and write something, it could easily have a single screen with cpu usage and uptime.
SteveI agree 2x20 is not spectacular, but it can be used to display some nice cpu/ network graphs
-
hi
after following the above when i try to start lcdd.sh under usr/local/etc/rc.d
i get the following
/libexec/ld-elf.co.1: shared object
"libkvm.so.3 not found, requirded by "lcdproc"any ideas on this one
-
You need to add the sym links:
cd /lib ln -s libc.so.7 libc.so.6 ln -s libkvm.so.4 libkvm.so.3
This is assuming you're running 1.2.3.
Steve
-
You need to add the sym links:
cd /lib ln -s libc.so.7 libc.so.6 ln -s libkvm.so.4 libkvm.so.3
This is assuming you're running 1.2.3.
Steve
Hi Steve
i am running 1.2.3
after entering the above i get
ln: libc.so.6: file exists
ln: libkvm.so.3: file existsthorghts?
-
Hmmm,
Had you already made the sym links when you installed the driver?
What exactly have you done so far?Steve
-
Hmmm,
Had you already made the sym links when you installed the driver?
What exactly have you done so far?Steve
After setting up pfsense i have loaded the web browser and gone to diag, command, and uploaded the lcdd.tar.gz
For a pc via 9 pin serial i have selected option 8 (shell)
I have navigated to the tmp dir and typed
tar -xvf lcdd.tar
chmod 700 install-embed.lcdd.sh
./install-embed.lcdd.sh
MountNavigated to
cd /usr/local/etc/rc.d
type
./lcdd.sh
error
/libexec/ld-elf.co.1: shared object
"libkvm.so.3 not found, requirded by "lcdproc"Navigate to lib
ln -s libc.so.7 libc.so.6
ln -s libkvm.so.4 libkvm.so.3
error
ln: libkvm.so.3 read-only file system
same for libcany help would be appreciated
-
The embedded version of pfsense is mounted read only so to make any changes, like adding sym links, you need to first mount it read-write. Remember to put it back to read only afterwards to preserve your cf card.
This is all detailed on page 2 of this thread and in the docs here:http://doc.pfsense.org/index.php/Remount_embedded_filesystem_as_read-write
Steve
-
The embedded version of pfsense is mounted read only so to make any changes, like adding sym links, you need to first mount it read-write. Remember to put it back to read only afterwards to preserve your cf card.
This is all detailed on page 2 of this thread and in the docs here:http://doc.pfsense.org/index.php/Remount_embedded_filesystem_as_read-write
Steve
thank you for your help Steve - led is now working great
quick question i have set the file system back to read only, when installing apps from the gui will i have to change the card to read / write?
-
No problem! :D
You shouldn't have to if you're using the gui. From, I think, 1.2.3 onwards the embedded install has switched to bsd nano and can support packages, however not all of them. Only supported packages show up in the gui though as I understand it. -
Hi,
I have followed all the instrcutions on the various threads and now happily have a working pfsense system running on a firebox x500, complete with working ath0 interface and LCD. Happy days :)
The last thing that would really make this perfect would be if the LCD could display tempurature details from the motherboard. I know this inof is available in the bios, but havent yet seen a way of getting this info out, either on the LCD or on the webGUI.
Any ideas?
Stuart
P.s. At this stage I am yet to see any of the fabeled Wacthdog timeout errors that seem to plague this device, and I've spent a long time configuring to get it how I want it. Not sure why….
-
I haven't managed this either. :( Would be nice.
See my thread for using mbmon here.
I think it needs somebody with more coding skills than me (not saying much!) to write an lcdproc client that can take the output of mbmon. I haven't found any other client that can do it.Steve
-
Sorry for the lame Q but I tried searching and cannot find an answer: How do you upload the files to PFSense? TFTP?
-
How do you upload the files to PFSense? TFTP?
Some options:
-
scp from Windows or Linux/Unix
-
From web GUI: Diagnostics -> Command, 3rd option to upload files
-
-
How do you upload the files to PFSense? TFTP?
Some options:
- From web GUI: Diagnostics -> Command, 3rd option to upload files
This was the option I used
-
hello together,
i want so start the install of the driver with die read-write problem.
the user "thewizard" posted last year:
After setting up pfsense i have loaded the web browser and gone to diag, command, and uploaded the lcdd.tar.gz
For a pc via 9 pin serial i have selected option 8 (shell)
but in the console i see the boot screen:
1. Boot pfSense [default]
2. Boot pfSense with ACPI enabled
3. Boot pfSense using USB device
4. Boot pfSense in Safe Mode
5. Boot pfSense in single user mode
6. Boot pfSense with verbose logging
7. Escape to loader prompt
8. Reboothow can i get the shell?
-
That's odd. Is that before the box has booted?
Alternatively you can access a command prompt by using ssh to connect.
Make sure it's enabled in the web interface:
\system\advanced\enable secure shell
Use putty to connect (if you're using Windows).Steve
-
at first the bootloader, then this menu. After booting "booting complete", but not the generelly menu
thx for the idea, i will test this tomorrow.
the lcdriver package "lcdproc" is not needed? only the lcdd.tar.gz?