I'm trying to work out what to change in the script to get that to work. now I have a massive headache, because I can for see there will be some rounding required to get the values in to an acceptable range.It doesn't make a difference for your statement but we are using ash not bash.
Vexira just multiply by 90 then divide by 100 using the expr command. It will truncate the floating point. Problem solved.
If you can't figure it out, I'll send u an updated version
That sounds like an idea, could you let me know the nvram commands for updating the upload and download please.Hi, I use a raspberry pi to run a scheduled speedtest, these figures are then put into nvram (up and down figures are reduced to 98% using bc which is installed via optware) and then the FreshJR script is run. If you want static values at scheduled times for your up and down rates, just update the nvram variables accordingly and run the FreshJR script.
This can be done using scheduled scripts or manually kicked off.
Do you know how to read back what a specific nvram value is currently?Here is the bit of my script that updates my up and down rates from the text files produced by the speedtest:
nvram set qos_obw=$speedup
nvram set qos_ibw=$speeddown
nvram commit
Change the variables to the numbers you want.
nvram get variablenameDo you know how to read back what a specific nvram value is currently?
Sent from my HTC 10 using Tapatalk
I was just wondering the same. I don't think i want to go back to a world without this script unless Asus fixes the issue in newer firmwares.Will this script still work with Merlin's new 382.** firmwares?
did you factory reset?I tried it and it didnt seem to be working. Lots of data going through the "default" queue. Log showed firewall rules being applied though. Have to try installing it again maybe.
Using AC88U with 382 beta1
Yes, but I didnt select the create new jffs on restart button either. Wonder if that messed it up.did you factory reset?
Try unplugging power plug. Don't do create new if you have other scripts in the jffs. I only factory reset on fresh installs or if something gets really hosed up.Yes, but I didnt select the create new jffs on restart button either. Wonder if that messed it up.
you know the port number?Any idea how to make the (adaptive) QoS working for the traffic routed through the TUN Interface? All my router clients connect using OpenVPN (TUN Interface), none of them are connecting directly to Internet/WAN.
Thank you!
you should haveYes, but I didnt select the create new jffs on restart button either. Wonder if that messed it up.
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!