Magnia SG30 LCD working on Debian 10 server.
Raymond Day Raymond Day
1.13K subscribers
147 views
0

 Published On Dec 30, 2020

This is working on a Magnia SG30 with Debian 10 server installed on it.

Just have to fix the IP Debian did not name them eth0 and eth1.

Fixed it so it starts at boot now but on the command line it looks like this:

root@sg30:/home/raymond# ls
lcd-2.2 lcd-2.2.1.tar
root@sg30:/home/raymond# cd lcd-2.2/
root@sg30:/home/raymond/lcd-2.2# ls
firewall-off.sh ipaddr lcd-2.2 lcd.c lcd.init README
firewall.sh lcd lcd-2.2.c lcd.c~ Makefile
root@sg30:/home/raymond/lcd-2.2# make
make: 'lcd' is up to date.
root@sg30:/home/raymond/lcd-2.2# make install
cp lcd /usr/sbin
cp lcd.init /etc/init.d/lcd
root@sg30:/home/raymond/lcd-2.2# lcd start
Usage: lcd [-f] ~command~ [...]
~command~ can be server, write, read, fans
server run in server mode taking over LCD, buttons and fans
write writes next two parameters to display
read reads LCD buttons with optional timeout
fans turn fans on or off
Use the -f option to display temperatures in Fahrenheit.
root@sg30:/home/raymond/lcd-2.2# lcd server
sh: 1: /usr/local/sbin/ipaddr: not found
sh: 1: /usr/local/sbin/ipaddr: not found
Device "eth0" does not exist.
Use of uninitialized value $1 in print at /usr/local/sbin/ipaddr line 11.
Device "eth1" does not exist.
Use of uninitialized value $1 in print at /usr/local/sbin/ipaddr line 11.

Can see how just have to fix the ipaddr now. Can't edit the program it is in bin at least I don't know how.

But at lest 90% of it is working. I had Ubuntu 18 server on this it's a 3-bit CPU so that's all Ubuntu went up to at 32-bit. just got the LCD to boot with some text that went off to the side of the screen. But Debian server worked with it easy. Just the IP have to see if can fix it yet.

Did get the IP to show up in it later. I had to rename the Ethernet names to eth0 and eth1.

-Raymond Day

show more

Share/Embed