This is the script I use to accomplish this. Just substitute the network
card interface code with the one you wish to have renewed.
I run this every 24 hours, and have been able to keep the same IP address
for going on 6 months now. It also generates a handy Email to root when
run from /etc/
Not sure if you've found this already. One thing I used to do on an
older box was a simple cron job that ran a script which HUP'd the
dhclient every so often thus effectively renewing the lease...
If memory serves me it went something like
#!/bin/sh
kill -HUP `ps ax |awk '/dhclien
Hallo,
My FreeBSD 4.5-RELEASE machine is
connected to the internet via a cable connection. And when booting (or running
dhclient) I get an IP address. But when I have an IP address and my ISP wants to
give me a new IP address I doesn't go the way it should. Because I don't get the
new IP a