[OmniOS-discuss] How do you configure serial ports on OmniOS?

Tim Rice tim at multitalents.net
Sat Mar 1 00:22:36 UTC 2014


On Fri, 28 Feb 2014, Chris Siebenmann wrote:

>  This question makes me feel silly but I'm lost in a confusing maze of
> documentation for sacadm, pmadm, and so on and I can't find anything
> with web searches. What I would like to do is configure what I believe is
> /dev/term/c ('ttyS3' in Linux) to run a getty or the OmniOS/Illumos/etc
> equivalent at 115200 baud.

Seems like there should be a command to change the baud rate.
I've always just edited the _pmtab file.

disable the port (assuming pmadm -l shows it enabled)
# pmadm -d -p zsmon -s ttyc

change the baud rate to what you want
# vi /etc/saf/zsmon/_pmtab

Enable the port
# pmadm -e -p zsmon -s ttyc

Sometimes you need to restart the port monitor. (will effect all ports on zsmon)

# sacadm -k -p zsmon

# sacadm -s -p zsmon


> 
>  Relatedly, I'd also like to change the getty-equivalent that 'pmadm -l'
> at least theoretically says is talking to /dev/term/a from 9600 baud to
> 115200 baud. How to do this is also, well, not obvious to me.
> 
> (Please note that I do not want to make this the serial console, a
> procedure for which there seems to be plenty of documentation. I just
> want to be able to log in over that serial port, or it and /dev/term/a.)
> 
>  Thanks in advance.
> 
> 	- cks

-- 
Tim Rice				Multitalents
tim at multitalents.net




More information about the OmniOS-discuss mailing list