Help prioritizing games with alternative qdisc design

i believe this:
#gameqdisc="red"

gameqdisc="pfifo"

also added kmod-sched and iptables-mod-hashlimit

speed test still exceed the set speed

As I said let's see the output

Remind me the command again

Have you put anything at "local startup" to run when reboot router?
Do you restart firewall BEFORE you run the script?

i see that if i edit the script on notepad and drag it into winscp the script doesn't work .. i have to edit it, customize in winscp so i can save at this time, then start it with putty. . my speeds are respected according to the script .. if that can help you @Happi

I think you have some old script residue left in dnsmasq.config, check that

Look here i have instructions for Notepad++ to create a "working" script...

I don't think we need to edit it by the notepad at all, especially when you install the file directly from Github into /etc/ and we just edit the file in there with Winscp.

at this moment i cannot think of anything else running in the background that could interfere with these scripts. like i said this is a fresh batch of firmware that was installed to insure i start it from fresh again. so far I didn't even install any SQM or QOS files, the only files that i have installed are:

ipset
kmod-ipt-ipset
kmod-sched-ipset
iptables-mod-ipopt
kmod-sched
iptables-mod-hashlimit

@dlakelan I have setup Set "pfifo" as the qdisc

#gameqdisc="red"

gameqdisc="pfifo"

"let's see the full output of running the script"
no idea which command to use to get the full output

@Knomax Yes "local startup" to run
echo "y" | /etc/SimpleHFSCgamerscript.sh

Do you restart firewall BEFORE you run the script?
yes /etc/init.d/firewall restart on Putty

I think you have some old script residue left in dnsmasq.config, check that

can you explain how I could check that?

did you add lines at the end of
/etc/dnsmasq.conf: ???

You run the script when router boots....then to re-run the script you must...restart the firewall....and then run the script.

I think the same...from "ultimate dscp script"...i think.

Exact, it dates from january this modification!

1 Like

what lines? there is no mention of doing anything with the /etc/dnsmasq.conf ???? anywhere

post here dnsmasq.conf

"run script" i assume we are talking about running it in the Winscp something like ./SimpleHFSCgamerscript.sh

no matter what i do i get "Set cannot be created" errors

post please script you are using..

Ok @Happi dont answer..have a nice day.

1 Like

sorry man am not at home, am at work. I cannot give out any information or test anything at the moment, I will report back later on today

1 Like

@dlakelan @Knomax

let me know if I will be doing this correctly later on today, this is the plan:

  1. Install the latest Snapshot Firmware

  2. Opkg update

  3. Opkg Install Luci

  4. install the following scripts:

ipset
kmod-ipt-ipset
kmod-sched-ipset
iptables-mod-ipopt
kmod-sched
iptables-mod-hashlimit

  1. log into your OpenWrt router using PuTTy

  2. cd /etc

  3. wget https://raw.githubusercontent.com/dlakelan/routerperf/devel/SimpleHFSCgamerscript.sh

  4. chmod a+x /etc/SimpleHFSCgamerscript.sh

  5. wget https://raw.githubusercontent.com/dlakelan/routerperf/devel/dscptag.sh

  6. edit SimpleHFSCgamerscript.sh to set your WAN and LAN interfaces, your network speeds, and the speed you reserve for your game (GAMEUP and GAMEDOWN)
    Change to this:
    #gameqdisc="red"
    gameqdisc="pfifo"

NOTE: i did not see anything in the new script where you could change the "GAMEUP and GAMEDOWN" like we did in some of the previous scripts.

  1. change IP for IP4 and IP6 and match it with the XboxOne

  2. "Bulk Ports" i dont use torrent, i guess i could just leave this one as it is in the script.

  3. PuTTY:
    cd /etc
    /etc/init.d/firewall restart
    /etc/SimpleHFSCgamerscript.sh

NOTE: i assume at this time we do not use "chmod a+x /etc/SimpleHFSCgamerscript.sh" ??

  1. "edit dscptag.sh" it would be nice if someone could post a picture of their DSCP tagging or explain how to work with this one. as of now i left it as it is.

  2. Now, run the script in PuTTY followed by:
    cd /etc
    and then enter ./SimpleHFSCgamerscript.sh
    and then enter ls to see if the script is green

  3. add echo y | /etc/SimpleHFSCgamerscript.sh in Local Startup

  4. Reboot the router

  5. put this into Putty:
    cd /etc
    /etc/init.d/firewall restart

  6. anytime i make any changes to the script "SimpleHFSCgamerscript.sh" in Winscp, do this in PuTTy:
    cd /etc
    /etc/init.d/firewall restart
    ./SimpleHFSCgamerscript.sh

  7. Done

Quote from dlakelan:

"One thing that has come to my attention is that we need to restart the openwrt firewall before running the script. Otherwise sometimes firewall rules will appear twice etc. So when you get a new script:

download script
Set speed settings, pfifo/red, etc
/etc/init.d/firewall restart
run script
any time you make a change do:
/etc/init.d/firewall restart
run script

Note: you shouldn't have to reboot the router, but if you just do
/etc/init.d/firewall restart
...run..script..here
that should always be enough to "reset"