SUMMARY: creating modem control device for tip(1)

From: Randy M. Hayman <haymanr_at_icefog.sois.alaska.edu>
Date: Tue, 14 Oct 1997 12:06:05 -0800

Thanks thus far for the responses from the following:

Brian Sheehan <sheehan_at_scripps.edu>
Paul Gavazzi <gavazzi_at_access.digex.net>
Christian Miranda <cmiranda_at_gmd.com.pe>

The response from Christian Miranda triggered a few synapses.

The solution:

All I had to do was change the following in /etc/remotes:

From:

UNIX-9600|9600 Baud dial-out to another UNIX system:\
        :el=^U^C^R^O^D^S^Q_at_:ie=#%$:oe=^D:tc=dial9600:
        
To:

UNIX-9600|9600 Baud dial-out to another UNIX system:\
        :el=^U^C^R^O^D^S^Q_at_:ie=#%$:oe=^D:tc=dial9600:\
        :dv=/dev/ttyd0:


Original question:

> I'm attempting to set up the serial line port on a DEC 3000-300L for
> use
> with tip. I have used MAKEDEV to create the ttyd0 modem-control
> device,
> here's the outcome:
>
> # grep modem /etc/inittab
> modem:234:respawn:/usr/sbin/getty ttyd0 M19200 vt100
>
> # ps ax | grep getty
> 1054 console IW + 0:00.10 /usr/sbin/getty console console vt100
> 19478 ttypd S + 0:00.03 grep getty
> 19444 tty00 I + 0:00.08 /usr/sbin/getty ttyd0 M19200 vt100
>
>
> # ls -l /dev/tty00 /dev/ttyd0
> crw-rw-rw- 1 root system 24, 2 Nov 3 1996 /dev/tty00
> crw--w--w- 1 root terminal 24, 2 Oct 13 17:30 /dev/ttyd0
>
> # file /dev/tty00 /dev/ttyd0
> /dev/tty00: character special (24/2) VS_SLU #0 terminal #2
> modem_control on
> /dev/ttyd0: character special (24/2) VS_SLU #0 terminal #2
> modem_control on
>
>
> # tip /dev/tty00
> tip0: missing device spec
>
> # tip /dev/ttyd0
> tip0: missing device spec
>
>
> According to the source code the reason for the error message:
> "tip0: missing device spec"
> is that the 'UNIX device(s) to open' (argv[1]) is null or is a pointer
> to
> NULL, so tip may be eating my specified device (/dev/ttyd0).
>
> On my personal workstation, an older DEC 3000-300 upgraded to a 300XL,
> the
> tty modem devices have always functioned (since OSF/1 v1.2 (Aug `94)).
> I
> can't remember that far back as to what I may have done to create a
> modem-control device and make it work with tip.
>
> Perhaps I've missed something obvious? Any ideas?


thanks again.

Randy Hayman
haymanr_at_icefog.alaska.edu
Received on Tue Oct 14 1997 - 22:35:45 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:36 NZDT