Bryan Mayland
TVWBB Hall of Fame
WOW We have our own subforum now? I couldn't find the thread then got all confused.
-- Disable the serial login capability, which eats the data coming into ttyS0. SSH into the router and `vi /etc/inittab`. Make sure these two lines are commented out (start with #).
#ttyS0::askfirst:/bin/ash --login
#tty1::askfirst:/bin/ash --login
-- Tell linkmeterd/hmdude to use ttyS0
uci set lucid.linkmeter.serial_device=/dev/ttyS0
uci commit lucid
-- Reboot! The software is now all set up.
-- Hardware-wise, what I did was use wire cutters to cut the ttyS1 TX/RX pins at the 90 degree bend, then soldered some small wires from the ttyS0 holes to the pin nubs that connect to the HeaterMeter. I had a 2x1 pinheader in the ttyS0 hole and just connected to that but you can just solder them into the holes directly. You can kinda see the hack job in this picture.
If you use the configuration backup, it saves all the config changes needed to set it back up. I use ttys0 and it hasn't been an issue upgrading the firmware since I backup, upgrade the firmware, restore the backup, reboot. It is pretty easy:Originally posted by RJ Riememsnider:
Bryan, I think my post got lost. How hard is it to switch to TTYS0? This is for a non-tech savvy friend and I'm worried it may cause issues for later linikmeter firmware upgrades. Your thoughts???
-- Disable the serial login capability, which eats the data coming into ttyS0. SSH into the router and `vi /etc/inittab`. Make sure these two lines are commented out (start with #).
#ttyS0::askfirst:/bin/ash --login
#tty1::askfirst:/bin/ash --login
-- Tell linkmeterd/hmdude to use ttyS0
uci set lucid.linkmeter.serial_device=/dev/ttyS0
uci commit lucid
-- Reboot! The software is now all set up.
-- Hardware-wise, what I did was use wire cutters to cut the ttyS1 TX/RX pins at the 90 degree bend, then soldered some small wires from the ttyS0 holes to the pin nubs that connect to the HeaterMeter. I had a 2x1 pinheader in the ttyS0 hole and just connected to that but you can just solder them into the holes directly. You can kinda see the hack job in this picture.