I previously wrote about my fiddling with lcdproc and tip to get characters to display. After much initial failure, I finally got a working LCDd.conf for lcdproc. For the impatient, here it is:
[server]
Driver=MtxOrb
DriverPath=/usr/local/lib/lcdproc/
Hello=" Hello World "
Hello=" 2013 "
ServerScreen=no
Heartbeat=off
[MtxOrb]
Device=/dev/cua01
Size=16x2
Type=lkd
Speed=19200
hasAdjustableBacklight=no
The device is an old Matrix Orbital LK162-12. The technical reference is here. It took me some time with ktrace/kdump and the technical reference to figure out that the LCDd.conf Type= should be lkd, not the default lcd. It looks like the LCDd at every refresh interval sends out "backlight on," "GPO off," and "underline off," commands. On this screen, the "GPO off," command requires an extra argument as it has 6 GPOs, so the 0xFE part of the "underline off," command was getting chomped, leaving a bare K on the LCD in various places.
Friday, September 13, 2013
Tuesday, September 10, 2013
More on frankenrouter (the Netscaler reboot as OpenBSD)
Well, I had to shelf this project for a while, but back in full force, today.
Today's problem took me most of the day to figure out. This is yet another one of the "both CARP servers are masters," issues that seem to plague CARP newbies.
If you're configuring from /etc/hostname.carp0, and you like to bust your ifconfig statements into multiple lines, you may find that you need to put all the little CARP things ahead of the plumbing of the actual IP address. To wit, this config just wasn't working for me:
inet 192.168.0.1 255.255.255.0 192.168.0.255
-inet6
carpdev em2
vhid 1
pass gandalf
However, this one works fine:
-inet6
carpdev em2
vhid 1
pass gandalf
inet 192.168.0.1 255.255.255.0 192.168.0.255
Today's problem took me most of the day to figure out. This is yet another one of the "both CARP servers are masters," issues that seem to plague CARP newbies.
If you're configuring from /etc/hostname.carp0, and you like to bust your ifconfig statements into multiple lines, you may find that you need to put all the little CARP things ahead of the plumbing of the actual IP address. To wit, this config just wasn't working for me:
inet 192.168.0.1 255.255.255.0 192.168.0.255
-inet6
carpdev em2
vhid 1
pass gandalf
However, this one works fine:
-inet6
carpdev em2
vhid 1
pass gandalf
inet 192.168.0.1 255.255.255.0 192.168.0.255
Subscribe to:
Posts (Atom)