Поставил упс. При загрузке выскакивает ошибка
upsd[291] cannot open /dev/cuaa1 : Device not configured
В rc.conf:
default() {
# Reset everything changed by the other functions to initial defaults.
ci=$1; shift # call in device identifier
co=$1; shift # call out device identifier
for i in $*
do
comcontrol /dev/tty${ci}${i} dtrwait 300 drainwait 0
stty < /dev/ttyi${ci}${i} -clocal crtscts hupcl 9600 reprint ^R
stty < /dev/ttyl${ci}${i} -clocal -crtscts -hupcl 0
stty < /dev/cuai${co}${i} -clocal crtscts hupcl 9600 reprint ^R
stty < /dev/cual${co}${i} -clocal -crtscts -hupcl 0
done
stty < /dev/cuaa1 9600 clocal -parenb -parodd cs8 -cstopb -icanon
}
Пишу:
cu -1 /dev/cuaa1
Ответ: cu: /dev/cuaa1: System not found
Как запустить упс? на тачке 6 компортов: два родных и 4 на мультипортовке(Moxa C104)
Вообще раньше я использовал ttyd2, 3 и 4
Какое отличие от cuua0?