cuau6 "/usr/libexec/getty std.115200" cons25 on secure
I've never done this myself before (well, not on FreeBSD that is, I have used modems quite extensively) but you might want to look into the gettytab(5) manualpage. I came across this critter when reading the getty(5) manual page.j4ck said:OK, I can set the line's speed here, but what about the other options? Like databits, stopbits, etc.
ap bool false terminal uses any parity
ep bool false terminal uses even parity
np bool false terminal uses no parity (i.e. 8-bit
characters)
op bool false terminal uses odd parity
sp num unused line speed (input and output)
test.std.115200:\
:ep:sp#4800:tc:Pc
cuau3 "/usr/libexec/getty test.std.115200" cons25 on secure
stty -f /dev/cuau3
, only the speed changes to 4800 and the parity value does not change. stty -f /dev/cuau3
after applying the changes using the kill -HUP 1
command.speed 4800 baud;
lflags: -icanon -isig -iexten -echo
iflags: -icrnl -ixon -ixany -imaxbel -brkint
oflags: -opost tab3
cflags: cs8 -parenb