mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
commit
f153d70cf1
2 changed files with 12 additions and 5 deletions
|
@ -944,7 +944,7 @@
|
||||||
<input class="cbi-input-checkbox" type="checkbox" name="cbid.sqm.<%=ifname%>.enabled" id="cbid.sqm.<%=ifname%>.enabled" value="1" <% if uci:get("sqm",ifname,"enabled") == "1" then %>checked<% end %> />
|
<input class="cbi-input-checkbox" type="checkbox" name="cbid.sqm.<%=ifname%>.enabled" id="cbid.sqm.<%=ifname%>.enabled" value="1" <% if uci:get("sqm",ifname,"enabled") == "1" then %>checked<% end %> />
|
||||||
<br />
|
<br />
|
||||||
<div class="cbi-value-description">
|
<div class="cbi-value-description">
|
||||||
<%:SQM control bufferloat: the undesirable latency that arises when the router buffers too much data.%>
|
<%:SQM control bufferbloat: the undesirable latency that arises when the router buffers too much data.%>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -955,6 +955,7 @@
|
||||||
<br />
|
<br />
|
||||||
<div class="cbi-value-description">
|
<div class="cbi-value-description">
|
||||||
<%:SQM autorate is for LTE and connection without a stable speed.%>
|
<%:SQM autorate is for LTE and connection without a stable speed.%>
|
||||||
|
<%:Download and upload speed MUST be set to make this work.%>
|
||||||
<%
|
<%
|
||||||
if cake ~= "cake" then
|
if cake ~= "cake" then
|
||||||
%>
|
%>
|
||||||
|
|
|
@ -143,16 +143,22 @@ else
|
||||||
exit 0;;
|
exit 0;;
|
||||||
"on")
|
"on")
|
||||||
[ -n "$ID" ] && ip mptcp endpoint delete id $ID 2>&1 >/dev/null
|
[ -n "$ID" ] && ip mptcp endpoint delete id $ID 2>&1 >/dev/null
|
||||||
ip mptcp endpoint add $IP dev $DEVICE subflow fullmesh
|
for i in $IP; do
|
||||||
|
ip mptcp endpoint add $i dev $DEVICE subflow fullmesh
|
||||||
|
done
|
||||||
exit 0;;
|
exit 0;;
|
||||||
"signal")
|
"signal")
|
||||||
[ -n "$ID" ] && ip mptcp endpoint delete id $ID 2>&1 >/dev/null
|
[ -n "$ID" ] && ip mptcp endpoint delete id $ID 2>&1 >/dev/null
|
||||||
#ip mptcp endpoint add $IP dev $DEVICE signal subflow fullmesh
|
for i in $IP; do
|
||||||
ip mptcp endpoint add $IP dev $DEVICE signal
|
#ip mptcp endpoint add $i dev $DEVICE signal subflow fullmesh
|
||||||
|
ip mptcp endpoint add $i dev $DEVICE signal
|
||||||
|
done
|
||||||
exit 0;;
|
exit 0;;
|
||||||
"backup")
|
"backup")
|
||||||
[ -n "$ID" ] && ip mptcp endpoint delete id $ID 2>&1 >/dev/null
|
[ -n "$ID" ] && ip mptcp endpoint delete id $ID 2>&1 >/dev/null
|
||||||
ip mptcp endpoint add $IP dev $DEVICE backup fullmesh
|
for i in $IP; do
|
||||||
|
ip mptcp endpoint add $i dev $DEVICE backup fullmesh
|
||||||
|
done
|
||||||
exit 0;;
|
exit 0;;
|
||||||
"")
|
"")
|
||||||
case "$IFF" in
|
case "$IFF" in
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue