Reply to comment

Sun serial devices

SUN uses RS-423, compat w/RS-232-25

Broadcast Network: all of the workstations on the network receive all transmissions

PointA      PointB
trn 2 -----> 2 rcv
rcv 3 <----- 3 trn
rts 4 -----> 4 rts
cts 5 <----- 5 cts
dsr 6 <----- 6 dsr
gnd 7 <----> 7 gnd
dcd 8 <----- 8 dcd
dtr20 -----> 20dtr

NULL MODEM CABLE

trn 2 <-\/-> 2 trn
rcv 3 <-/\-> 3 rcv
gnd 7 <----> 7 gnd

BI-DIR Modems
* set to use hardware carrier detect, DCD pin, #8, data carrier detect (high=using, low=not used)

SERVICE ACCESS FACILITY SAF
* Don King of serial ports
* monitor remote printer requests on network ports
* consists of service access controller, SAC, this runs SAF

/etc/saf: zsmon/_pmtab tcp/_pmtab _sactab (definitions)
ttya or ttyb (/dev/term/a or b)
ttymon daemon is a STREAMS-based TTY port monitor

ttymon manages serial ports
listen manages network ports

sacadm add, rm, diable, monitor port monitors
pmadm provide port use info
ttyadm tty info
nlsadmin provide listen-specific information to the pmadm command

The Bootup Sequence:
read /etc/inittab, start sac at runlevel 2
/etc/saf/_sysconfig system timezone, etc

Handy Commands

# sacadm -a -p newpmtag -t ttymon -c /usr/lib/saf/ttymon -v 1           add port monitor tag
# ttyadm -V             version number
# sacadm -l             list all port mon status'
# pmadm -l              list port monitors
# pmadm -l -s ttya      list specific configured port monitor
# sacadm -k,s,d,e,r -p zsmon    kill(k), start(s) disable(d), enable(e), remove a tag(r)a port mon

DIS/EN able a terminal login, like on clock board:

# pmadm -d,e -p zsmon -s ttyb           d-disable, e-enable

TTY SETTINGS
/etc/ttydefs
/usr/share/lib/terminfo directory: term and printer database, termcap /etc/termcap has info too

ADD A LOGIN service for an acsii terminal from a third serial port using async line mux card

# pmadm -a -p newpmtag -s tyc -i root -fu -v 1 -m
> "`ttyadm -l 9600 -d /dev/term/c -T tvi925 \
> -i 'terminal disabled' -s /usr/bin/login -S y`"

See jt4 for more info

SETTING UP A TERMINAL FOR LOGIN SERVICE

# ttyadm -V display the version info

# add an instance of a ttymon port mon called zsmon
# sacadm -a -p zsmon -t ttymon > -c /usr/lib/saf/ttymon -v 1

# pmadm -r -p zsmon -s ttya remove existing service for ttya, so that a terminal
can be connected for solaris 2.6 release

# pmadm -a -p zsmon -s ttya -i root -fu -v 1 \ use this simple command to associate
> -m "ttyadm -l 9600 -d /dev/term/a -T tvi925 \ the print monitor with the service
> -i 'terminal disabled' -s /usr/bin/login -S y`" it provides.

Try loggin into the workstation from the terminal

SETTING UP A BIDIRECTIONAL MODEM

.. USE ADMINTOOL TO MAKE THINGS WAY EASIER

TEST MODEM WITH TIP COMMAND
config: /etc/remote
| = or, : = separator

# tip -baudrate hostname | phone-number
# tip -14153374000

Reply

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Copy the characters (respecting upper/lower case) from the image.