#!/bin/sh
/jffs/scripts/FreshJR_QOS
hello to all.
first of all, thanks for sharing the script. Ive been trying to set it up on my ac68u but im unsure if its working or not.
since i was having some issues with pscp, i did it the manual way and created a 0755 folder on my /jffs/scripts/ path called FreshJR_QOS. Inside, i placed FreshJR_QOS_v1_9.txt but im just unsure if router will read this txt file.
I appended a logger "QoS OK" at the very end of the script in order to see any signs of it on the main log but i havent been able to see changes.
my firewall-start file looks:
Code:#!/bin/sh /jffs/scripts/FreshJR_QOS
could you please tell me if im on the right track? after rebooting the router, i dont see any log updates showing that that script ran. am i supposed to see any changes on the webui as well?
thanks!
0755 is NOT a folder. chmod sets permissions to 0755 to make the script marked as an executable.
What manual way did you transfer the file? Copy/paste into shell VI text editor?
Pscp transfer should work. Make sure you change the ip address from 192.168.1.1 if your router has a different address.
my bad. i didnt explain correctly. folder is FreshJR_QOS and is chmoded as 0755
i copied the txt file with winscp
cd /jffs/scripts
l
-rwxr-xr-x 1 admin root 17230 Aug 24 13:32 FreshJR_QOS
admin@RT-AC68U:/jffs/scripts/FreshJR_QOS# cd /jffs/scripts
admin@RT-AC68U:/jffs/scripts# l
drwxr-xr-x 2 admin root 0 Aug 28 18:40 FreshJR_QOS/
-rwxr-xr-x 1 admin root 263 Aug 20 09:34 dnsmasq.postconf*
-rwxr-xr-x 1 admin root 36 Aug 28 18:41 firewall-start*
-rwxr-xr-x 1 admin root 316 Aug 20 09:34 post-mount*
admin@RT-AC68U:/jffs/scripts#
Run the following commands
FreshJR_QOS is not a folder. It is the script FreshJR_QOS_v1_9.txt renamed into FreshJR_QOS (no file extension).
If you have FreshJR_QOS_v1_9.txt inside a FreshJR_QOS folder, then there is your problem.
atm is for people on adsl1/2/2+ connections, its a protocol use I think or its a transport method I cant remember off the top of my head, but I know its used in adsl connections, but not vdsl2 aka FTTN, that uses ptm which is more efficient.QoS WAN Overhead option was set to 40 and ATM ticked ( since I use ADSL), I noticed after multiple tests that the best results of speed connection & minimal bufferbloat were gained after disableing (unticking) ATM option and setting the overhead number to Zero. MTU/MRU both set to 1492. Have any of you guys experienced a similar situation? What could be the explanation of this?
QoS WAN Overhead option was set to 40 and ATM ticked ( since I use ADSL), I noticed after multiple tests that the best results of speed connection & minimal bufferbloat were gained after disableing (unticking) ATM option and setting the overhead number to Zero. MTU/MRU both set to 1492. Have any of you guys experienced a similar situation? What could be the explanation of this?
PTM is not available in my area unfortunately I'm stuck with ADSL2+atm is for people on adsl1/2/2+ connections, its a protocol use I think or its a transport method I cant remember off the top of my head, but I know its used in adsl connections, but not vdsl2 aka FTTN, that uses ptm which is more efficient.
Wan overhead adds x amount of bytes, in your case 40, per packet transfered.
The higher your WAN overhead set, the lower your available bandwidth throughput from QOS limits.
It is intended to account for actual overhead present (added) anywhere from the start of your modem(coax,telephone,etc) to the bandwidth limiter ISP side.
Your router cannot see that bandwidth, but it can account for it by adding X bytes per packet.
By you setting wan overhead to 40 was similar setting a lower QOS limit, albeit a little different because the remaining bandwidth limit depends on the rate of packets being transferred
Bufferbloat should of remained constant.
which isp, for adsl 2?, If you aussie like me I can suggest a cheap modem for bridge only, I use to have amazing latency on it.PTM is not available in my area unfortunately I'm stuck with ADSL2+
My set up is as the following: (ISP Modem - No internet connection>> RT-AC68P - WAN Configured as PPPoE) I made sure my ISP modem WAN light is off and only the signal shows it is bridged to the Router.
What option in WAN overhead should I choose? PPPoE LLC/Snap (I know ISP works with this type of connection not VC/Mux) or RFC2684/RFC1483 Bridged LLC/Snap?
#################### Variables Setup #####################
#Percent of download speed guaranteed per QOS catagory, change below as desired (sum should equal 100)
NetControl_DownBandPercent=5 #This value can be adjust as desired
VoIP_DownBandPercent=5 #This value can be adjust as desired
Gaming_DownBandPercent=15 #This value can be adjust as desired
Others_DownBandPercent=15 #This value can be adjust as desired #Note: New destination for all unidentified traffic per script default
WebSurfing_DownBandPercent=15 #This value can be adjust as desired
Video_DownBandPercent=20 #This value can be adjust as desired
FileTransfer_DownBandPercent=20 #This value can be adjust as desired
Default_DownBandPercent=5 #This value can be adjust as desired #Note: Original destination all for unidentified traffic, no traffic should flow here
#Percent of upload speed guaranteed per QOS catagory, change below as desired (sum should equal 100)
NetControl_UpBandPercent=5 #This value can be adjust as desired
VoIP_UpBandPercent=5 #This value can be adjust as desired
Gaming_UpBandPercent=15 #This value can be adjust as desired
Others_UpBandPercent=25 #This value can be adjust as desired #Note: New destination for all unidentified traffic per script default
WebSurfing_UpBandPercent=15 #This value can be adjust as desired
Video_UpBandPercent=10 #This value can be adjust as desired
FileTransfer_UpBandPercent=20 #This value can be adjust as desired
Default_UpBandPercent=5 #This value can be adjust as desired #Note: Original destination all for unidentified traffic, no traffic should flow here
I'm sure your supposed to use the 18, overhead value instead of the 90%, it tells the shaper to account for the 18 byte over head present in cable connections rather than a flat 90% of bandwidth making it more accurate
priority mode still is important the script tells the router to guarantee a minimum percentage of bandwidth for each category of traffic.
No, still use the percent of throughput values. The queuing disciplines needs some room in the throughput to operate correctly. The overhead values just improve the accuracy of the calculations in using that extra room.Thanks for your reply, @Vexira. So, if I understand you correctly, I should leave the values at 15/150 and only apply the preset overhead?
No, still use the percent of throughput values. The queuing disciplines needs some room in the throughput to operate correctly. The overhead values just improve the accuracy of the calculations in using that extra room.
Welcome To SNBForums
SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.
If you'd like to post a question, simply register and have at it!
While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!