Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Dec 1999 13:57:34 +1300
From:      Jonathan Chen <jonc@logisticsoftware.co.nz>
To:        Adrian Henke <adrianhenke@yahoo.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: making apps ppp-aware (i.e.,lynx)
Message-ID:  <19991201135734.A14590@jonc.logisticsoftware.co.nz>
In-Reply-To: <19991130213933.2663.qmail@web901.mail.yahoo.com>; from adrianhenke@yahoo.com on Tue, Nov 30, 1999 at 01:39:33PM -0800
References:  <19991130213933.2663.qmail@web901.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Nov 30, 1999 at 01:39:33PM -0800, Adrian Henke wrote:

> Hi-
> I just set up my ppp config files (from the FreeBSD
> 3.2 CD release), and it appears that I can get a
> useable connection from a terminal; I can successfully
> issue a ping localhost command.  

Pinging localhost doesn't do anything except test your loopback
connection. It doesn't test your connection to the 'Net. You really
need to ping somebody on the 'Net (best by IP addresss) to confirm a
connection. Try "ping 204.216.27.21" (ie www.freebsd.org) to see
whether you get a response. If you don't, you need more work with your
PPP config files.

You need to set up /etc/resolv.conf or named to get name-resolution
working.

> However, I can't seem to figure out how to launch a
> ppp dependent app (like lynx) while I'm connected.  I
> tried issuing the background mode commands so that I
> can use the same terminal, but lynx still gives the
> "unable to connect to remote host" error, then quits. 

Looks like your ppp(8) config isn't quite there yet.

> Also, the pppd daemon is not automatically invoked; is
> this something that I need to include in my scripts in
> order to get lynx (and others) to work?  If so, where
> exactly?

pppd(8) and ppp(8) are 2 seperate beasts. Most of the questions and
answers here relate to ppp(8); and I suspect that's all you will need.

To enable ppp on bootup, you will need to set the following in
/etc/rc.conf:

	ppp_enable="YES"
	ppp_profile="my-isp-profile"	# change to whatever profile you've got

Be warned, this will cause heaps of automatic dial-outs if you've also
got sendmail running.

Jonathan Chen
----------------------------------------------------------------------
             "A person should be able to do a small bit of everything,
                                        specialisation is for insects"


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?19991201135734.A14590>