Return to BSD News archive
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!yarrina.connect.com.au!classic.iinet.com.au!news.uoknor.edu!ns1.nodak.edu!netnews.nwnet.net!oracle.pnl.gov!osi-east2.es.net!lll-winken.llnl.gov!uwm.edu!cs.utexas.edu!math.ohio-state.edu!jussieu.fr!news.univ-angers.fr!news.univ-rennes1.fr!news.emn.fr!irisa.fr!usenet From: leconte@irisa.fr (Thierry Leconte) Newsgroups: comp.unix.bsd.netbsd.misc Subject: Re: Setting up PPP on netbsd (1.0pl6) Date: 4 May 1995 08:29:39 GMT Organization: IRISA-INRIA, Campus de Beaulieu, F-35042 Rennes Cedex Lines: 33 Distribution: world Message-ID: <3oa39j$gsa@news.irisa.fr> References: <65c8db9e@cs.uwp.edu> Reply-To: leconte@irisa.fr NNTP-Posting-Host: spam.irisa.fr In article <65c8db9e@cs.uwp.edu>, Jeremy Nelson <Jeremy_Nelson@p128.f151.n5020.z2.fidonet.org> writes: > > Are there any resources available for setting up PPP on netbsd? Im running > 1.0 with the 6 patches (i can upgrade to 1.0a if its required or helpful), > > Perhaps there is something that i have overlooked that someone who knows > would be willing to share... I have just succefully use pppd on NetBSD1.0 last night. I ran in the following problem : The open subroutine seems to block for tty0x so I had to add FNDELAY to the open options in the source of pppd (In fact the option was here but commented) With this mod pppd run great but not chat because chat use the file descriptor opened by pppd and expect it opened without FNDELAY ! So I had modified chat by adding a fcntl in the init subroutine to disable FNDELAY And now it works .... I'm afraid i don't get it work the best way but it works. > Ive run chat on the command line directing > its input/output to /dev/tty00 and running it as a subprocess of pppd, > but ive not had much luck yet. Normal because open /dev/tty0x block ... If you want more infos (for exemple my patches) don't hesitate to mail me. But again I'm not sure at all that my method is the best one... Thierry Leconte