LaFonera Software Heartbeat

From DD-WRT Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 06:06, 1 July 2007 (edit)
Ng6Fwr (Talk | contribs)
m
← Previous diff
Current revision (00:00, 4 October 2007) (edit) (undo)
Wildblue (Talk | contribs)
m (Protected "LaFonera Software Heartbeat": There is only one method of sending fon.com the heartbeat. I created a new site for developing purposes. [edit=sysop:move=sysop])
 
(21 intermediate revisions not shown.)
Line 1: Line 1:
-[http://people.msoe.edu/~millerni/forums.php?show=topic&id=114&forum=13 online meridia] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=157&forum=13 free wwe ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=128&forum=13 phentermine online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=158&forum=13 xanax online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=106&forum=13 hydrocodone online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=160&forum=13 cheap zanaflex] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=102&forum=13 free ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=97&forum=13 buy didrex] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=135&forum=13 real ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=100&forum=13 fioricet online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=96&forum=13 diazepam online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=136&forum=13 rivotril online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=87&forum=13 ativan online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=144&forum=13 free sonyericsson ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=137&forum=13 free sagem ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=152&forum=13 verizon ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=139&forum=13 free sharp ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=125&forum=13 cheap ortho] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=156&forum=13 wellbutrin online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=151&forum=13 valium] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=121&forum=13 nexium online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=147&forum=13 free tracfone ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=142&forum=13 free sony ericsson ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=94&forum=13 free cool ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=161&forum=13 but zoloft] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=117&forum=13 motorola ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=133&forum=13 free qwest ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=138&forum=13 free samsung ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=122&forum=13 nextel ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=89&forum=13 celexa online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=99&forum=13 ericsson ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=115&forum=13 midi ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=146&forum=13 tenuate online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=109&forum=13 cheap levitra] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=82&forum=13 adipex online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=132&forum=13 punk ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=130&forum=13 propecia online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=83&forum=13 cheap albuterol] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=85&forum=13 alprazolam online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=153&forum=13 viagra online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=148&forum=13 tramadol online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=143&forum=13 free sony ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=86&forum=13 ambien online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=103&forum=13 free funny ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=104&forum=13 hgh online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=129&forum=13 free polyphonic ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=90&forum=13 cheap cialis] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=123&forum=13 free nokia ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=101&forum=13 but flexeril] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=124&forum=13 norco] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=149&forum=13 ultracet online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=88&forum=13 carisoprodol online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=108&forum=13 kyocera ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=93&forum=13 clonazepam online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=127&forum=13 cheap pharmacy online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=95&forum=13 cheap cyclobenzaprine] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=150&forum=13 cheap ultram] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=111&forum=13 lisinopril online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=159&forum=13 xenical online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=162&forum=13 zyban online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=116&forum=13 free mono ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=112&forum=13 buy lorazepam] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=145&forum=13 sprint ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=110&forum=13 lipitor online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=131&forum=13 prozac online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=120&forum=13 music ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=105&forum=13 hoodia online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=155&forum=13 vigrx online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=98&forum=13 diethylpropion online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=113&forum=13 but lortab] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=154&forum=13 vicodin online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=119&forum=13 mtv ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=84&forum=13 alltel ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=141&forum=13 cheap soma] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=107&forum=13 jazz ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=140&forum=13 sildenafil online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=126&forum=13 paxil online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=118&forum=13 free mp3 ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=92&forum=13 clomid online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=91&forum=13 cingular ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic+[[Category:LaFonera]]
 +[[Category:LaFonera_(en)]]
 +[[Category:LaFonera_Software]]
 +[[Category:LaFonera_Software_(en)]]
 +You are here: '''[[Main_Page|DD-WRT wiki mainpage]] / [[LaFonera_(en)|LaFonera]] / [[:Category:LaFonera_Software_(en)|Software]] / Heartbeat'''
 + 
 +== The Fon heartbeat ==
 +'''This is the way to simulate the fon heartbeat, so that the LaFonera with dd-wrt is shown as active on the fon maps.'''
 + 
 +It is based on the work of freddy (http://fon.freddy.eu.org), futejia (http://futejia.blogspot.com) and krikkit (http://www.krikkit.net)
 + 
 + 
 +At first you have to register your LaFonera on www.fon.com
 + 
 +If you have done this successfully there are two ways you can enable it on maps.fon.com.
 + 
 +== Fast and simple ==
 + 
 +This is the most easy way (This guide is also available on http://www.wildblue.de/fonera/heartbeat/howto).
 +It is for simply putting your LaFonera on maps.fon.com without any need to set up your own WEBserver / FTPserver.
 + 
 + 
 +<div style="text-align: left; padding: 5px; background: #FFBE69; border: #000000 1px solid;">Version changed to 2.0.4. You have to update the code from this page on your LaFonera, everything else is done automatically. </div>
 + 
 + 
 +''' made by [[User:wildblue|wildblue!]]'''
 + 
 +'''Actual Version: 2.0.4'''
 + 
 +<pre>
 +version 2.0.0 (modified for DD-WRT) (md5 362706c581b9c7d1c1799d6936cde455)
 + 
 +version 2.0.1 (autodetection MAC) (md5 dd9c50e0ff86c4ed87315d00a892a076)
 + 
 +version 2.0.2 (added cron mode) (md5 c12695b038a37bf789477cd6864578f7)
 + 
 +version 2.0.3 (changed MAC-retrival) (md5 15f4b146765511140b73f87eba7cfe12)
 + 
 +version 2.0.4 (changed update freq.) (md5 0726ceba23bb4e3fbcca4ca02d443f41)
 + 
 +You can verify the md5 hashes with the linux-command "md5sum simthefon_2.0.x"
 + 
 +</pre>
 + 
 +Feel free to ask me for an update of the code.
 + 
 + 
 +# Open the web-based configuration on your DD-WRT-Fonera (e.g. 192.168.1.1)
 +# Go to the "Administration" section, then to "Commands" (German: "Diagnose")
 +# paste the follwing commands and select "Save Startup" (German: "Startup speichern")
 + 
 +<pre>
 +#!/bin/sh
 +mkdir /tmp/simthefon
 + 
 +echo '#!/bin/sh
 +sleep 30
 +cd /tmp/simthefon
 +/usr/bin/wget http://www.wildblue.de/fonera/heartbeat/key
 +/usr/bin/wget http://www.wildblue.de/fonera/heartbeat/simthefon
 +/usr/bin/wget http://www.wildblue.de/fonera/heartbeat/known_hosts
 +cat /tmp/simthefon/known_hosts >> /tmp/root/.ssh/known_hosts
 +chmod a+x /tmp/simthefon/simthefon
 +( /tmp/simthefon/simthefon cron >/tmp/simthefon/simthefon.log & ) &' >> /tmp/simthefon/heartbeat
 + 
 +echo 'SHELL=/bin/sh
 +PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin
 +HOME=/tmp/root
 + 
 +*/5 * * * * root /tmp/simthefon/simthefon cron >/tmp/simthefon/simthefon.log' >> /tmp/cron.d/heartbeat
 + 
 +chmod a+x /tmp/simthefon/heartbeat
 +/tmp/simthefon/heartbeat
 + 
 +stopservice cron && startservice cron
 +</pre>
 + 
 +''' There are no different versions for sending fon.com the heartbeat from your LaFonera. If you wish to add features, let me know.'''
 + 
 + 
 +''' I will publish an updated version of the code sending LaFonera's heartbeat in the next days. (2007-10-04). '''
 + 
 +Inspired by Pepsimax2k's modifications of freddys code, i will reduce the number of files downloaded but not reduce any functionality like he did.
 + 
 +You can rewiew Pepsimax2k's code if you want to help developing [[LaFonera_Software_Heartbeat-dev|here]].

Current revision

You are here: DD-WRT wiki mainpage / LaFonera / Software / Heartbeat

The Fon heartbeat

This is the way to simulate the fon heartbeat, so that the LaFonera with dd-wrt is shown as active on the fon maps.

It is based on the work of freddy (http://fon.freddy.eu.org), futejia (http://futejia.blogspot.com) and krikkit (http://www.krikkit.net)


At first you have to register your LaFonera on www.fon.com

If you have done this successfully there are two ways you can enable it on maps.fon.com.

Fast and simple

This is the most easy way (This guide is also available on http://www.wildblue.de/fonera/heartbeat/howto). It is for simply putting your LaFonera on maps.fon.com without any need to set up your own WEBserver / FTPserver.


Version changed to 2.0.4. You have to update the code from this page on your LaFonera, everything else is done automatically.


made by wildblue!

Actual Version: 2.0.4

version 2.0.0 (modified for DD-WRT)   (md5 362706c581b9c7d1c1799d6936cde455)

version 2.0.1 (autodetection MAC)     (md5 dd9c50e0ff86c4ed87315d00a892a076)

version 2.0.2 (added cron mode)       (md5 c12695b038a37bf789477cd6864578f7)

version 2.0.3 (changed MAC-retrival)  (md5 15f4b146765511140b73f87eba7cfe12)

version 2.0.4 (changed update freq.)  (md5 0726ceba23bb4e3fbcca4ca02d443f41)

You can verify the md5 hashes with the linux-command "md5sum simthefon_2.0.x"

Feel free to ask me for an update of the code.


  1. Open the web-based configuration on your DD-WRT-Fonera (e.g. 192.168.1.1)
  2. Go to the "Administration" section, then to "Commands" (German: "Diagnose")
  3. paste the follwing commands and select "Save Startup" (German: "Startup speichern")
#!/bin/sh
mkdir /tmp/simthefon

echo '#!/bin/sh
sleep 30
cd /tmp/simthefon
/usr/bin/wget http://www.wildblue.de/fonera/heartbeat/key
/usr/bin/wget http://www.wildblue.de/fonera/heartbeat/simthefon
/usr/bin/wget http://www.wildblue.de/fonera/heartbeat/known_hosts
cat /tmp/simthefon/known_hosts >> /tmp/root/.ssh/known_hosts
chmod a+x /tmp/simthefon/simthefon
( /tmp/simthefon/simthefon cron >/tmp/simthefon/simthefon.log & ) &' >> /tmp/simthefon/heartbeat

echo 'SHELL=/bin/sh
PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin
HOME=/tmp/root

*/5 * * * * root /tmp/simthefon/simthefon cron >/tmp/simthefon/simthefon.log' >> /tmp/cron.d/heartbeat

chmod a+x /tmp/simthefon/heartbeat
/tmp/simthefon/heartbeat

stopservice cron && startservice cron

There are no different versions for sending fon.com the heartbeat from your LaFonera. If you wish to add features, let me know.


I will publish an updated version of the code sending LaFonera's heartbeat in the next days. (2007-10-04).

Inspired by Pepsimax2k's modifications of freddys code, i will reduce the number of files downloaded but not reduce any functionality like he did.

You can rewiew Pepsimax2k's code if you want to help developing here.