Hackerboard Wiki HaboBlog
Hackerboard bei Facebook Hackerboard bei Google+ Hackerboard bei Twitter

[HaBo]

 
Linux/UNIX Linuxverfechter finden hier Weggefährten.

Frage zu QoS Script bei OpenWrt

Diskussion: Frage zu QoS Script bei OpenWrt im Forum Linux/UNIX, in der Kategorie Operating Systems; Anzeige Hallo zusammen, Ich beschäftige mich momentan mit qos und Trafficshaping Scripten für meinen OpenWRT Router um meinen Traffic zu ...

Antwort
Alt 13.01.10, 17:25   #1 (permalink)
 
Registriert seit: 16.09.09
Dany Sahne Leistung: Facit NTK
Likes: 0
Standard Frage zu QoS Script bei OpenWrt

Anzeige

Hallo zusammen,

Ich beschäftige mich momentan mit qos und Trafficshaping Scripten für meinen OpenWRT Router um meinen Traffic zu optimieren. Dafür habe ich mir die qos scripts sowie eine grafische oberfläche zum leichteren konfigurieren mit dem Packetmanager heruntergeladen und instaliert. Jetzt will ich aber mehr einstellen als das was man in in der gui einstellen kann. Also habe ich mir das Script in mal angesehen. An sich ist es nicht alzu kompliziert. Aber leider weiß ich nicht genau was ich dort jetzt für Werte eintragen soll Wie zum Beispiel hier

Zitat:
config reclassify
option target "Priority"
option proto "tcp"
option pktsize "-128"
option mark "!Bulk"
option tcpflags "ACK"
Oder bei allem was unter
Zitat:
# Don't change the stuff below unless you
# really know what it means
steht^^
Die englischen Bedeutungen weiß ich schon, aber ich weiß nicht wie ich Werte noch verändern kann, so das es auch wirklich etwas bringt

Hier ist das komplette Script:

Code:
# QoS configuration for OpenWrt
# INTERFACES:
config interface wan
        option classgroup  "Default"
        option enabled      1
        option overhead     1
        option upload       128
        option download     1024
# RULES:
config classify
        option target       "Bulk"
        option ipp2p        "all"
config classify
        option target       "Bulk"
        option layer7       "edonkey"
config classify
        option target       "Bulk"
        option layer7       "bittorrent"
config classify
        option target       "Priority"
        option ports        "22,53"
config classify
        option target       "Normal"
        option proto        "tcp"
        option ports        "20,21,25,80,110,443,993,995"
config classify
        option target       "Express"
        option ports        "5190"
config default
        option target       "Express"
        option proto        "udp"
        option pktsize      "-500"
config reclassify
        option target       "Priority"
        option proto        "icmp"
config default
        option target       "Bulk"
        option portrange    "1024-65535"
config reclassify
        option target       "Priority"
        option proto        "tcp"
        option pktsize      "-128"
        option mark         "!Bulk"
        option tcpflags     "SYN"
config reclassify
        option target       "Priority"
        option proto        "tcp"
        option pktsize      "-128"
        option mark             "!Bulk"
        option tcpflags     "ACK"
 
# Don't change the stuff below unless you
# really know what it means :)
config classgroup "Default"
        option classes      "Priority Express Normal Bulk"
        option default      "Normal"
 
config class "Priority"
        option packetsize  400
        option maxsize     400
        option avgrate     10
        option priority    20
config class "Priority_down"
        option packetsize  1000
        option avgrate     10
 
config class "Express"
        option packetsize  1000
        option maxsize     800
        option avgrate     50
        option priority    10
config class "Normal"
        option packetsize  1500
        option packetdelay 100
        option avgrate     10
        option priority    5
config class "Normal_down"
        option avgrate     20
config class "Bulk"
        option avgrate     1
        option packetdelay 200
Im Internet habe ich leider nichts aufschlußreiches gefunden. Und ich hoffe, dass ihr mir vieleicht einen link zu einem guten howto/tutorial geben oder mir ein paar Beisepiele geben könntet.


mfg
Dany Sahne ist offline   Mit Zitat antworten
Alt 13.01.10, 18:13   #2 (permalink)
Moderator
 
Registriert seit: 30.06.08
Chromatin Leistung: K 6-3Chromatin Leistung: K 6-3Chromatin Leistung: K 6-3Chromatin Leistung: K 6-3
Likes: 227
Standard

An den folgenden Klassen kannst du etwas feintunen.
Allerdings solltest Du den Kommentar beherzigen und dich
informieren wie sich die einzelnen Werte auswirken (delay, size, rate)

Im Zweifelsfall einfach ausprobieren- in kleinen Schritten


Zitat:
# Don't change the stuff below unless you
# really know what it means
config classgroup "Default"
option classes "Priority Express Normal Bulk"
option default "Normal"

config class "Priority"
option packetsize 400
option maxsize 400
option avgrate 10
option priority 20
config class "Priority_down"
option packetsize 1000
option avgrate 10

config class "Express"
option packetsize 1000
option maxsize 800
option avgrate 50
option priority 10
config class "Normal"
option packetsize 1500
option packetdelay 100
option avgrate 10
option priority 5
config class "Normal_down"
option avgrate 20
config class "Bulk"
option avgrate 1
option packetdelay 200
__________________
Wenn ein Gesetz nicht gerecht ist, dann geht die Gerechtigkeit vor dem Gesetz!

Habo Blog - http://blog.hackerboard.de/
Chromatin ist offline   Mit Zitat antworten
   
HaBOT
 
- Anzeige -

Werbung ist gerade online    
Alt 14.01.10, 19:48   #3 (permalink)
Themenstarter
 
Registriert seit: 16.09.09
Dany Sahne Leistung: Facit NTK
Likes: 0
Standard

Ich habe da doch schon alles mögliche ausprobiert
Ich hätte die Einstellungen gerne so, dass ich downloaden und spielen parralel machen kann, ohne das ich beim zocken etwas von dem download mitbekomme. Aber das habe ich nicht hinbekommen. Egal was für werte ich da eingetragen habe. Kann mir vll jemadn von euch ein Beispiel geben? Wäre echt nett.
Dany Sahne ist offline   Mit Zitat antworten
Antwort
   
- Anzeige -

Werbung ist gerade online    

[HaBo] » Operating Systems » Linux/UNIX » Frage zu QoS Script bei OpenWrt
Themen-Optionen
Ansicht

Forumregeln
Es ist Ihnen nicht erlaubt, neue Themen zu verfassen.
Es ist Ihnen nicht erlaubt, auf Beiträge zu antworten.
Es ist Ihnen nicht erlaubt, Anhänge hochzuladen.
Es ist Ihnen nicht erlaubt, Ihre Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks sind aus
Pingbacks sind aus
Refbacks sind aus



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61