From owner-freebsd-questions Mon Apr 3 07:17:26 1995 Return-Path: questions-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id HAA07619 for questions-outgoing; Mon, 3 Apr 1995 07:17:26 -0700 Received: from alpha.dsu.edu (ghelmer@alpha.dsu.edu [138.247.32.12]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id HAA07612 for ; Mon, 3 Apr 1995 07:17:23 -0700 Received: (from ghelmer@localhost) by alpha.dsu.edu (8.6.12/8.6.12) id JAA28373; Mon, 3 Apr 1995 09:16:30 -0500 Date: Mon, 3 Apr 1995 09:16:30 -0500 (CDT) From: Guy Helmer To: Jan_Guldemond cc: questions@FreeBSD.org Subject: Re: SLIP-server In-Reply-To: <199504031037.MAA22433@mail.euronet.nl> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: questions-owner@FreeBSD.org Precedence: bulk On Mon, 3 Apr 1995, Jan_Guldemond wrote: > Hi, > > I have set up a SLIP server and it's running quite well. But I in the > slip.login script I only execute the ifconfig command. How can I send some > string to the dialup-terminal. I use Winsock under MS-Windows to call in for > a SLIP-connection. But what command should i execute to sned a string to the > Winsock-client. I've tried echo 'line of text' > /dev/ttyd0 but this doesn't > seem to work. The kernel won't do any terminal input/output in the SLIP line discipline (IMHO it wouldn't be a bad thing if one could still do terminal output, but there are probably issues I haven't considered). So, any I/O (such as your "echo" above) has to be done before /usr/sbin/sliplogin changes into the SLIP discipline :-( I've had to hack sliplogin to implement some local stuff... > Help?! Guy Helmer, Dakota State University Computing Services - ghelmer@alpha.dsu.edu