zeitweiliges WAN/WLAN mit Unterbrechung

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


Joined: 10 Dec 2007
Posts: 12

PostPosted: Fri Jul 03, 2009 20:51    Post subject: zeitweiliges WAN/WLAN mit Unterbrechung Reply with quote
Servus,

einem Bekannten stelle ich einen eigenen AP
mit eigenem Netz und Traffic-Shaping,
alias Qos unter DD-WRT,
über mein GW zur Verfügung.

Der Gute scheint allerdings, trotz Rat,
gar nicht mehr „offline“ zu gehen.

Der verursachte Traffic stört mich nicht-
allerdings häufen sich natürlich die Bot-Attacken.

Weshalb ich euch frage-
Wie könnte ein Script unter DD-WRT aussehen welches:
alle x Minuten für y Minuten das WLAN deaktiviert bzw. wieder aktiviert?

Gruss
Rainer
<RJ45Scheduling>

_________________
the answer is?
Sponsor
pepe
DD-WRT Guru


Joined: 16 Jun 2006
Posts: 2427
Location: Berlin, Germany

PostPosted: Sat Jul 04, 2009 15:12    Post subject: Reply with quote
Kannst ja mal das hier als Script ablegen und dann nen Cron job anlegen!
Code:

#!/bin/sh
#WLAN_aus_script
#schalte wlan für 5 sec aus.
for i in [1]
do
/usr/sbin/wl radio off
sleep 5
/usr/sbin/wl radio on
done

Alle 15 Minuten das script ausführen
Cron job
Code:
0,15,30,45 * * * * root  /pfad_zum/WLAN_aus_script.sh

_________________
http://www.dd-wrt.com/phpBB2/search.php?
http://www.dd-wrt.com/wiki/index.php/Main_Page
http://www.dd-wrt.com/wiki/index.php/Category:Deutsche_Dokumentation

http://i-use.ipfire.org/profile/454051a193d29c9019ea3d0ce3c4b801435fd682/0.png
ford
DD-WRT Novice


Joined: 10 Dec 2007
Posts: 12

PostPosted: Sat Jul 04, 2009 21:29    Post subject: Reply with quote
Hi pepe,

Ja, Cron zur Hilfe zu ziehen-
hatte ich vergessen und daher Asche auf mein Haupt.

Ich werde, als X-newbie, _versuchen_ Dein Script umzusetzen
und danke Dir deiner schnellen Antwort.


freundliche
Grüsse
Rainer

_________________
the answer is?
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