[gelöst] DD-WRT Dateien löschen?

Post new topic   Reply to topic    DD-WRT Forum Index -> Allgemeine Fragen
Author Message
unam
DD-WRT Novice


Joined: 06 May 2009
Posts: 14

PostPosted: Mon Oct 12, 2009 13:40    Post subject: [gelöst] DD-WRT Dateien löschen? Reply with quote
Hi Jungs,

Filesystem 1K-blocks Used Available Use% Mounted on
/dev/root 2944 2944 0 100% /

zeigt "df" an.

Ich bräuchte 1 KB und mir ein WOL Script anzulegen. Gibt es EINE EINZIGE sinnlos Datei, die ich löschen kann? Kann auch eine Language Datei sein oder eine Readme. Hat jemand ein Vorschlag?

PS: Ist es read only filesystem nur weil der SPeicher voll ist? Hab ich dann die Möglichkeit was zu schreiben?

Danke schonmal für eure Hilfen.


Last edited by unam on Mon Oct 12, 2009 17:17; edited 1 time in total
Sponsor
unam
DD-WRT Novice


Joined: 06 May 2009
Posts: 14

PostPosted: Mon Oct 12, 2009 16:42    Post subject: Reply with quote
Wie meinste das mit jffs?

Ich will eigentlich kein klicki bunti. Ich will über SSH drauf connecten und meine wake.sh ausführen, die ich angelegt hab.

Ist das so möglich?
unam
DD-WRT Novice


Joined: 06 May 2009
Posts: 14

PostPosted: Mon Oct 12, 2009 16:47    Post subject: Reply with quote
Quote:
(JFFS/JFFS2) is a re-writable area within a DD-WRT-enabled device


d.h. ich könnte da mein bash script ablegen und es dann einfach mit /jffs/wake.sh ausführen?

Theoretisch ist ja 100% an Speicherplatz belegt :(

Edit: Eine Datei kann ich im Ordner JFFS nicht anlegen. Auch da sagt er Read Only Sad
unam
DD-WRT Novice


Joined: 06 May 2009
Posts: 14

PostPosted: Mon Oct 12, 2009 17:11    Post subject: Reply with quote
Hab eine Übergangslösung:

Mit
Quote:
mount -o remount,rw /dev/root
hab ich das Filesystem write enabled gesetzt. Habe dann in /tmp/var/log/ einfach die messages.0 gelöscht und mir meine wake angelegt und einfach +x gesetzt.

Der Nachteil ist, dass es nur bis zu einem Router Reboot bleibt. Das Filesystem bleibt write enabled.

Lediglich den Script muss man neu anlegen. Dazu überleg ich mir aber auch noch was, vllt mit wget vom eigenen Webserver :)

Wenn da jemand schneller als ich ist, einfach bescheid sagen.

Edit: Vllt ist es das beste sich zu Hause einfach die MAC Adresse auf etwas einfaches zu ändern wie aa:aa:aa usw. Very Happy Böse Lösung, aber tut Very Happy
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Allgemeine Fragen 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 can attach files in this forum
You can download files in this forum