[SOLVED] How to use LCDProc plugin?

Started by warheat1990, July 03, 2022, 08:44:38 AM

Previous topic - Next topic
July 03, 2022, 08:44:38 AM Last Edit: July 05, 2022, 09:20:12 PM by warheat1990
I have a box that runs OPNSense which has LCD with 4 buttons (up/down/enter/esc button) which is very common but how do I use the plugin? I've installed it but I can't find LCDd-sdeclcd.conf inside /usr/local/etc/. Do I have to create the file myself? I believe in pfSense, it has GUI under the Services menu.



UPDATE: For anyone who are interested. After installing the LCDProc plugin, I do have the LCDd-sdeclcd.conf inside /usr/local/etc/ (I was lazy and use the "find" command and I mistype the word, hence I can't find it), so you just need to modify the LCDd-sdeclcd.conf file, settings may vary based on your hardware, but for me the conf file content was

[server]
DriverPath=/usr/local/lib/lcdproc/
Driver=hd44780
Bind=127.0.0.1
Port=13666
ReportToSyslog=yes
User=nobody
Foreground=no
Hello="  Welcome to"
Hello="   OPNsense!"
GoodBye="Thanks for using"
GoodBye="   OPNsense!"
WaitTime=5
TitleSpeed=5
ServerScreen=on
Backlight=open
ToggleRotateKey=Enter
PrevScreenKey=Up
NextScreenKey=Down

[menu]
MenuKey=Escape
EnterKey=Enter
UpKey=Up

[hd44780]
ConnectionType=ezio
Device=/dev/cuau1
Keypad=yes
Size=16x2
KeyMatrix_4_1=Enter
KeyMatrix_4_2=Up
KeyMatrix_4_3=Down
KeyMatrix_4_4=Escape


Restart the firewall and it works afterwards