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/26 00:49] – [3- Configuration du point d'accès sans-fil] samerextension_d_un_reseaux_sans-fil [2015/07/26 01:06] – [4- Limitation du débit] samer
Line 68: Line 68:
  
 ===== -- Limitation du débit ===== ===== -- Limitation du débit =====
 +<code>
 +root@OpenWrt:~# ifconfig
 +br-lan    Link encap:Ethernet  HWaddr F8:D1:11:BD:62:CE  
 +          inet addr:192.168.66.1  Bcast:192.168.66.255  Mask:255.255.255.0
 +          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
 +          RX packets:30190 errors:0 dropped:27 overruns:0 frame:0
 +          TX packets:36740 errors:0 dropped:0 overruns:0 carrier:0
 +          collisions:0 txqueuelen:
 +          RX bytes:5436590 (5.1 MiB)  TX bytes:48095681 (45.8 MiB)
  
 +eth0      Link encap:Ethernet  HWaddr F8:D1:11:BD:62:CE  
 +          UP BROADCAST MULTICAST  MTU:1500  Metric:1
 +          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
 +          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
 +          collisions:0 txqueuelen:1000 
 +          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
 +          Interrupt:
 +
 +lo        Link encap:Local Loopback  
 +          inet addr:127.0.0.1  Mask:255.0.0.0
 +          UP LOOPBACK RUNNING  MTU:16436  Metric:1
 +          RX packets:44 errors:0 dropped:0 overruns:0 frame:0
 +          TX packets:44 errors:0 dropped:0 overruns:0 carrier:0
 +          collisions:0 txqueuelen:
 +          RX bytes:3636 (3.5 KiB)  TX bytes:3636 (3.5 KiB)
 +
 +wlan0     Link encap:Ethernet  HWaddr F8:D1:11:BD:62:CE  
 +          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
 +          RX packets:30196 errors:0 dropped:0 overruns:0 frame:0
 +          TX packets:36936 errors:0 dropped:0 overruns:0 carrier:0
 +          collisions:0 txqueuelen:32 
 +          RX bytes:5859574 (5.5 MiB)  TX bytes:48873065 (46.6 MiB)
 +
 +wlan0-1   Link encap:Ethernet  HWaddr FA:D1:11:BD:62:CF  
 +          inet addr:192.168.1.41  Bcast:192.168.1.255  Mask:255.255.255.0
 +          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
 +          RX packets:42792 errors:0 dropped:185 overruns:0 frame:0
 +          TX packets:29883 errors:0 dropped:0 overruns:0 carrier:0
 +          collisions:0 txqueuelen:32 
 +          RX bytes:52446827 (50.0 MiB)  TX bytes:6401871 (6.1 MiB)
 +</code>
 +<code>
 +root@OpenWrt:~# tc qdisc add dev wlan0-1 root tbf rate 200kbit burst 10kb latency 50ms peakrate 350kbit minburst 1540
 +</code>
 +
 +<code>
 +root@OpenWrt:~# tc qdisc add dev br-lan root tbf rate 2mbit burst 10kb latency 50ms peakrate 4mbit minburst 1540
 +</code>
 +
 +<code bash>
 +tc -s qdisc ls dev eth0
 +tc qdisc del dev eth0 root
 +</code>
extension_d_un_reseaux_sans-fil.txt · Last modified: 2015/07/27 14:17 by samer