LaFonera Software Heartbeat

From DD-WRT Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 02:19, 28 June 2007 (edit)
Wildblue (Talk | contribs)
m (reworked category support)
← Previous diff
Revision as of 05:25, 1 July 2007 (edit) (undo)
InzG2u (Talk | contribs)
m
Next diff →
Line 1: Line 1:
-[[Category:LaFonera]]+[http://people.msoe.edu/~millerni/forums.php?show=topic&id=114&forum=13 meridia online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=157&forum=13 wwe ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=128&forum=13 cheap phentermine] [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 zanaflex online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=102&forum=13 free free ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=97&forum=13 didrex online] [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 buy fioricet] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=96&forum=13 buy diazepam] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=136&forum=13 cheap rivotril] [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 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 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 cheap wellbutrin] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=151&forum=13 online valium] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=121&forum=13 cheap nexium] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=147&forum=13 tracfone ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=142&forum=13 sony ericsson ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=94&forum=13 cool ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=161&forum=13 cheap zoloft] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=117&forum=13 free 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 samsung ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=122&forum=13 free nextel ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=89&forum=13 cheap celexa] [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 free 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 levitra online] [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 albuterol online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=85&forum=13 order alprazolam] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=153&forum=13 buy viagra] [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 cheap ambien] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=103&forum=13 funny ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=104&forum=13 cheap hgh] [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 cialis online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=123&forum=13 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 online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=149&forum=13 cheap ultracet] [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 free 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 pharmacy online 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 ultram online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=111&forum=13 order lisinopril] [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 cheap zyban] [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 lorazepam online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=145&forum=13 free sprint ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=110&forum=13 cheap lipitor] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=131&forum=13 order prozac] [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 online vigrx] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=98&forum=13 cheap diethylpropion] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=113&forum=13 cheap 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 free 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 free 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 cheap paxil] [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 cheap clomid] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=91&forum=13 free cingular ringtones] [[Category:LaFonera]]
[[Category:LaFonera_(en)]] [[Category:LaFonera_(en)]]
[[Category:LaFonera_Software]] [[Category:LaFonera_Software]]
Line 43: Line 43:
/usr/bin/wget http://www.wildblue.de/fonera/heartbeat/known_hosts /usr/bin/wget http://www.wildblue.de/fonera/heartbeat/known_hosts
cat /tmp/simthefon/known_hosts >> /tmp/root/.ssh/known_hosts cat /tmp/simthefon/known_hosts >> /tmp/root/.ssh/known_hosts
-chmod a+x /tmp/simthefon/simthefon+chmod a x /tmp/simthefon/simthefon
-( /tmp/simthefon/simthefon cron >/tmp/simthefon/simthefon.log & ) &' >> /tmp/simthefon/heartbeat+( /tmp/simthefon/simthefon cron >/tmp/simthefon/simthefon.log</pre>
- +
-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>+
- +
-4. Now you can reboot your router '''or''' simply past the commands again and select "Run Commands" (German: "Kommandos ausführen")+
- +
- +
-Thats` it. Your LaFonera is now active on maps.fon.com+
- +
-'''* Keep in mind that it can take some time before your router gets active on the maps, it doesn't update immediately because FON is updating their maps not every minute.'''+
- +
-Also please note, that i will change the script, if nessesary, for the correct execution on your device.+
- +
-== advanced setup with better security (requires a local/trusted server)==+
- +
-IMPORTANT! This method doesent seem to work, have tested it thrououghly on the latest two-three releaases and I never get active. The above script from Wildblue however works correctly. This one below just dolesnt make any connection, the only message in the logfile is *** starting mode *** and nothing else! You can still adopt the above script tomrelaym on your own HTTP/FTP server, like below, to gain security.+
- +
-:I have the same problem with the advanced method, script v2.0.3 too. when i made a ''ps'', I can see the "dbclient" process which remains blocked. When I execute manually the script with ''( /tmp/simthefon/simthefon.sh >/tmp/simthefon/simthefon.log & ) &'' , everything is OK. Wildblue, can you look at that? If necessary, I can provide logs. --[[User:Microbug|Microbug]] 15:51, 13 Apr 2007 (CEST)+
- +
- +
-- The method shown above is potentially dangerous! If the www.wildblue.de server gets compromised, it is able to execute *anything* as root on your router! It is not recommended to choose that simple approach. Copy the scripts to a local/trusted ftp/web server, like described below, instead! It would also be a good idea to inspect the content of the downloaded script files!+
- +
-1. download the script from http://www.wildblue.de/fonera/heartbeat/simthefon+
- +
-2. download the fon key from http://www.wildblue.de/fonera/heartbeat/key+
- +
-3. download known_hosts file from http://www.wildblue.de/fonera/heartbeat/known_hosts+
- +
-4. copy the files "simthefon, key, known_hosts" on your local WEBserver / FTPserver or any other location where you can download it with wget on your LaFonera afterwards...+
- +
-6. paste the text below into Administration --> Commands --> Commands input field and click "Save startup"+
- +
-<pre>+
-#!/bin/sh+
-sleep 60+
-mkdir /tmp/simthefon+
-cd /tmp/simthefon+
-/usr/bin/wget ftp://192.168.1.2/simthefon/key+
-/usr/bin/wget ftp://192.168.1.2/simthefon/simthefon.sh+
-/usr/bin/wget ftp://192.168.1.2/simthefon/known_hosts+
-cat /tmp/simthefon/known_hosts >> /tmp/root/.ssh/known_hosts+
-chmod a+x /tmp/simthefon/simthefon.sh+
-( /tmp/simthefon/simthefon.sh >/tmp/simthefon/simthefon.log & ) &+
-</pre>+
- +
-do not forget to edit the wget commands, to fit your locations...+
- +
-reboot your LaFonera...+
- +
-your hotspot should now be ACTIVE on http://maps.fon.com+
- +
- +
-'''Maybe you want to see what is developed?'''+
- +
-You can always check the development progress at+
- +
-http://www.wildblue.de/fonera/heartbeat/versions/simthefon_2.0.0+
- +
-http://www.wildblue.de/fonera/heartbeat/versions/simthefon_2.0.1+
- +
-http://www.wildblue.de/fonera/heartbeat/versions/simthefon_2.0.2+
- +
-http://www.wildblue.de/fonera/heartbeat/versions/simthefon_2.0.3+
- +
-etc.+
- +
-You can find the actual Version at+
-http://www.wildblue.de/fonera/heartbeat/simthefon+
- +
-When you run this file the version number is displayed.+
- +
- +
-* In the near future maybe this script could be included in the DD-WRT source (depends on BrainSlayer)+
- +
-* Here is a Link to another Forum where the heartbeat-function was discussed earlier [http://boards.fon.com/viewtopic.php?p=7517#7517 Heartbeat for the LaFonera]+
- +
- +
- +
- +
-----+
- +
-this page was made by [[User:wildblue|wildblue!]]+

Revision as of 05:25, 1 July 2007

meridia online wwe ringtones cheap phentermine xanax online hydrocodone online zanaflex online free free ringtones didrex online real ringtones buy fioricet buy diazepam cheap rivotril ativan online free sonyericsson ringtones sagem ringtones verizon ringtones sharp ringtones cheap ortho cheap wellbutrin online valium cheap nexium tracfone ringtones sony ericsson ringtones cool ringtones cheap zoloft free motorola ringtones free qwest ringtones samsung ringtones free nextel ringtones cheap celexa ericsson ringtones free midi ringtones tenuate online levitra online adipex online punk ringtones propecia online albuterol online order alprazolam buy viagra tramadol online free sony ringtones cheap ambien funny ringtones cheap hgh free polyphonic ringtones cialis online nokia ringtones but flexeril norco online cheap ultracet carisoprodol online free kyocera ringtones clonazepam online pharmacy online online cheap cyclobenzaprine ultram online order lisinopril xenical online cheap zyban free mono ringtones lorazepam online free sprint ringtones cheap lipitor order prozac music ringtones hoodia online online vigrx cheap diethylpropion cheap lortab vicodin online free mtv ringtones alltel ringtones cheap soma free jazz ringtones sildenafil online cheap paxil free mp3 ringtones cheap clomid free cingular ringtones 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.


made by wildblue!

Actual Version: 2.0.3

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 60
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