Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Aug 1999 11:37:06 -0400
From:      Christopher Michaels <ChrisMic@clientlogic.com>
To:        'Doug Young' <dougy@gargoyle.apana.org.au>, freebsd-questions@freebsd.org
Subject:   RE: PPP Stuff
Message-ID:  <6C37EE640B78D2118D2F00A0C90FCB4401105BCB@site2s1>

next in thread | raw e-mail | index | archive | help
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<phone number>"
> .... 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6C37EE640B78D2118D2F00A0C90FCB4401105BCB>