Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Jan 1999 06:54:20 -0500
From:      Graeme Tait <graeme@echidna.com>
To:        Brian Somers <brian@awfulhak.org>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: PPP -alias won't work anymore 
Message-ID:  <369C896C.76C3@echidna.com>
References:  <199901130110.BAA20533@keep.lan.Awfulhak.org>

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:

# $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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?369C896C.76C3>