<- Other hacks
Pump DHCP patch

Make pump keep the interface up when the DHCP server is down

My computer has a cable connection to the Internet. That's Good. But I live in France. That's Bad. Cable Internet in France is nothing compared to what you can get in north America. Basically, you get 64 KByte/sec downstream, 16 KByte/sec upstream, a 500 MByte per month upload limit and pretty unstable routers and DHCP servers.

This patch addresses this last problem: when your DHCP server is down, your client is requested by the DHCP specification (in rfc2131) to bring the interface down at the end of the lease time. What that means is that your network will be down even though the router works. All you have to do is wait for your ISP's techs to reboot the server or configure your interface staticaly.

When modified by this patch, pump will accept a --ftci option (if you need it, you know why it's called like this ;-) that will make it behave differently: when a renewal request gets no answer from the DHCP server, pump will keep the interface up and try to renew again every 10 minutes. As soon as the server comes back up, you'll be in order again, but meanwhile, you'll still be able to use the Internet.

You can find a modified rpm of pump 0.8.11 here, and if you don't trust strangers about precompiled binaries that will run as root (and you shouldn't), you can find the patch for pump 0.8.11 here.

© 2000-2014 Mikael Bouillot (last updated 2001-03-16)