Subject: Re: slip woes
To: None <brice@ist.flinders.edu.au>
From: Charles M. Hannum <mycroft@ai.mit.edu>
List: netbsd-help
Date: 07/02/1995 21:52:32
after attempting to connect a Sparc ELC running -1.0 to my remote
machine running slirp (a SLIP/CSLIP emulator) using slattach, the only
response I could get was:
ioctl(TIOCSDTR): Inappropriate ioctl for device
using the command:
slattach -s 38400 ttya
Any help would be greaty, vastly, incredibly appreciated.
TIOCSDTR and TIOCCDTR were added to the zs driver after 1.0. Here are
the changes from that time, which you will probably have to apply
manually to the 1.0 version of the driver.
*** zs.c 1994/12/06 00:01:39 1.21
--- zs.c 1995/01/29 18:56:01 1.22
***************
*** 1159,1163 ****
--- 1159,1167 ----
}
case TIOCSDTR:
+ zs_modem(cs, 1);
+ break;
case TIOCCDTR:
+ zs_modem(cs, 0);
+ break;
case TIOCMSET:
case TIOCMBIS: