Products Applications Support Partners News About Digi Where to Buy
   
 
 
Technical Support

drivers
firmware upgrades
FAQs
product documentation
cabling
support tools
legacy products
about digi support
knowledge base
online support request
support feedback
support feedback
FTP site
inside out networks
 
 
Quick Reference for Helpful SVR4 CMDs
www.digi.com
  Advanced Search
Product Selector
     
  Technical Support
Drivers

Firmware Upgrades

FAQs

Product Documentation

Cabling

Support Tools

Legacy Products

About Digi Support

Knowledge Base

Online Support Request

FTP Site



Related Links
Inside Out Networks


 
Solutions Partners Support and Training Corporate Info Where to Buy Order Where to Buy Site Map Contact Us
Home > Support >kbase >
Quick Reference for Helpful SVR4 CMDs
Quick Reference for Helpful SVR4 CMDs Quick Reference for Helpful SVR4 CMDs

#init 0 - command will shutdown system.
#init 6 - command will shutdown and then reboot system
------------------------------------------------------------------
#pkgadd -d diskette1 - command to load driver from disk drive A
#pkgadd -d diskette2 - command to load driver from disk drive B

#pkgrm -n package - remove installed package
example: pkgrm -n epca
------------------------------------------------------------------
#pkginfo - lists all installed packages
#pkginfo -l package - long listing of package (gives driver version)
example: pkginfo -l epca
------------------------------------------------------------------
PMADM COMMAND
#pmadm -l (list all active ttymons)
#pmadm -e -p pmtag -s svctag (re-enable port - does not add port)
#pmadm -d -p pmtag -s svctag (disable port)
#pmadm -r -p pmtag -s svctag (remove port)
example pmadm -e -p ttymon3 -s i1a
-------------------------------------------------------------------
Quick Reference for Helpful Files
/etc/saf/ttymon3/_pmtab - similar to /etc/inittab
-------------------------------------------------------------------
example _pmtab from Univel system
# VERSION=2
i1a:u::reserved:reserved:login: /dev/term/i1a:::/usr/bin/shserv:: 9600:ldterm:login\: :::::#
i1b:u::reserved:reserved:login: /dev/term/i1b:::/usr/bin/shserv:: 9600:ldterm:login\: :::::#

example from Unixware 7.0
# VERSION=2
a07s:u::reserved:reserved:login:/dev/term/a07s:b::/usr/bin/shserv:: 9600_8N:ldterm,ttcompat:login\::::::#

example from Solaris 2.5 system
# VERSION=1
b003m:ux:root:reserved:reserved:reserved:/dev/dty/b003m:r:1: /usr/bin/login::9600::login\: ::::#
-------------------------------------------------------------------
/var/saf/ttymon3/log - port monitor log file for ports on port monitor ttymon3
-------------------------------------------------------------------
#uname -a - lists the Operating System version number
-------------------------------------------------------------------
Command to enable a terminal in SVR4 or SVR5
pmadm -a -p ttymonx -s a01s -fu -i root -v `ttyadm -V` -m "`ttyadm -d /dev/term/a01s -l 9600 -s /usr/bin/login -T termtype`"

(for Solaris use a001s instead of a01s)
pmadm -a -p ttymonx -s a001s -fu -i root -v `ttyadm -V` -m "`ttyadm -d /dev/dty/a001s -l 9600 -s /usr/bin/login -T termtype`"

where:
ttymonx - is the port monitor tag such as zsmon. a01s - is the name of the port. Refer to your Digi manual for your device names.
-l 9600 - sets the port for a baud rate of 9600.
-T termtype sets the terminal type (this is optional).
The above command will enable the port for 9600 8,1,N. Consult your documentation if you wish to change these parameters.

Command to enable a modem in SVR4 or SVR5:
pmadm -a -p ttymonx -s a01m -fu -i root -v `ttyadm -V` -m "`ttyadm -d /dev/term/a01m -l 38400 -s /usr/bin/login -T termtype -b -r 1`"

For Solaris use a001m instead of a01m:
pmadm -a -p ttymonx -s a001m -fu -i root -v `ttyadm -V` -m "`ttyadm -d /dev/dty/a01m -l 38400 -s /usr/bin/login -T termtype -b -r 1`"

where:
ttymonx - is the port monitor tag such as zsmon. a01s - is the name of the port. Refer to your Digi manual for your device names.
-l 38400 - sets the port for a baud rate of 38400.
-T termtype sets the terminal type (this is optional).
-b -r 1 - set the port for modem operation.
The above command will enable the port for 9600 8,1,N. Consult your documentation if you wish to change these parameters.
 

solutions | partner programs | corporate info | support and training | where to buy
site map | contact us | press releases |
events | promotions | advertising

Copyright © 1996-2001 Digi International. All rights reserved.

products | applications | support | partners | news | about Digi | where to buy | contact us | site map

Copyright © 1996-2002 Digi International. All rights reserved.



Contact Us Site Map Product Selector Digi Homepage