LaFonera Software Heartbeat

From DD-WRT Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 15:52, 2 February 2007 (edit)
Krikkit (Talk | contribs)

← Previous diff
Revision as of 15:53, 2 February 2007 (edit) (undo)
Krikkit (Talk | contribs)

Next diff →
Line 16: Line 16:
/tmp/simthefon/simthefon.sh >/tmp/simthefon/simthefon.log & /tmp/simthefon/simthefon.sh >/tmp/simthefon/simthefon.log &
</pre> </pre>
 +
 +do not forget to edit the wget commands, to fit your locations...
 +
 +reboot your fonera...
your hotspot should now be ACTIVE on http://maps.fon.com your hotspot should now be ACTIVE on http://maps.fon.com

Revision as of 15:53, 2 February 2007

Script to simulate the fon heartbeat...

  1. download my script from http://www.krikkit.net/download/simthefon/simthefon.sh (thanks to futejia http://futejia.blogspot.com/ for his script)
  2. download the fon key (you can get the fon key from here: http://fon.freddy.eu.org/fonera/fon-0.7.0-rev4/etc/dropbear/key )
  3. save the script and the fon key on your local ftp server or any location where you can download it with wget afterwards...
  4. paste the text below into Administration --> Commands --> Commands input field and click "Save startup"

startup script:

#!/bin/sh
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
chmod a+x /tmp/simthefon/simthefon.sh
/tmp/simthefon/simthefon.sh >/tmp/simthefon/simthefon.log &

do not forget to edit the wget commands, to fit your locations...

reboot your fonera...

your hotspot should now be ACTIVE on http://maps.fon.com