Return to BSD News archive
Newsgroups: comp.unix.bsd.freebsd.misc Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!news.sprintlink.net!howland.reston.ans.net!EU.net!uknet!eldorado.net-tel.co.uk!usenet From: Andrew Gordon <andrew.gordon@net-tel.co.uk> Subject: Re: slattach and /dev/ptyp? X-Nntp-Posting-Host: evening-star.net-tel.co.uk Content-Type: text/plain; charset=us-ascii Message-ID: <DFMsrs.3Gt@net-tel.co.uk> To: C.Makin@nla.gov.au Sender: usenet@net-tel.co.uk (usenet poster) Content-Transfer-Encoding: 7bit Organization: NET-TEL Computer Systems Ltd References: <44ddtg$kg4@widow.nla.gov.au> Mime-Version: 1.0 Date: Thu, 28 Sep 1995 19:57:26 GMT X-Mailer: Mozilla 1.1N (Macintosh; I; PPC) X-Url: news:44ddtg$kg4@widow.nla.gov.au Lines: 13 cmakin@gadget.nla.gov.au (Carl Makin) wrote: >I'm trying to setup a slip link through a pty so that I can talk to a daemon >that does IPIP encapsulation for Ham radio use. Not an answer to your question, but have you considered using the 'tun' device instead? You just open /dev/tun0, then each call of read() returns exactly one packet, and each call of write() injects one packet into the system. This may be easier than trying to (ab)use the SLIP driver which is doing more than you really want.