From owner-freebsd-questions Wed May 12 13:42:40 1999 Delivered-To: freebsd-questions@freebsd.org Received: from resnet.uoregon.edu (resnet.uoregon.edu [128.223.144.32]) by hub.freebsd.org (Postfix) with ESMTP id 96727153F0 for ; Wed, 12 May 1999 13:42:37 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Received: from localhost (dwhite@localhost) by resnet.uoregon.edu (8.8.8/8.8.8) with ESMTP id NAA08827; Wed, 12 May 1999 13:42:32 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Date: Wed, 12 May 1999 13:42:31 -0700 (PDT) From: Doug White To: kupek Cc: questions@FreeBSD.ORG Subject: Re: couple of small? problems with 3.1 In-Reply-To: <37374F99.77A80C53@jps.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 10 May 1999, kupek wrote: > I seem to be having a couple of minor problems with 3.1. I think > beforehand i need to give a little info on my setup thought. Im using my > freebsd box to connect to my isp, and using the ppp -alias option to > allow my lan access to the net using my freebsd box as a gateway. My > dialup ip number is dynamic, and to get a static > ip address im using a service that provides a hostname that translates > into your current ip address. > > The first problem im having is i keep getting this message from syslogd > on my console: > May 10 13:40:52 slipstream sendmail[361]: gethostbyaddr(192.168.1.3) > failed: 1 > > I'm not sure what this is for, but I know sendmail should be using my > normal ip address and not my lan > address... Or someone sent mail from this address. Fix your DNS so that 192.168.1.3 reverse-resolves. > The second problem i'm having is whenever i get disconnected from my > isp, ppp auto reconnects (im using the -ddial argument to ppp). However, > every time it reconnects, it doesn't seem to be deleting my old IP > address. right now, this is what I get from doing an ifconfig tun0: > > tun0: flags=8051 mtu 1524 > inet 216.119.27.53 --> 255.255.255.255 netmask 0xffffffff > inet 216.119.27.81 --> 255.255.255.255 netmask 0xffffffff > inet 216.119.27.137 --> 216.119.31.19 netmask 0xffffff00 > > My current ip address at the time is 216.119.27.137, that should be the > only valid ip address. > > Anyone know whats up? Copy /etc/ppp/ppp.linkup.sample to /etc/ppp/ppp.linkup and amend accordingly. Doug White Internet: dwhite@resnet.uoregon.edu | FreeBSD: The Power to Serve http://gladstone.uoregon.edu/~dwhite | www.freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message