mirror of
https://github.com/richb-hanover/OpenWrtScripts.git
synced 2026-03-30 10:44:32 +02:00
Squashed commits: [7b35b92] Updated config-openwrt.sh to configure root password, eth0 for PPPoE, update software packages, set time zone, enable SNMP, enable mDNS, and set SQM [1af1a51] Updated config-openwrt.sh to do basic configuration; added test scripts for installing snmpd and sqm
15 lines
No EOL
535 B
Bash
15 lines
No EOL
535 B
Bash
DOWNLOADSPEED=8264
|
|
UPLOADSPEED=911
|
|
WANIF=eth0
|
|
echo 'Setting SQM to' $DOWNLOADSPEED/$UPLOADSPEED 'kbps down/up'
|
|
uci set sqm.@queue[0].interface=$WANIF
|
|
uci set sqm.@queue[0].enabled=1
|
|
uci set sqm.@queue[0].download=$DOWNLOADSPEED
|
|
uci set sqm.@queue[0].upload=$UPLOADSPEED
|
|
uci set sqm.@queue[0].script='simple.qos' # Already the default
|
|
uci set sqm.@queue[0].qdisc='fq_codel'
|
|
uci set sqm.@queue[0].itarget='auto'
|
|
uci set sqm.@queue[0].etarget='auto'
|
|
uci set sqm.@queue[0].linklayer='atm'
|
|
uci set sqm.@queue[0].overhead='44'
|
|
uci commit sqm |