*BSD News Article 17996


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!foxhound.dsto.gov.au!fang.dsto.gov.au!myall.awadi.com.au!blymn
From: blymn@awadi.com.au (Brett Lymn)
Newsgroups: comp.os.386bsd.questions
Subject: Re: Slcompress, slip header compression ?
Date: 06 Jul 1993 23:03:20 GMT
Organization: AWA Defence Industries
Lines: 36
Message-ID: <BLYMN.93Jul6170320@mallee.awadi.com.au>
References: <Felipe.28.740578609@utopia.hacktic.nl> <741554274snz@awfulhak.demon.co.uk>
	<C9I9Hs.ABv@news.cso.uiuc.edu> <hastyC9IFM3.F9u@netcom.com>
NNTP-Posting-Host: mallee.awadi.com.au
In-reply-to: hasty@netcom.com's message of Thu, 1 Jul 1993 23:51:39 GMT

>>>>> On Thu, 1 Jul 1993 23:51:39 GMT, hasty@netcom.com (Amancio Hasty Jr) said:

AH> In article <C9I9Hs.ABv@news.cso.uiuc.edu> rb6775@ehsn19.cen.uiuc.edu (Rafal Krzysztof Boni) writes:
>brian@awfulhak.demon.co.uk (Brian Somers) writes:
>
>>In article <Felipe.28.740578609@utopia.hacktic.nl> Felipe@utopia.hacktic.nl writes:
>
>>>Hi,
>>>
>>>I saw the file slcompress.c and wondered how I can turn on
>>>headercompression on a slip-link. I'm currently still not using header-
>>>compression.
>>>

AH> If you are using NetBSD, the command to enable header compression is:

AH> slattach -c -s modem_speed /dev/com???

AH> I have a V.42bis modem and have been able to establish connections
AH> with header compression and with modem data compression.

AH> Amancio

If you use a v.42bis modem I would *strongly* recommend that you
ensure that the flow control is enabled on the serial port (use stty
crtscts to do this).  I did modify slattach to add a flag to enable
the hardware flow control on the port, I believe that this made it to
the patch kit.  If it is not there I would be happy to mail people a
copy of the patches.

BTW the lack of flow control introduces interesting subtleties into
the link, without flow control I had and asymmetric link - I could ftp
ok one way but it would lock up in the other direction.

--
Brett Lymn