From owner-freebsd-questions Mon Aug 23 8:34:48 1999 Delivered-To: freebsd-questions@freebsd.org Received: from ns.clientlogic.com (ns.clientlogic.com [207.51.66.75]) by hub.freebsd.org (Postfix) with ESMTP id 94AB515827 for ; Mon, 23 Aug 1999 08:34:33 -0700 (PDT) (envelope-from ChrisMic@clientlogic.com) Received: by site0s1 with Internet Mail Service (5.5.2448.0) id ; Mon, 23 Aug 1999 11:34:30 -0400 Message-ID: <6C37EE640B78D2118D2F00A0C90FCB4401105BCB@site2s1> From: Christopher Michaels To: 'Doug Young' , freebsd-questions@freebsd.org Subject: RE: PPP Stuff Date: Mon, 23 Aug 1999 11:37:06 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2448.0) Content-Type: text/plain Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG See below. > -----Original Message----- > From: Doug Young [SMTP:dougy@gargoyle.apana.org.au] > Sent: Sunday, August 22, 1999 11:11 PM > To: freebsd-questions@freebsd.org > Subject: PPP Stuff > > I've just managed to get PPP working manually using"ppp" , then "term", > and > "atdt" > .... can ping one of the two DNS numbers but not other one or any other > addresses. I guess its just a routing problem so maybe I can figure it > out eventually ...... however there are other issues I haven't a clue > about > When dialing manually. You'll need to take 2 steps. >show ipcp Whatever is listed as his address type in the following >add 0 0 HIS_IP_ADDRESS This will resolve your routing problems. Check out set log on the man page for help on debugging. > Autodial doesn't work and I can't find anything I can comprehend about > debugging it > Re-read the pedantic ppp primer again, it should get you on the right track. One thing you need to find out is if your ISP supposes PAP or CHAP authentication. It is infinitely easier to use PAP/CHAP for autodial. If they do not, you'll need to setup a chat script for the login. I belive you can go by the examples in the sample ppp.conf and also there should be a man chat to help you. > That may not be a major problem, as I'd rather the connection stayed up > permanently if at all possible > ppp -ddial entry_in_pppconf > Also, what needs to be done with ppp.conf to allow LAN access to internet > via the BSD box. > Nothing, you want ppp -alias. This will enable network address translation (NAT or IPMasq to linux users). Also, the other boxes on the net need to have the BSD machine set as the gateway. > The Pedantic PPP Primer has info about Dial on Demand, and interactive > mode, > but it doesn't appear that either of those are relavant to my situation. > They are very relevant. If you can get ppp -auto (dial on demand) to work, then ppp -ddial will also work with little or no modification. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message