HFSC QoS script sets uplink wrong
|Reported by:||phuzi0n||Owned by:||somebody|
|Keywords:||QoS HFSC HTB||Cc:|
Description (last modified by phuzi0n)
The HFSC script configures both interfaces with tc classes that are the speed entered for your downlink. The code in svqos.hfsc shows that it's using $2 to set both interfaces. Also, there's inconsistent usage of $1 and $2 in svqos.htb and svqos.hfsc. It seems that svqos.htb has the downlink set in $1 but svqos.hfsc has the downlink set in $2 which leads to more confusion.
For users wishing to correct this themselves, configure the GUI QoS however you like but leave it set to use HTB. Then go to the Administration->Commands page and save this startup and firewall script. If you want you can remove the startup script and store it somewhere permanent such as JFFS.
#Startup cd /tmp wget http://phuzi0n.googlecode.com/svn/trunk/svqos.hfsc chmod +x svqos.hfsc #Firewall if [ 1 == `nvram get wshaper_enable` ]; then /tmp/svqos.hfsc `nvram get wshaper_uplink` `nvram get wshaper_downlink` `nvram get wan_iface` `nvram get wan_mtu` 0 fi
Change History (9)
comment:1 Changed 4 years ago by BrainSlayer
- Resolution set to invalid
- Status changed from new to closed
comment:2 Changed 4 years ago by phuzi0n
- Resolution invalid deleted
- Status changed from closed to reopened