Date: Thu, 4 Oct 2001 22:16:19 +0200 From: "Ronald Bootsman" <Ronald@Bootsman.Net> To: "Majordomo@FreeBSD.ORG" <freebsd-mobile@freebsd.org> Subject: Question about Dynamic IP Message-ID: <LCECKIOHGKFBMJBKJPFBMEEICAAA.Ronald@Bootsman.Net>
next in thread | raw e-mail | index | archive | help
I am running a FreeBSD 4.3-release machine, with DNS, Apache en dhclient for retrieving my new ip. For months I had constantly the same IP, so I placed this ip-address hardcoded in all the configfiles. Since this week, my provider starts kicking of users, and after I reboot I get a new ip-address in an entire new range with new gateway. As you will figure, I have to edit all the configfiles with the new ip-address. Does anybody have the same problem ? Since I am a relative nono in scripting...., can anybody provide my a script, which will scan for this new ip-address and automatically change it in http.conf, dns zone files, rc.conf, etc. ----------------------------- Ronald Bootsman ********* DISCLAIMER ********* Dit email-bericht is gecontroleerd door McAfee op alle bekende virussen. De informatie in dit e-mail-bericht is uitsluitend bestemd voor de geadresseerde. Verstrekking aan en gebruik door anderen is niet toegestaan. Door de elektronische verzending van het bericht kunnen er geen rechten worden ontleend aan de informatie. This Email message has been scanned by McAfee on all known virusses. The information contained in this electronic mail message is privileged and confidential, and is intended only for use of the addressee. If you are not the intended recipient, you are hereby notified that any disclosure, reproduction, distribution or other use of this communication is strictly prohibited. If you have received this communication in error, please notify the sender by reply transmission and delete the message without copying or disclosing it. Datfile 03 October, 2001 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?LCECKIOHGKFBMJBKJPFBMEEICAAA.Ronald>