Heartbeatscript bei Client-Bridge

Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC basierende Hardware
Author Message
tuxland
DD-WRT User


Joined: 07 Apr 2007
Posts: 60
Location: sometimes germany

PostPosted: Mon Jul 23, 2007 16:36    Post subject: Heartbeatscript bei Client-Bridge Reply with quote
Hallo zusammen,

hab am neulich bei nem Bekannten eine Fon mit DD-WRT bespielt und Client-Bridge eingerichtet.
Jetzt bekam mein Bekannter Post von Fon, Fonera offline blablabla...
Er hat jetzt Panik deshalb hab ich ihm Heartbeat-Script von wildblue aus dem Wiki hinzugefügt.
Leider kommt seit Freitag immer noch kein Online und ich bin die nächste Zeit nicht in der Nähe um mir das Teil anzuschauen. Und hab diesmal meine Fonera nicht dabei...
Evtl. bekomme ich es noch telefonisch hin Remotezugang zu bekommen.

Version: 120707

Meine Fragen:
Läuft der Script überhaupt noch oder hat Fon was gesperrt?
Läuft der Script nur nicht da ich über Wlan Verbindung aufbaue?
Hat jemand ne Idee?
Sponsor
tuxland
DD-WRT User


Joined: 07 Apr 2007
Posts: 60
Location: sometimes germany

PostPosted: Tue Jul 31, 2007 1:12    Post subject: Lösung Reply with quote
Nachdem es scheinbar keiner nutzt... Rolling Eyes

aber falls es doch mal jemand braucht Cool


Als Basis hab ich das hier genommen.
Dabei wird allerdings Permanetspeicher verwendet, den hab ich hier nicht.
Die Datei "fonkey" kann komplett übernommen werden, bei "thinclient" muss Zeile 6 und 9 geändert werden.
Zeile 6:
Code:
THINCLIENTPATH="/jffs" # path of this file

wird ersetzt durch
Code:
THINCLIENTPATH="/tmp" # ...

Zeile 9:
Code:
KEY="/jffs/[fonkey" # private key for fetching the info from the FON server

wird ersetzt durch
Code:
KEY="/tmp/[fonkey" # ...


beide dateien hab ich auf einem webserver "parkplatz" geparkt...

das noch im startup speichern und reboot tut immer gut Laughing
Code:

#!/bin/sh

# warten bis sicher verbunden
sleep 120

# dateien laden und ändern
cd /tmp
wget http://"parkplatz"/thinclient
wget http://"parkplatz"/fonkey
chmod 755 /tmp/thinclient

# starten
/tmp/thinclient start 2>&1 | logger
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC basierende Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum