From owner-freebsd-hackers Thu Mar 30 07:00:06 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id HAA28562 for hackers-outgoing; Thu, 30 Mar 1995 07:00:06 -0800 Received: from squid.umd.edu (squid.umd.edu [129.2.40.6]) by freefall.cdrom.com (8.6.10/8.6.6) with SMTP id HAA28556 for ; Thu, 30 Mar 1995 07:00:03 -0800 Received: by squid.umd.edu (5.65/Ultrix3.0-C) id AA03705; Thu, 30 Mar 1995 10:05:14 -0500 From: fcawth@squid.umd.edu (Fred Cawthorne) Message-Id: <9503301505.AA03705@squid.umd.edu> Subject: Re: Slip over telnet To: swallace@newport.ece.uci.edu (Steven Wallace) Date: Thu, 30 Mar 95 10:05:14 EST Cc: jgreco@brasil.moneng.mei.com, davide.tome'@galactica.it, hackers@FreeBSD.org In-Reply-To: <9503300732.AA22608@newport.ece.uci.edu>; from "Steven Wallace" at Mar 29, 95 11:32 pm X-Mailer: ELM [version 2.3 PL11] Sender: hackers-owner@FreeBSD.org Precedence: bulk > > >> I'd like to know if its possible to run slip over telnet connection > >> to give our user , who has telnet account on our UNIX, the SLIP > >> connection. > >> > > It was not (apparently?) possible as of 2.0R, when I tried it I was not able > > to get it to work (but I didn't put a LOT of effort into it). > > > I was able to hack with the 1.1.5R kernel to get pty to work with SLIP > over telnet. It worked okay, but then after a while it would just hang > for several seconds and take a minute to fully recover. > > I would like FreeBSD 2.X to be able to do SLIP/PPP over a pty. > I don't see anything inhibiting that possibility, do you? > If not, lets do it! > Hmmm... I have a PPP server working over a pty on 2.0R with the PPP patch... I call in, telnet to my FreeBSD2.0 machine, and start pppd. (with no options for the tty so I guess it uses /dev/tty...) I escape the telnet control character and all is well. There does seem to be a delay every once in a while when I am ftp'ing large files. When something else is running (like an X application...) the delays go away. (or if I type some characters in a telnet session, sending stuff to the server) Perhaps a timeout is getting exceeded or something. I am using a 28.8K modem too, so maybe some bytes are getting lost. I haven't really tweaked it much, since it worked OK for telnet sessions and LBX. I will try to mess with the timeout values and packet size type things to see if that helps. I thought I tried pppd over a pty on one of our boxes that has a fairly recent snapshot on it too. (950202??) I suppose I could use a raw telnet connection and try slip as well. Oh, yeah, one thing that got me was that tip put the serial port in some funny mode so that it made my modem connect with 7 bits or something. The Annex terminal server went into some wierd mode that messed up the password/login negotiation when telnetting out. (like the linemode problem does, it doesn't accept the CR at the end of the login or password) When I did an stty