Giving VoIP Traffic the Green Light, Part 3 - page 2
Wondershaper Status: Clearing the Queue
Your last step is to make sure Wondershaper starts at boot, or when your network interface comes up. Starting it at boot is the easiest. First edit the
wshaper script to include your desired settings:
DOWNLINK=728 UPLINK=256 DEV=eth1
Then place the script in
/etc/init.d, and use your favorite runlevel utility, such as
chkconfig (Red Hat) or
update-rc.d (Debian) to add it to your desired runlevels, like this:
# chkconfig --level 2345 wshaper on # chkconfig --level 016 wshaper off # update-rc.d wondershaper start 30 2 3 4 5 . stop 0 1 6 .
Starting Wondershaper when your network interface comes up is done differently on every Linux distribution, so please refer to your documentation to learn how to do this. Starting it at boot is perfectly acceptable and simple to manage. However, some admins believe that anything related to network interfaces, like iptables, traffic shaping, routing, IPSec, and so forth, should start and stop with the interface. It's a question of taste, so do what suits you.
- 1Linux Top 3: Alpine Linux 3.4, deepin 15.2 and Linux Lite 3.0
- 2Linux 4.7 Set to Boost Live Patching, Security and Power Management
- 3Linux 4.6 Charred Weasel adds USB 3.1 Support
- 4Linux Top 3: OpenIndiana 2016.04, Ubuntu 16.04 and Debian's New Leader
- 5Linux Top 3: KaOS 2016.04, TurnKey 14.1 and pfSense 2.3