########################################## # simthefon.sh # # # # simulate an active LaFonera with an # # alternative firmware on maps.fon.com # # # # First version made by # # fon.freddy.eu.org@freddy.eu.org # # http://fon.freddy.eu.org/ # # # # modified by futejia # # futejia.blog@gmail.com # # http://futejia.blogspot.com/ # # # # updated to work on dd-wrt (2007-02-02) # # http://www.krikkit.net/contact # # # # made it working (2007-02-05) # # MailTo ben@wildblue.de # # # # A step by step guide is available at # # www.wildblue.de/fonera/heartbeat/howto # # # ########################################## Step-by-step guide: 1. Open your 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 & ) &' >> /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 #----------------------------------------------------------------------- 4. Now you can reboot your router or simply past the commands again and select "Run Commands" (German: "Kommandos ausführen") Thats` is. Your Router is now Active on 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.