Date: Wed, 13 Jan 1999 17:38:28 +0000 From: Brian Somers <brian@Awfulhak.org> To: Graeme Tait <graeme@echidna.com> Cc: Brian Somers <brian@Awfulhak.org>, freebsd-questions@FreeBSD.ORG Subject: Re: PPP -alias won't work anymore Message-ID: <199901131738.RAA82725@keep.lan.Awfulhak.org> In-Reply-To: Your message of "Wed, 13 Jan 1999 06:54:20 EST." <369C896C.76C3@echidna.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> 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:
That's ``host.conf'' (no ``s'') :-)
> # $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.
[.....]
Try adding
ifconfig_lo0_alias0="inet 209.122.117.150 netmask 0xffffffff alias"
in /etc/rc.conf. I assume that ``hostname'' returns
``home.echidna.com'' (if not, fix it in /etc/rc.conf).
> 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).
Your best bet to achieve this is to have a local nameserver, and run
a command from each profile in ppp.conf that symlinks the correct
named.conf and HUPs named.
[.....]
> --
> Graeme Tait - Echidna
--
Brian <brian@Awfulhak.org> <brian@FreeBSD.org> <brian@OpenBSD.org>
<http://www.Awfulhak.org>
Don't _EVER_ lose your sense of humour !
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?199901131738.RAA82725>
