Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!lll-winken.llnl.gov!sol.ctr.columbia.edu!startide.ctr.columbia.edu!wpaul From: wpaul@ctr.columbia.edu (Bill Paul) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: PPP Date: 7 Sep 1995 18:46:30 GMT Organization: Columbia University Center for Telecommunications Research Lines: 48 Distribution: world Message-ID: <42nem6$qtp@sol.ctr.columbia.edu> References: <422j0k$9rk@shum.cc.huji.ac.il> <425gqs$j2l@reason.cdrom.com> <Y0001415.95Sep7101125@malibu.ts.rz.tu-bs.de> NNTP-Posting-Host: startide.ctr.columbia.edu X-Newsreader: TIN [version 1.2 PL2] Daring to challenge the will of the almighty Leviam00se, Martin Butkus (y0001415@ws.rz.tu-bs.de) had the courage to say: : >>>>> "JB" == Joe Beiter <jwb@wilbur.hargray.com> writes: : In article <42k6s6$egf@wilbur.hargray.com> jwb@wilbur.hargray.com (Joe Beiter) writes: : JB> If I try to use the pppd and chat script that is working on my linux system : JB> then /usr/sbin/pppd tells me that "PPP is unavailable on this system". : In the GENERIC kernel (the precompiled one) the pseudo-device ppp is not : built in which is necessary to do kernel ppp. You will have to build a custom : kernel with the ppp device built in. Please read the FAQs on how to do that. : Hope this helps. Roar! If you're running 2.0.5 (or better), then you do _not_ need to recompile your kernel to make PPP work. You might want to make a custom kernel anyway, but if you're in a real hurry and don't feel like loading the kernel sources, then there's no need to worry. There's an if_ppp kernel module lukring under /lkm. All you need to do is this: # cd /lkm # modload -e if_ppp_mod -o /tmp/if_ppp if_ppp_mod.o Presto! PPP support is loaded into your kernel and the ppp0 and ppp1 network devices are now available. Bear in mind that this isn't permanent: you need to load the module whenever the system is rebooted. You can automate this by adding the modload command to /etc/netstart if you like. Note that there are also loadable tunnel and SLIP modules. BEWARE: Do _not_ make the mistake of trying to load the ppp module twice. There is a bug in FreeBSD 2.0.5 that will cause the system to fall over and die if you load a second instance of a MISC type module. The system is supposed to reject the second attempt to load the module, but the sanity check that detects the second module instance happens too late. -Bill -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~T~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Bill Paul (212) 854-6020 | System Manager Work: wpaul@ctr.columbia.edu | Center for Telecommunications Research Home: wpaul@skynet.ctr.columbia.edu | Columbia University, New York City ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ The Møøse Illuminati: ignore it and be confused, or join it and be confusing! ~~~~~~ "Welcome to All Things BSDish! If it's not BSDish, it's crap!" ~~~~~~~