Changes between Version 4 and Version 5 of TrafficShaping


Ignore:
Timestamp:
02/25/09 12:37:14 (4 years ago)
Author:
adi
Comment:

added debugging section

Legend:

Unmodified
Added
Removed
Modified
  • TrafficShaping

    v4 v5  
    2525 * [http://www.inliniac.net/blog/2007/10/02/vuurmuur-gets-traffic-shaping.html] 
    2626 * [http://www.inliniac.net/blog/2007/11/02/gui-part-of-vuurmuur-traffic-shaping-done.html] 
     27 
     28== Troubleshooting == 
     29 
     30(this is merely brainstorming right now -- has to be done on a separate page later!) 
     31Work through this part step by step! 
     32* Do the shaping basics work on your machine? 
     33  First enable shaping for your network interfaces and specify the available bandwidth. (do not forget to reload/F11) 
     34  check the output of 'tc qdisc show' 
     35  * worst: 
     36 
     37    tc: command not found 
     38 
     39    -> install tc command on your distribution (package iproute on Debian) 
     40  * bad: 
     41 
     42    qdisc pfifo_fast 0: dev eth0 root bands 3 priomap  1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1 
     43 
     44    -> fix this by checking for error messages in the output of vuurmuur -b and fixing them 
     45  * good: 
     46 
     47    qdisc htb 3: dev eth0 r2q 10 default 6 direct_packets_stat 1 
     48 
     49    qdisc sfq 6: dev eth0 parent 3:6 limit 128p quantum 1514b perturb 10sec 
     50 
     51    -> shaping basics are set up correctly, tc is found by vuurmuur and shaping should just work fine! 
     52* Set up basic shaping rules that you are able to verify (with wget for example). 
     53* (TBD)