On 12 Apr 2004, circuit_breaker <(E-Mail Removed)> wrote:
> Hi,
>
> In my rc.firewall file, I have something like this:
>
> INET_IP="XXX.XXX.XXX.XXX"
> INET_IFACE="eth0"
>
> I would like to assign INET_IP the IP address given by my ISP.
> How?
Since you are on cable modem and likely get an IP via dhcp, see man pages
or docs for whatever dhcp client you are using (dhcpcd or pump?). It
should have a method to run a script whenever you get a new IP, and you
can either set something in a file or refresh your firewall from there
(or pass it to your firewall script as a command line parameter).
--
David Efflandt - All spam ignored
http://www.de-srv.com/