From owner-freebsd-questions Tue Nov 30 16:57:42 1999 Delivered-To: freebsd-questions@freebsd.org Received: from logisticsoftware.co.nz (logisticsoftware.co.nz [202.37.163.1]) by hub.freebsd.org (Postfix) with ESMTP id 7FBAD14F59 for ; Tue, 30 Nov 1999 16:57:37 -0800 (PST) (envelope-from jonc@logisticsoftware.co.nz) Received: from jonc.logisticsoftware.co.nz (jonc.logisticsoftware.co.nz [10.1.3.1]) by logisticsoftware.co.nz (8.9.3/8.9.3) with ESMTP id NAA11090; Wed, 1 Dec 1999 13:57:36 +1300 (NZDT) Received: (from jonc@localhost) by jonc.logisticsoftware.co.nz (8.9.3/8.9.3) id NAA14710; Wed, 1 Dec 1999 13:57:34 +1300 (NZDT) (envelope-from jonc) Date: Wed, 1 Dec 1999 13:57:34 +1300 From: Jonathan Chen To: Adrian Henke Cc: freebsd-questions@FreeBSD.ORG Subject: Re: making apps ppp-aware (i.e.,lynx) Message-ID: <19991201135734.A14590@jonc.logisticsoftware.co.nz> References: <19991130213933.2663.qmail@web901.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <19991130213933.2663.qmail@web901.mail.yahoo.com>; from adrianhenke@yahoo.com on Tue, Nov 30, 1999 at 01:39:33PM -0800 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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