Comments (4)
Simón [email protected] writes:
I've installed these scripts on a Gentoo Linux with systemd but it doesn't work,
systemd doesn't read the /etc/sqm/eth0.iface.conf file:
Did you create the config file? By default, sqm-scripts ships with a
.conf.example file which you need to copy to eth0.iface.conf and edit to
your preferences...
-Toke
from sqm-scripts.
$ ls /etc/sqm/*
/etc/sqm/eth0.iface.conf /etc/sqm/eth0.iface.conf.example /etc/sqm/sqm.conf
IMHO, the configurations is too dispersed:
- One file is loaded with systemd:
EnvironmentFile=/etc/sqm/%i.iface.conf
- One setting is in service script and in config file (
/etc/sqm/eth0.iface.conf
):Environment=... ENABLED=1
. Which is the good? - Other settings are loaded in main script.
Would not it be easier to group all in one file and load it directly in the main script?
from sqm-scripts.
Simón [email protected] writes:
$ ls /etc/sqm/*
/etc/sqm/eth0.iface.conf /etc/sqm/eth0.iface.conf.example /etc/sqm/sqm.conf
Hmm, what is the content of eth0.iface.conf?
IMHO, the configurations is too dispersed:
- One file is loaded with systemd: EnvironmentFile=/etc/sqm/%i.iface.conf
- One setting is in service script and in config file
(/etc/sqm/eth0.iface.conf): Environment=... ENABLED=1. Which is the
good?
The second one could arguably be dropped.
- Other settings are loaded in main script.
Would not it be easier to group all in one file and load it directly in the main
script?
This is an artifact of supporting multiple platforms. On OpenWrt, the
config is loaded from the UCI configuration system, so
/etc/sqm/*.iface.conf is not used.
-Toke
from sqm-scripts.
😊 sorry, it was my fault.
I've enabled bad the systemd service.
from sqm-scripts.
Related Issues (20)
- Time based traffic shaping principals HOT 1
- SQM and VPN speed limited (bypass possible?) HOT 5
- Error in Ubuntu arm HOT 3
- Standard x86 linux install service will not start on boot HOT 7
- matchall support HOT 3
- After stopping the SQM speed limit, wrong information is recorded in the system log! HOT 13
- SQM will automatically clear the saved PPP speed limit parameters HOT 1
- Additional ifb interface for low priority traffic? HOT 2
- Add this repo to GitHub topic "sqm" HOT 1
- variable UPLINK/DOWNLINK values HOT 14
- diffserv8 Tin's are the wrong way around or the classify is wrong HOT 3
- sqm-hotplug: 'ifname' replaced by 'device' HOT 10
- Is it possible to manually remove old dependencies in OpenWRT ? HOT 3
- sqm scripts with rpi4 bookworm errors HOT 4
- ipv6 error during install from luci
- change simple.qos to allow cake as leaf qdisc? HOT 2
- On OpenWRT, initscript's `reload` is called too frequently/when not necessary HOT 5
- Undeclared MTU variable HOT 4
- `sqm-scripts-extra` - version number update needed? HOT 2
- Only see fq_codel as qdisc HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sqm-scripts.