Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Mar 1997 22:35:47 -0500 (EST)
From:      krw@tcn.net
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   docs/3114: FreeBSD Handbook Section 12.1.5 example incorrect
Message-ID:  <199703270335.WAA00335@Pkrw.tcn.net>
Resent-Message-ID: <199703270340.TAA00127@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         3114
>Category:       docs
>Synopsis:       Use of HISADDR in ppp.conf incorrect
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Mar 26 19:40:01 PST 1997
>Last-Modified:
>Originator:     Kenneth R. Westerback
>Organization:
>Release:        FreeBSD 2.2.1-RELEASE i386
>Environment:

>Description:

	The example configuration for PPP and static IP addresses shown in section
	12.1.5 of FreeBSD Handbook will not work. Line 13 is

		add 0 0 HISADDR

	which does NOT add a default route to your ISP.  I'm assuming this is
	a documentation bug (using HISADDR in an incorrect context) rather than
	a ppp bug (HISADDR not being set where it should be).

>How-To-Repeat:

	1) Setup /etc/ppp/ppp.conf as in the example with your user specific info
	2) delete or rename /etc/ppp/ppp.linkup if present
	3) run ppp -auto provider
	4) check netstat -rn for a default route

>Fix:
	
	change line 13 to read

		add 0 0 y.y.y.y

	change Line 13: descriptive paragraph to read

		Adds a default route to your ISP's IP number.  Note use of
		IP address rather than HISADDR macro.  The macro is not
		available for use at this point.
>Audit-Trail:
>Unformatted:



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