Hi,
I've got Bering 1.2 boxen connected to ADSL modems (Telus service in Canada) which uses pump to get an IP lease. Every so often when the DSL service goes down, say for a few hours, the firewall doesn't pickup the service again when it does come back up. I have to either login at the console and force dhcp renewal or get someone to reset the box if I'm not there. I did notice in /etc/pump.conf that retries was set to 3. Would increasing this value to something much larger help or is there some other directive required? I can't identify any other directives from the man page that could help with the renewal problem.
This is sort of the way DHCP is supposed to work, I'm sorry to say. It looks for a server and, if it doesn't find one reasonably promptly, gives up. The details of "gives up" can vary a bit from one DHCP server to another (Windows machines, for example, assign themselves a random 169.b.c.d address, following a procedure in some RFC I forget at the moment; while typically Linux DHCP clients leave the interface unconfigured). I don't know, offhand, what router-in-a-box solutions like Lynksys and Netgear do (does anyone?).
Anyway, I suspect the easy solution is to write a small cron job that checks the external interface every 5 minutes or so and, if it does not have a valid IP address, reruns pump. I could rattle this off in Perl, but someone better at shell scripting than I am will have to implement it for LEAF.
Increasing retries won't help with this behavior, because the retries occur promptly, not spread out over hours, so they deal only with a service interruption of a few seconds at most.
------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ ------------------------------------------------------------------------ leaf-user mailing list: [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html
