EZIO Driver for LCDproc
-
Hi all,
I tried the updated package out I'm running 2.4.5 on a Smoothwall S4, however it seems unable to write the config file, as it never appears. I created the config file /usr/local/etc/LCDd.conf manually and was still unable to start the service. I then modified /usr/local/pkg/lcdproc.inc, line define('LCDPROC_RCFILE', '/usr/local/etc/rc.d/lcdproc.sh'); as the filesystem showed the rc file without .sh
The service then started however clearly the client is not communicating as I just have LCDPROC servrer Cli: 0 on the screen.
That's as far as I have got so far. I did previously have this working using the shellcmd method.
:| -
Did you save both the LCD drive screens tabs in the package? Both need to have at least one thing set before the package will start.
Steve
-
@stephenw10 yes, reinstalled the package and have done the same just to make sure I am not mad. so no mods this time, same effect. Ie lcdproc server is running but no client connected.
-
I have mine setup just like yourself image shows, but when I run the LCDproc service is fails. Any ideas?
My SmoothWall uses the CAR-3030.
Thanks,
-
check system log
try from console to run
/usr/local/sbin/LCDd -c /usr/local/etc/LCDd.conf -u nobody
if it starts the next step is to run
/usr/local/bin/php -f /usr/local/pkg/lcdproc_client.php
report any error
-
Yeah, check the logs, what errors it it showing?
What exactly do you mean by the service fails?
Steve
-
I still have the issue too. GUI doesn't save config file, if I manually create the config file and ssh to start the services they work. Init name looks wrong to me one in PHP or Inc has .sh and my box didn't or might have been the other way round. Ages since I looked, but as the package was prepared for Dev but released on stable, their might be differences.
-
i can't reproduce it, if i delete /usr/local/etc/LCDd.conf on my 2.4.5-p1 it is created again if i press "save"
-
I will have another play maybe tonight. And check what happens on mine again. Because my memory is a bit vague
-
In the version 2.4.5-RELEASE-p1 it's built in!!! :-)
-
Been a long time since I went in the loft, the /usr/local/etc/LCDd.conf is never created when pressing save.
System Log says:
Nov 25 12:43:06 php-fpm 56811 lcdproc: Sync: Begin package sync
Nov 25 12:43:06 php-fpm 56811 lcdproc: The selected COM port is not valid!The same port works fine when I manually create the file and start it with the following, so it's just GUI issues.
/usr/bin/nice -20 /usr/local/sbin/LCDd -c /usr/local/etc/LCDd.conf -u nobody
/usr/bin/nice -20 /usr/local/bin/lcdproc -c /usr/local/etc/lcdproc.conf
/usr/bin/nice -20 /usr/local/bin/lcdexec -c /usr/local/etc/lcdexec.confI've now removed gui package and just edit the conf files manually :(
-
What com port are you trying to set? Does it exist in /dev?
Steve
-
@stephenw10 /dev/cuau1 yes its in dev and works fine with the config manually created and the commands run, so now I have the following in shellcmd:
/usr/bin/nice -20 /usr/local/sbin/LCDd -c /usr/local/etc/LCDd.conf -u nobody
/usr/bin/nice -20 /usr/local/bin/lcdproc -c /usr/local/etc/lcdproc.conf/usr/local/etc/LCDd.conf looks like:
[server]
DriverPath=/usr/local/lib/lcdproc/
Driver=hd44780
Bind=127.0.0.1
Port=13666
ReportLevel=3
ReportToSyslog=yes
User=nobody
Foreground=no
ServerScreen=no
GoodBye="Thanks for using"
GoodBye=" pfSense "
WaitTime=5
ToggleRotateKey=Enter
PrevScreenKey=Left
NextScreenKey=Right
ScrollUpKey=Up
ScrollDownKey=Down
[menu]
MenuKey=Escape
EnterKey=Enter
UpKey=Up
DownKey=Down
[hd44780]
driverpath=/usr/local/lib/lcdproc/
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 -
Can we see a screenshot of the exact settings you're trying to enter in the package?
Is it possible your browser is auto-filling hidden fields?
Steve