From owner-freebsd-questions Sat Dec 29 15:31:33 2001 Delivered-To: freebsd-questions@freebsd.org Received: from web21105.mail.yahoo.com (web21105.mail.yahoo.com [216.136.227.107]) by hub.freebsd.org (Postfix) with SMTP id BD01A37B416 for ; Sat, 29 Dec 2001 15:31:26 -0800 (PST) Message-ID: <20011229233126.28319.qmail@web21105.mail.yahoo.com> Received: from [65.80.52.13] by web21105.mail.yahoo.com via HTTP; Sat, 29 Dec 2001 15:31:26 PST Date: Sat, 29 Dec 2001 15:31:26 -0800 (PST) From: Jon Gable Subject: Re: Changing IPs To: John Kozubik Cc: Christopher Schulte , questions@FreeBSD.ORG In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG EXCELLANT! Thanks for the help!!! Jon --- John Kozubik wrote: > > I suspect that in your system you only need to edit: > > /etc/rc.conf > > and > > /etc/hosts > > Speaking of ftp specifically, I suspect you do not > need to change _any_ > settings for ftp. There certainly are > configurations where this would be > required, but I doubt yours is one. > > A quick way to see if there are any dependencies on > the IP address in the > standard configuration files would be to: > > `grep [your_IP] /etc/*` > > which checks to see if your current IP address is > contained in any of the > files in /etc. If after you change /etc/hosts and > /etc/rc.conf you still > see your current IP address in other files in /etc, > you should check those > too. If you need the IP now, you will probably need > it to be correct when > you change as well... > > > ----- > John Kozubik - john@kozubik.com - > http://www.kozubik.com > > > > > On Fri, 28 Dec 2001, Jon Gable wrote: > > > Thanks - This machine is using (Sendmail) Email > and > > and an FTP service. Where in world would I look > for > > the FTP section? > > > > Thanks Again - > > > > Jon > > > > > > --- Christopher Schulte > > wrote: > > > At 05:52 PM 12/28/2001 -0800, Jon Gable wrote: > > > >Just confirming: > > > > > > > >We are changing ISPs so I'll need to change my > > > FreeBSD > > > >machine running Sendmail's IP address. > > > > > > > >Is the only place I make the ip change located > in > > > the > > > >hosts file? > > > > > > No. There will be more places to make changes, > but > > > the exact details > > > depend on what services you have running. > > > > > > On one of my machines, I would have to edit: > > > > > > /etc/hosts - you got this one > > > /etc/rc.conf - where ip configuration is usually > > > stored > > > /etc/rc.firewall - my ipfw configuration > > > /etc/named/named.conf - don't forget bind > > > /usr/local/etc/dhcpd.conf - I run a dhcp server > here > > > /usr/local/apache/conf/httpd.conf - I run apache > > > /usr/local/ncftpd/conf/domain.cf - ncftpd conf > > > and so on > > > > > > Most basic systems will need to edit at least > > > /etc/hosts and > > > /etc/rc.conf. The rest really depend on your > > > machine. Any service that > > > has a static IP address in its configuration > will > > > need to be modified. > > > > > > One idea is to grep your /etc files for the IP > > > address currently > > > assigned. Most (but not necessarily all) > changes > > > are in there. > > > > > > >Thanks > > > > > > > >Jon > > > > > > --c > > > > > > > > > > > > __________________________________________________ > > Do You Yahoo!? > > Send your FREE holiday greetings online! > > http://greetings.yahoo.com > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-questions" in the body > of the message > > > __________________________________________________ Do You Yahoo!? Send your FREE holiday greetings online! http://greetings.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message