In-Out modems on SPARC stations

Geoffrey H. Cooper geof at aurora.com
Wed Jun 5 04:40:00 AEST 1991


In article <2735 at brchh104.bnr.ca> brooks at tazdevil.llnl.gov (Eugene D. Brooks III) writes:
>X-Sun-Spots-Digest: Volume 10, Issue 98, message 5
>X-Note: Submissions: sun-spots at rice.edu, Admin: sun-spots-request at rice.edu
>
>Once upon a time, you could do a kernel configuration change and create
>devices for terminal lines on SUNS which differered by 128 in their device
>number and would get incoming dialin lines which issued a hangup to the
>shell when the carrier was lost, and which could also be dialed out on if

Sure, we do it all the time.  From my script:

* Set up EEROM using /usr/etc/eeprom (or rom monitor):
       # /etc/fasthalt
       ....
       >new
       ...
       setenv tty[ab]-ignore-cd false
       setenv tty[ab]-rts-dtr-off false
   [reboot to have this take effect]
       b

* Create dialup devices:

    # mv /dev/ttya /dev/ttyd[12]
    # mknod /dev/cua[12] c 12 128
    # chown uucp.uucp /dev/cua[12]
    # ls -l /dev/ttyd? /dev/cua?
    crw-------  1 uucp      12, 128 Aug 10 17:15 /dev/cua1
    crw-r--r--  1 uucp      12, 129 Aug 10 17:30 /dev/cua2
    crw--w--w-  1 root      12,   0 Aug 10 15:55 /dev/ttyd1
    crw--w--w-  1 root      12,   1 Aug 10 15:04 /dev/ttyd2

* Edit /etc/ttytab:

    ttyd1	"/usr/etc/getty std.19200"	dialup		on remote
    ttyd2	"/usr/etc/getty std.19200"	dialup		on remote

* Reset tty driver:

    # kill -1 1

As of SunOS4.1.1, it is claimed that the software can be made to
appropriately ignore the EEPROM parameters, above.  I haven't tried
that, but have no counter-evidence.

- Geof
-- 
geof at aurora.com / aurora!geof at decwrl.dec.com / geof%aurora.com at decwrl.dec.com




More information about the Comp.sys.sun mailing list