From owner-freebsd-questions Wed Jan 13 03:52:44 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA04077 for freebsd-questions-outgoing; Wed, 13 Jan 1999 03:52:44 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from hecate.webcom.com (hecate.webcom.com [209.1.28.39]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA04060 for ; Wed, 13 Jan 1999 03:52:39 -0800 (PST) (envelope-from graeme@echidna.com) Received: from eresh.webcom.com (eresh.webcom.com [209.1.28.49]) by hecate.webcom.com (8.9.1/8.9.1) with SMTP id DAA29098; Wed, 13 Jan 1999 03:52:04 -0800 Received: from [209.122.117.150] by inanna.webcom.com (WebCom SMTP 1.2.1) with SMTP id 16323600; Wed Jan 13 03:49 PST 1999 Message-Id: <369C896C.76C3@echidna.com> Date: Wed, 13 Jan 1999 06:54:20 -0500 From: Graeme Tait Organization: Echidna X-Mailer: Mozilla 2.02 (Win95; I) Mime-Version: 1.0 To: Brian Somers Cc: freebsd-questions@FreeBSD.ORG Subject: Re: PPP -alias won't work anymore References: <199901130110.BAA20533@keep.lan.Awfulhak.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Brian Somers wrote: > > > About a month ago, I succeeded in getting aliasing to work with user ppp, and > > everything was great until yesterday when I had to reboot the system running ppp. > [.....] > > Perhaps you're suffering from a bad hostname ? Can you ``ping home'' ? No! (But see below.) Here is my hosts.conf file: # $Id: host.conf,v 1.2 1993/11/07 01:02:57 wollman Exp $ # Default is to use the nameserver first bind # If that doesn't work, then try the /etc/hosts file hosts # If you have YP/NIS configured, uncomment the next line # nis and hosts file: 127.0.0.1 localhost.echidna.com localhost 209.122.117.150 home.echidna.com home 209.122.117.150 home.echidna.com. After reading your recent response to Larry Nilsen, I tried reversing the order in hosts.conf to hosts bind but it did not fix the problem with aliasing, nor with "ping home". I've tried messing with /stand/sysinstall for configuring the host name, etc., and editing files in accordance with faq's and mailing list posts, and it has all got *very* confusing, and probably messed up. Since my original post, I discovered aliasing *did* still work if I started ppp with ppp -alias -ddial isp But having started it thus, if I say alias enable no alias enable yes aliasing stops working, and won't work again until I restart ppp as above. Nor does aliasing work if I start ppp without the -alias switch, and try saying alias enable yes once the connection is up. Something else - I use 2 providers - one with the static IP (but dynamically assigned with ppp) in the hosts file above, and one with a dynamic IP. The ppp aliasing behaviour is the same whichever I dial. What I would really like to do is be able to dial either provider, and have everything work automatically. In the one case, the ppp machine would have a well-defined IP address, and a domain name that resolves to that address (unfortunately, the ISP defines the reverse DNS to another name). BTW, thanks for the delayed response - I'd pretty much given up on getting an answer. -- Graeme Tait - Echidna To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message