wikiroute

networking recipes

User Tools

Site Tools


extension_d_un_reseaux_sans-fil

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
extension_d_un_reseaux_sans-fil [2015/07/27 01:09] – [4.2- Activation au démarrage] samerextension_d_un_reseaux_sans-fil [2015/07/27 13:48] – [4.2- Activation au démarrage] samer
Line 225: Line 225:
 ==== -- Activation au démarrage ==== ==== -- Activation au démarrage ====
  
-<file autoconf /etc.init.d/ratelimit> +Afin d'automatiser la mise en place du limitation du débit au démarrage 
-#!/bin/sh /etc/rc.common +
- +
-START=50 +
-  +
-start() { +
-        echo "Starting traffic control" +
-        /etc/tc_qdisc_start.sh +
-+
-                    +
-stop() { +
-       echo "Stopping traffic control" +
-       /etc/tc_qdisc_stop.sh +
-+
-</file>+
  
 <file autoconf /etc/tc_qdisc_start.sh> <file autoconf /etc/tc_qdisc_start.sh>
Line 255: Line 241:
 tc qdisc del dev wlan0-1 root tc qdisc del dev wlan0-1 root
 rmmod sch_tbf rmmod sch_tbf
 +</file>
 +
 +<file autoconf /etc.init.d/ratelimit>
 +#!/bin/sh /etc/rc.common
 +
 +START=50
 + 
 +start() {
 +        echo "Starting traffic control"
 +        /etc/tc_qdisc_start.sh
 +}
 +                   
 +stop() {
 +       echo "Stopping traffic control"
 +       /etc/tc_qdisc_stop.sh
 +}
 </file> </file>
extension_d_un_reseaux_sans-fil.txt · Last modified: 2015/07/27 14:17 by samer