Talk:LaFonera Software Heartbeat-dev

From DD-WRT Wiki

(Difference between revisions)
Jump to: navigation, search

Wildblue (Talk | contribs)
(removed talking section to this page)
Next diff →

Revision as of 05:25, 8 October 2007

Talk

>> i will reduce the number of files downloaded but not reduce any functionality like he did.

I'm not sure what you added to the code Wildblue, but as the Alternative Hotspot Script is literally Freddy's original code other than a few Fonera specific variables (and no logging), which itself is the original code formatted slightly differently, then I don't see how it can have any reduced functionality unless you added something additional to yours (which seems mostly modified futejia code, who's incorrectly assumed you have to download the whole fw for the heartbeat to work).

I've also found a small bug in cronjob useage (may not really be a bug, just a feature, but everyone's written code assuming it would work so...). Not tested it in the Fonera yet, but it's happened in 3 WRT54Gs running DD-WRT RC-1 through RC-3 so...

Entries saved in to /tmp/crontab and custom scripts created in /tmp/cron.d/ are deleted everytime the WAN address is lost then regained. Something to do with it running a load of startup like scripts (ip-up, rc.firewall...) but not the actual "startup commands". Anyway, the way around it is to add all cronjobs via the web control panel in the Additional Cron Jobs box as these are recreated (in /tmp/cron.d/cron_jobs) after the WAN ip is refreshed. In other words, may be appropriate to get rid of the cronjob line in startup commands and add info on adding it to the cron jobs box.
--Pepsimax2k 14:37, 7 October 2007 (CEST)

>> Please do the changes you want to change in the code on this page and i will update the code of the official dd-wrt heartbeat as soon as i reviewed the code.
--wildblue 07:24, 8 October 2007 (CEST)