Talk:LaFonera Software Heartbeat-dev

From DD-WRT Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 05:25, 8 October 2007 (edit)
Wildblue (Talk | contribs)
(removed talking section to this page)
← Previous diff
Revision as of 10:06, 8 October 2007 (edit) (undo)
Pepsimax2k (Talk | contribs)
(Talk)
Next diff →
Line 12: Line 12:
>> Please do the changes you want to change in the code [[LaFonera_Software_Heartbeat-dev|on this]] page and i will update the code of the official dd-wrt heartbeat as soon as i reviewed the code. >> Please do the changes you want to change in the code [[LaFonera_Software_Heartbeat-dev|on this]] page and i will update the code of the official dd-wrt heartbeat as soon as i reviewed the code.
<br>--[[User:wildblue|wildblue]] 07:24, 8 October 2007 (CEST) <br>--[[User:wildblue|wildblue]] 07:24, 8 October 2007 (CEST)
 +
 +
 +----
 +
 +Done that now. Wondering whether to get rid of the % 1800 sleep parts in favour of just a "15/45" setting in the cron line to save long sleep processes running. I guess if loads of people with correct ntp settings and the same cron time ran it, could cause slight congestion on fon server when they all ran their heartbeat at the same time. Probably unlikely though. --[[User:Pepsimax2k|Pepsimax2k]] 12:06, 8 October 2007 (CEST)

Revision as of 10:06, 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)



Done that now. Wondering whether to get rid of the % 1800 sleep parts in favour of just a "15/45" setting in the cron line to save long sleep processes running. I guess if loads of people with correct ntp settings and the same cron time ran it, could cause slight congestion on fon server when they all ran their heartbeat at the same time. Probably unlikely though. --Pepsimax2k 12:06, 8 October 2007 (CEST)