aboutsummaryrefslogtreecommitdiff
path: root/net/sqm-scripts
Commit message (Collapse)AuthorAge
...
* sqm-scripts: Support the cake qdisc.Dave Taht2015-07-12
| | | | Signed-off-by: Dave Taht <dave.taht@bufferbloat.net>
* sqm-scripts: Only run on hotplug if the init script is enabled.Toke Høiland-Jørgensen2015-04-30
| | | | | | Fixes #1202. Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
* Remove dependeny on iptables-mod-filter from sqm-scriptsSebastian Moeller2015-04-19
| | | | | | | | As Hnyman noted in https://github.com/dtaht/ceropackages-3.10/issues/13 we carry a few unnecessary dependecies in sqm-scripts, so remove one of them (iptables-mod-filter) as we neither use it nor plan to use it. Signed-off-by: Sebastian Moeller <moeller0@gmx.de>
* sqm-scripts: clean up interface selection for hotpluggingSebastian Moeller2015-03-25
| | | | | | | | | | | | | The initial conversion to restart sqm on interfaces it is configured for in case of (transient) dis- and reappearance was half finished. These changes clean up the handling of exlicitly passed interfaces in run.sh: no second argument defaults to all configured interfaces the alternative is an individual interface name passed as 2nd argument to run.sh. The first argument either is start or stop. No argument at all will behave as if start was passed. Survives light testing... Signed-off-by: Sebastian Moeller <moeller0@gmx.de>
* sqm-scripts: change default for qdisc target parameterSebastian Moeller2015-03-25
| | | | | | | | | | | | | | | | | | | | | | Alan Jenkins noted a bug in the smq luci GUI that effectively erased several configuration paramters if two checkboxes were deselected. This behaviour seems consistent in luci but certainly has the potential to confuse users. While confusion can not really be avoided generally it seems wise to change the default interpretation for empty or non-existent itarget and etarget variables from the qdisc's default (5ms in the case of one of the codels) to automatic determination of tghis variable dependent on the configured bandwidth, as codels target variable should be large enough to contain at least one full packet. With this change sqm-scripts will do the right thing by default, but will yet allow the user to specify over-ridding values (as long as the user does not un-check the entry-field exposing check boxes). Survives light testing... This change set also changes the sqm-scripts luci gui to note the user of the change. For compatibility with existing setups sqm-scripts will still honor "auto" as an alternative explicit way of requesting automatic target selection. This might turn into a warning in the future and might be phased out... Signed-off-by: Sebastian Moeller <moeller0@gmx.de>
* sqm-scripts: make run.sh ignore spurious incomplete hotplug ifupsSebastian Moeller2015-03-05
| | | | | | | | | | | | | During system start up pppoe devices seem to receice ifup events before the interface actually exists. This commit makes sqm's run.sh script test whether the sys files for an interface exist before actually trying to start an SQM instance on an interface. This seems to nicely avoid starting on an not fully established pppoe interface and avoids a number of error messages during startup. In addition, debug logging is disabled. Signed-off-by: Sebastian Moeller <moeller0@gmx.de>
* Teach SQM hotplug tricksSebastian Moeller2015-03-03
| | | | | | | | | | | | | | | | | Some interfaces like wan-pppoe go away, when the ppp connection is lost and get recreated once the link is established again. SQM now has its own hotplug script to re-enable itself on the interfae just hotplugged. SQM will not touch other instances of itself running on other interfaces if called by hotplug.d. The implementation now allows this functionality by calling run.sh like: /usr/lib/sqm/run.sh interface YOUR_INTERFACE_NAME_HERE e.g.: /usr/lib/sqm/run.sh interface ge00-pppoe If called with a specific interface SQM will only try to disable itself on that interface to clean up all left over state and the re-enable itself on just that interface. Hopefully that allows for better service with instable interfaces like pppoe. The current code passes a simple manual stop start test of the ge00-pppoe interface from the GUI and does seem to do the right thing, at least on cerowrt 3.10.50-1...
* sqm-scripts: Modify installation step to ensure correct file permissionsHannu Nyman2014-11-09
| | | | | | | Use INSTALL_BIN & INSTALL_DATA macros instead of cp to ensure correct file permissions for the executable files. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
* sqm-scripts: use masks with markingsHannu Nyman2014-11-02
| | | | | | Apply mask for markings to enable co-existence with multiwan, mwan3 etc. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
* sqm-scripts: Fix a minor bug, add copyrights, improve loggingHannu Nyman2014-10-18
| | | | | | | | | | | Changes committed to the cerowrt original repo after the initial import here: - Better license & copyright statements, as requested - Fixed a minor bug in stopping sqm - Logging improvements - Dead code removed - Typos corrected Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
* Add PKG_LICENSE tags for luci-app-sqm and sqm-scripts.Toke Høiland-Jørgensen2014-10-15
|
* sqm-scripts: Smart Queue Management - experimental QoSHannu Nyman2014-10-15
sqm-scripts is a new QoS system from Cerowrt / Bufferbloat. I have tested it in my own community build. More info at: http://www.bufferbloat.net/projects/cerowrt/wiki/Smart_Queue_Management http://www.bufferbloat.net/projects/cerowrt/wiki/Setting_up_SQM_for_CeroWrt_310 Dave Täht submitted this first via openwrt-devel mailing list in March 2014, but that was not picked up before the switch to Github: http://patchwork.openwrt.org/patch/5078/ Original code used as the base: https://github.com/dtaht/ceropackages-3.10/commit/8ce293611094a0d65c5b62ce80d25f0e30603cf5 I have modified: - set the default interface to be eth1, like the Openwrt default. - modified config to hide some of the advanced options by default - beautified Makefile a bit - added Toke Høiland-Jørgensen <toke@toke.dk> as the maintainer, as discussed in https://github.com/dtaht/ceropackages-3.10/issues/8#issuecomment-59215905 Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>