From: "Randy M. Hayman" <haymanr () icefog ! sois ! alaska ! edu>
To: tru64-unix-managers
Subject: SUMMARY: creating modem control device for tip(1)
Date: Tue, 14 Oct 1997 20:06:05 +0000 [thread overview]
Message-ID: <96078618110431.tru64-unix-managers.marc@archive.invalid> (raw)
Thanks thus far for the responses from the following:
Brian Sheehan <sheehan@scripps.edu>
Paul Gavazzi <gavazzi@access.digex.net>
Christian Miranda <cmiranda@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@:ie=#%$:oe=^D:tc=dial9600:
To:
UNIX-9600|9600 Baud dial-out to another UNIX system:\
:el=^U^C^R^O^D^S^Q@: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@icefog.alaska.edu
reply other threads:[~1997-10-14 20:06 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox