Firebox LCD Driver for LCDProc
-
I've done this on the X700 as well as the X5000 I can't imagine they changed things this dramatically in the newest lineup of hardware.
What part of the steps aren't working?
-
No errors are given but the LCD never displays anything I tell it. I believe the LCD is different, and so the driver doesn't work. The x550e, x750e, etc have a completely different motherboard with different network ports, memory slots, PCIEX ports, etc. I bet the LCD is different because these have a yellow back-light instead of the white like the x500, x700, etc.
-
The x5000 has a yellow backlight too, doesn't mean much.
Here are the step by step instructions I posted in the X700 thread, the links all refer back to this thread:
Don't install the LCDPROC package, but if you follow RidnHard19's instructions exactly from the first page of this forum: http://forum.pfsense.org/index.php/topic,7920.msg46356.html#msg46356 it will help until you get to the symlink part.
You'll want to replace the diver with Jean's updated version also in that thread: http://forum.pfsense.org/index.php/topic,7920.msg105179.html#msg105179
Then, to wrap it all up and make it work follow the instructions to create the symlinks to the updated libraries: ( in the same thread) http://forum.pfsense.org/index.php/topic,7920.msg69315.html#msg69315
You should then be able to start the LCDd script and view the results immediately on your LCD panel.
I just finished the install on my x700, a problem with a remote serial cable forwarded to a TCP socket(I was too lazy to bring it upstairs and use my known-good serial port/cable) made it harder than expected, but I managed, and was rewarded with CARP!
Hope this helps!
–James -
I know. I've got two x700 fireboxes that works just fine on. However it doesn't work on my x750e. I'm thinking that the lcd's port is different or it's a different LCD all together.
-
The driver was written for the IT8712F chip.
Does the 750e have this or something compatible?Steve
-
The LCD on the e-series seems to be a APEX 202001. You can see for yourself by looking on page 21 of http://www.watchguard.com/docs/corporate/wg_peak-eDe-MFR_instructions.pdf
-
Yes I see but the chip I was refering to is the I/O chip that handles the parallel port that talks to the LCD. I think! :-
I'm a bit vague on this but if you read back this thread it explains most of it.
Anyway if watchguard (or whoever were making the boards) changed to a different I/O chip you'd probably need a different driver.Steve
-
I just tried this process and it's hard. It did not work and I got the several errors, it was missing a file and I lost the log. I going to flash the 4GB card and try again. Can somebody break down some of the commands. I am having a real problem understanding the process.
I don't have a good hand on freebsd commands.
RC -
Have a look in the X peak thread.
I just had to re install it so I made some notes! ;D -
LIsted below are the exact steps I used to try to install the watchguard lcd driver. anybody got any idea why I am missing this libary? I formatted my card twice now. I really want to get the LCD working before I start building the configuration.
RClogin as: admin
Using keyboard-interactive authentication.
Password:*** Welcome to pfSense 1.2.3-RELEASE-nanobsd on pfsense-wg ***
WAN* -> re0 -> 192.168.14.246(DHCP)
LAN* -> re1 -> 192.168.14.3pfSense console setup
0) Logout (SSH only)
1) Assign Interfaces
2) Set LAN IP address
3) Reset webConfigurator password
4) Reset to factory defaults
5) Reboot system
6) Halt system
7) Ping host
8) Shell
9) PFtop
10) Filter Logs
11) Restart webConfigurator
12) pfSense Developer Shell
13) Upgrade from console
14) Disable Secure Shell (sshd)Enter an option: 8
[1.2.3-RELEASE] [admin@pfsense-wg.cartersweb.net]/root(1): cd /var/tmp
[1.2.3-RELEASE] [admin@pfsense-wg.cartersweb.net]/var/tmp(2): ls
bootup_messages nohup.out rules.boot
captiveportal.lock pfctl_si_out rules.debug
carp.sh pfctl_ss_out rules.debug.old
check_reload_status php-fastcgi.socket-0 sdeclcd.so
config.cache php-fastcgi.socket-1 sdeclcd.so.txt
dhcpd.sh php-fastcgi.socket-2 tmp
ifconfig_re0 re0_error_output tmpHOSTS
last_term_seen re0_output uploadbar
lcdd.tar.gz re0_router vi.recover
[1.2.3-RELEASE] [admin@pfsense-wg.cartersweb.net]/var/tmp(3): gunzip lcdd.tar.gz
[1.2.3-RELEASE] [admin@pfsense-wg.cartersweb.net]/var/tmp(4): scp lcdd.tar root@192.168.14.3:/var/tmp
Could not create directory '/root/.ssh'.
The authenticity of host '192.168.14.3 (192.168.14.3)' can't be established.
DSA key fingerprint is 1a:55:e5:ed:4a:64:58:47:a9:bd:85:92:a5:f8:7c:b6.
Are you sure you want to continue connecting (yes/no)? y
Please type 'yes' or 'no': yes
Failed to add the host to the list of known hosts (/root/.ssh/known_hosts).
Password:
Password:
lcdd.tar 100% 243KB 242.5KB/s 00:00
[1.2.3-RELEASE] [admin@pfsense-wg.cartersweb.net]/var/tmp(5): ls -l
total 340
-rw-r–r-- 1 root wheel 89 May 29 04:01 bootup_messages
-rw-r--r-- 1 root wheel 0 May 29 04:01 captiveportal.lock
-rw-r--r-- 1 root wheel 0 May 29 04:00 carp.sh
-rw-r--r-- 1 root wheel 9 May 29 04:17 check_reload_status
-rw-r--r-- 1 root wheel 4682 May 29 04:10 config.cache
-rw-r--r-- 1 root wheel 393 May 29 04:10 dhcpd.sh
-rw-r--r-- 1 root wheel 48 May 29 04:00 ifconfig_re0
-rw-r--r-- 1 root wheel 11 May 29 04:12 last_term_seen
-rw------- 1 root wheel 248320 May 29 04:16 lcdd.tar
-rw------- 1 root wheel 162 May 29 04:10 nohup.out
-rw-r--r-- 1 root wheel 1776 May 29 04:16 pfctl_si_out
-rw-r--r-- 1 root wheel 847 May 29 04:16 pfctl_ss_out
srwxr-xr-x 1 root wheel 0 May 29 04:00 php-fastcgi.socket-0
srwxr-xr-x 1 root wheel 0 May 29 04:00 php-fastcgi.socket-1
srwxr-xr-x 1 root wheel 0 May 29 04:00 php-fastcgi.socket-2
-rw-r--r-- 1 root wheel 296 May 29 04:00 re0_error_output
-rw-r--r-- 1 root wheel 0 May 29 04:00 re0_output
-rw-r--r-- 1 root wheel 13 May 29 04:00 re0_router
-rw-r--r-- 1 root wheel 128 May 29 04:00 rules.boot
-rw-r--r-- 1 root wheel 5610 May 29 04:10 rules.debug
-rw-r--r-- 1 root wheel 5610 May 29 04:10 rules.debug.old
-rw------- 1 root wheel 10780 May 29 04:08 sdeclcd.so
-rw------- 1 root wheel 10780 May 29 04:11 sdeclcd.so.txt
lrwxr-xr-x 1 root wheel 1 May 29 04:00 tmp -> /
-rw-r--r-- 1 root wheel 0 May 29 04:17 tmpHOSTS
drwxrwxrwx 2 root wheel 512 May 29 04:00 uploadbar
drwxr-xr-x 2 root wheel 512 May 29 03:59 vi.recover
[1.2.3-RELEASE] [admin@pfsense-wg.cartersweb.net]/var/tmp(6): tar -xvf lcdd.tar
x install-embed.lcdd.sh
x lcdd
x lcdd/drivers
x lcdd/LCDd.conf
x lcdd/lcdd.sh
x lcdd/lcdproc
x lcdd/LCDd
x lcdd/drivers/curses.so
x lcdd/drivers/sdeclcd.so
[1.2.3-RELEASE] [admin@pfsense-wg.cartersweb.net]/var/tmp(7): chmod 700 install-embed.lcdd.sh
[1.2.3-RELEASE] [admin@pfsense-wg.cartersweb.net]/var/tmp(8): ./install-embed.lcdd.sh
[1.2.3-RELEASE] [admin@pfsense-wg.cartersweb.net]/var/tmp(9): mount
/dev/ufs/pfsense0 on / (ufs, local, read-only)
devfs on /dev (devfs, local)
/dev/md0 on /var/tmp (ufs, local)
/dev/md1 on /var (ufs, local)
/dev/ufs/cf on /cf (ufs, local, read-only)
devfs on /var/dhcpd/dev (devfs, local)
[1.2.3-RELEASE] [admin@pfsense-wg.cartersweb.net]/var/tmp(10): cd /usr/local/etc/rc.d
[1.2.3-RELEASE] [admin@pfsense-wg.cartersweb.net]/usr/local/etc/rc.d(11): ls
lcdd.sh
[1.2.3-RELEASE] [admin@pfsense-wg.cartersweb.net]/usr/local/etc/rc.d(12): ./lcdd.sh
/libexec/ld-elf.so.1: [1.2.3-RELEASE] [admin@pfsense-wg.cartersweb.net]/usr/local/etc/rc.d(13): Shared object "libkvm.so.3" not found, required by "lcdproc" -
You still have not followed the bit of instructions that have been mentioned in the link in the post before you and various other parts in this thread.
This is the part you seem to be missing:
[root@pfSense.local]/var/tmp(8): cd /lib
[root@pfSense.local]/lib(10): /etc/rc.conf_mount_rw
[root@pfSense.local]/lib(11): ln -s libc.so.7 libc.so.6
[root@pfSense.local]/lib(12): ln -s libkvm.so.4 libkvm.so.3
[root@pfSense.local]/lib(13): /etc/rc.conf_mount_ro -
I am going to write this whole process up tomorrow. It was quite confusing but came from two different posts. It's now working. After a quick format flast and rebuild tomorrow. my watchguard goes into service.
I only have 256 meg in my box. I am only uising it for DHCP/DNS and a few ipsec tunnels. Should that sufice for now?
RC -
Hmm, very confusing. :-
I don't really understand all the steps in your post. You seem to SCP the file from /var/tmp back into /var/temp ???
Never mind you seem to have got there in the end.
Hopefully you now have a better understanding, I know I do. ;)Has anybody made LCDproc run under 2.0beta?
The simlinks have to be updated to the newer libraries but it's still not happening for me. No useful errors either.Steve
-
Now I have gone back and reviewed everything and the buttons, and backlight are the only thingk left to address. If I have gotten all of this straight this prcess should go something like this:
1. upload the following two files after downloading from PFSENSE or enduser location:
a. sdeclcd.so
b. lcdd.tar.gz
Note: sdeclcd.so will be call sdeclcd.so.txt on your windows machine. you will need to rename either on your
winodws macine or pfsense after you have copied it.
2. Make sure to enable ssh, I tried to run this via the serial connection and it did not work very well. I am not sure why
3. Open a ssh connection via putty, login with admin and your password
4. select option 8 and drop into FREBSD operation system
5. type cd /var/tmp and press enter
6. type ls and press enter. you should get the following results
bootup_messages nohup.out rules.boot
captiveportal.lock pfctl_si_out rules.debug
carp.sh pfctl_ss_out rules.debug.old
check_reload_status php-fastcgi.socket-0 sdeclcd.so
config.cache php-fastcgi.socket-1 sdeclcd.so.txt
dhcpd.sh php-fastcgi.socket-2 tmp
ifconfig_re0 re0_error_output tmpHOSTS
last_term_seen re0_output uploadbar
lcdd.tar.gz re0_router vi.recover
7. type gunzip lcdd.tar.gz and press enter
8. type scp lcdd.tar root@(enter the IP address of your watchguard device here):/var/tmp, you
should get the following results:
Could not create directory '/root/.ssh'.
The authenticity of host '192.168.14.3 (192.168.14.3)' can't be established.
DSA key fingerprint is 1a:55:e5:ed:4a:64:58:47:a9:bd:85:92:a5:f8:7c:b6.
Are you sure you want to continue connecting (yes/no)? yes(spell the word out)
Failed to add the host to the list of known hosts (/root/.ssh/known_hosts).
Password:(enter the password for your watchguard here and press enter)
lcdd.tar 100% 243KB 242.5KB/s 00:00
you will get a command propt once the process is compete
9: type ls -l and press enter get the following results. you are looking for the highlighted file
total 340
-rw-r–r-- 1 root wheel 89 May 29 04:01 bootup_messages
-rw-r--r-- 1 root wheel 0 May 29 04:01 captiveportal.lock
-rw-r--r-- 1 root wheel 0 May 29 04:00 carp.sh
-rw-r--r-- 1 root wheel 9 May 29 04:17 check_reload_status
-rw-r--r-- 1 root wheel 4682 May 29 04:10 config.cache
-rw-r--r-- 1 root wheel 393 May 29 04:10 dhcpd.sh
-rw-r--r-- 1 root wheel 48 May 29 04:00 ifconfig_re0
-rw-r--r-- 1 root wheel 11 May 29 04:12 last_term_seen
-rw------- 1 root wheel 248320 May 29 04:16 lcdd.tar
-rw–----- 1 root wheel 162 May 29 04:10 nohup.out
-rw-r--r-- 1 root wheel 1776 May 29 04:16 pfctl_si_out
-rw-r--r-- 1 root wheel 847 May 29 04:16 pfctl_ss_out
srwxr-xr-x 1 root wheel 0 May 29 04:00 php-fastcgi.socket-0
srwxr-xr-x 1 root wheel 0 May 29 04:00 php-fastcgi.socket-1
srwxr-xr-x 1 root wheel 0 May 29 04:00 php-fastcgi.socket-2
-rw-r--r-- 1 root wheel 296 May 29 04:00 re0_error_output
-rw-r--r-- 1 root wheel 0 May 29 04:00 re0_output
-rw-r--r-- 1 root wheel 13 May 29 04:00 re0_router
-rw-r--r-- 1 root wheel 128 May 29 04:00 rules.boot
-rw-r--r-- 1 root wheel 5610 May 29 04:10 rules.debug
-rw-r--r-- 1 root wheel 5610 May 29 04:10 rules.debug.old
-rw------- 1 root wheel 10780 May 29 04:08 sdeclcd.so
-rw------- 1 root wheel 10780 May 29 04:11 sdeclcd.so.txt
lrwxr-xr-x 1 root wheel 1 May 29 04:00 tmp -> /
-rw-r--r-- 1 root wheel 0 May 29 04:17 tmpHOSTS
drwxrwxrwx 2 root wheel 512 May 29 04:00 uploadbar
drwxr-xr-x 2 root wheel 512 May 29 03:59 vi.recover
10. type tar -xvf lcdd.tar and you will get the following results:
x install-embed.lcdd.sh
x lcdd
x lcdd/drivers
x lcdd/LCDd.conf
x lcdd/lcdd.sh
x lcdd/lcdproc
x lcdd/LCDd
x lcdd/drivers/curses.so
x lcdd/drivers/sdeclcd.so
11. type chmod 700 install-embed.lcdd.sh ans press enter
12. type ./install-embed.lcdd.sh and press enter
13. type mount and press enter ad you will get the folowing results
/dev/ufs/pfsense0 on / (ufs, local, read-only)
devfs on /dev (devfs, local)
/dev/md0 on /var/tmp (ufs, local)
/dev/md1 on /var (ufs, local)
/dev/ufs/cf on /cf (ufs, local, read-only)
devfs on /var/dhcpd/dev (devfs, local)
14. type cd /usr/local/etc/rc.d and press enter
15. type cd /lib and press enter
16. type /etc/rc.conf_mount_rw and press enter
17. type ln -s libc.so.7 libc.so.6 and press enter
18. type ln -s libkvm.so.4 libkvm.so.3 and press enter
19. type /etc/rc.conf_mount_ro and press enter
20. type ./lcdd.sh and your LCD should now be working.Optional step. you can copy the updated file sdeclcd.so to correct location per the forum to get the buttons and backlight to work correctly.
Enyjoy the script
RC
.
-
Thanks for taking the time to note all this down and report back. However I think your post maybe confusing to other users (and me!).
You seem to have repeated steps 1-7 three times. I assume this is just a typo, perhaps edit the post.
(Post now edited)Step 8 is completely unnecessary. It does nothing at all! ???
Step 20 won't work because you are in the wrong directory. you have to call the script with the complete path or change to the correct directory. E.g. /usr/local/etc/rc.d/lcdd.sh
I personally copied the newer driver into /var/tmp/lcdd/driver before running the install script so that it was installed along with the other files.
Steve
-
I go back over it one more time. I removed the extra lines. No clue how it happened. I tookl instruction from about 4 different posts and combined them into one posting.
I will see if I can run over see where I missed a step.
RC -
fix it by:
cd /lib
ln -s libc.so.7 libc.so.6
ln -s libkvm.so.4 libkvm.so.3then it works
Did this, but I still receive:
/usr/local/etc/rc.d/lcdd.sh
/libexec/ld-elf.so.1: # Shared object "libkvm.so.3" not found, required by "lcdproc"
I'm using the latest pfsense 2.0 beta, but as far as I can see that should not be the problem.
libc.so.6 and libkvm.so.3 do exist, so making the links was not a problem:ls /lib
…
lrwxr-xr-x 1 root wheel 9 Jun 8 10:05 libc.so.6 -> libc.so.7
lrwxr-xr-x 1 root wheel 11 Jun 8 10:04 libkvm.so.3 -> libkvm.so.4
... -
That's because pfsense 2.0 uses libkvm.so.5 so you need to use:
ln -s libkvm.so.5 libkvm.so.3
However when I did this it still wouldn't work under 2.0beta and there were no useful errors given either.
Steve
-
However when I did this it still wouldn't work under 2.0beta and there were no useful errors given either.
Steve
Ok, I've made the link to libkvm.so.5 now and it gives no error anymore.
Since I'm currently working remote I cannot see if the display shows anything (but I expect it to be the same as yours)… I'll check the display later today!EDIT: After some time, an error came up:
sock_connect: connect failed
Error connecting to LCD server 127.0.0.1 on port 13666.
Check to see that the server is running and operating normally.
??? -
It doesn't really suprise me since everything in this thread was built against freebsd7.2 and pfsense2.0 is freebsd 8.
It works great on 1.2.3 though! ;DSteve