Date: Mon, 26 May 1997 22:01:06 -0700 (PDT) From: Kevin Eliuk <kevin_eliuk@sunshine.net> To: "Christopher J. Booth" <cbooth@onyx.interactive.net> Cc: questions@FreeBSD.ORG Subject: Re: FreeBSD 2.1.5 and Dial-Up PPP Message-ID: <Pine.BSF.3.96.970526210509.174B-100000@kevin.sunshine.net> In-Reply-To: <199705270230.WAA00949@ithaca>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 26 May 1997, Christopher J. Booth wrote: > Can anyone point me toward documentation on interactive dial-up PPP that works > for FreeBSD 2.1.5? I never have gotten it to work, and I can't yet afford to > purchase the CD-ROMs. (I noticed this weekend that the FreeBSD PPP > documentation at FreeBSD.org is for 2.2 and up....) > I'll and do other than RTFM :-) I'm running 2.2.1, but this configuration has worked for me since 2.1.6. Here is a sample of my setup, which I know needs some tweeking, but it works for pap authentication. I have <enclosed> those thing that are particular to you for easy reference. -- /etc/hosts ~~~~~~~~~~ 127.0.0.1 localhost 10.0.0.1 <your_machine.your.server> <your_machine> -- /etc/host.conf ~~~~~~~~~~~~~~ hosts bind -- /etc/resolv.conf ~~~~~~~~~~~~~~~~ domain <nameserver.your.server> nameserver <whatever the DNS numbers of your> nameserver <primary and secondary nameservers here> -- /etc/ppp/ppp.secret ~~~~~~~~~~~~~~~ # Sysname Secret Key Peer's IP address <machine_name> <your_passwd> 10.0.0.1 /etc/ppp/ppp.conf ~~~~~~~~~~~~~~~~~ default: set device </dev/cuaa0> set speed <57600> deny lqr disable lqr deny pred1 disable pred1 accept pap disable pap disable chap deny chap disable proxy deny proxy set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" AT&FE0 OK-AT-OK \\dATDT \\T TIMEOUT 40 CONNECT" (check these with modem manual)^^^^^^ net: set phone <your-dialup> set login "TIMEOUT 10 gin:-BREAK-gin: <your_login> word: <your_passwd>" set timeout 300 set ifaddr 0 0 /etc/ppp/ppp.linkup ~~~~~~~~~~~~~~~~~~~ MYADDR: delete ALL add 0 0 HISADDR /etc/sysconfig ~~~~~~~~~~~~~~ ~ ~ [irrelevent stuff deleted] ~ ~ hostname=<your_machine.your.server> {No foo.bar tonight} :) ~ ~ ~ [irrelevent stuff deleted] ~ ~ network_interfaces="lo0 <other network interfaces you have>" ~ ~ ~ [irrelevent stuff deleted] ~ ~ router=NO ~ ~ ~ [irrelevent stuff deleted] ~ ~ sendmail_flags="-bd -q30m" Let me know how you make out. _______________________________________ |\ /| | \ kevin_eliuk@sunshine.net / | | \ Kevin G. Eliuk / | | /^\_________________________/^\ | | / \ | |/--===### Powered By FreeBSD 2.2.1 \| | www.freebsd.org | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.970526210509.174B-100000>