Page 2 of 5
Re: WRT1200AC v1.9 ?
Posted: Mon Sep 21, 2015 1:37 pm
by shm0
I currently use this:
Code: Select all
echo "var tempcpu=\""$(cut -c1-2 /sys/class/hwmon/hwmon1/temp1_input)"\";"
echo "var tempmem=\""$(cut -c1-2 /sys/class/hwmon/hwmon0/temp2_input)"\";"
echo "var tempwifi=\""$(cut -c1-2 /sys/class/hwmon/hwmon0/temp1_input)"\";"
Thats the result:
I also couldn't find any useful info. but i keep looking for it

Re: WRT1200AC v1.9 ?
Posted: Fri Sep 25, 2015 8:40 am
by Lantis
Based on the assumptions we made, I've made some code changes to suit.
I've also added the WRT1200AC to the build list.
https://patch-diff.githubusercontent.co ... /373.patch
Just needs to be accepted into the main code but I think it'll be in time for the official 1.9.0 release.
Outstanding bugs are still the usb_storage and plugins menus.
I'll keep working on them.
Re: WRT1200AC v1.9 ?
Posted: Fri Sep 25, 2015 3:22 pm
by shm0
Thanks for all your work and effort
Issues i have collected so far:
- The slow ui bug is still there. But i dunno what caused it.
- When changing QoS rules i have to reboot the router to regain internet acces
- When chaning Qos Rules sometimes the Percent Values change to %NaN (i cant remember exactly) but it this happens only in rare cases. Sometimes the window to edit rules is also empty (I think it has to do with the slow ui).
Did you looked at the profiles from openwrt for the routers?
WRT1200AC uses some different kernel modules.
Code: Select all
define Profile/Caiman
NAME:=Linksys WRT1200AC (Caiman)
PACKAGES:= \
kmod-usb2 kmod-usb3 kmod-usb-storage \
kmod-i2c-core kmod-i2c-mv64xxx \
kmod-ata-core kmod-ata-mvebu-ahci \
kmod-rtc-armada38x kmod-thermal-armada \
kmod-gpio-button-hotplug kmod-hwmon-tmp421 \
kmod-leds-pca963x \
kmod-ledtrig-usbdev kmod-mwlwifi wpad-mini \
swconfig
endef
define Profile/Caiman/Description
Package set compatible with the Linksys WRT1200AC (Caiman).
endef
$(eval $(call Profile,Caiman))
define Profile/Cobra
NAME:=Linksys WRT1900ACv2 (Cobra)
PACKAGES:= \
kmod-usb2 kmod-usb3 kmod-usb-storage \
kmod-i2c-core kmod-i2c-mv64xxx \
kmod-ata-core kmod-ata-mvebu-ahci \
kmod-rtc-armada38x kmod-thermal-armada \
kmod-gpio-button-hotplug kmod-hwmon-tmp421 \
kmod-leds-pca963x \
kmod-ledtrig-usbdev kmod-mwlwifi wpad-mini \
swconfig
endef
define Profile/Cobra/Description
Package set compatible with the Linksys WRT1900AC (Cobra).
endef
$(eval $(call Profile,Cobra))
define Profile/Mamba
NAME:=Linksys WRT1900AC (Mamba)
PACKAGES:= \
kmod-usb2 kmod-usb3 kmod-usb-storage \
kmod-i2c-core kmod-i2c-mv64xxx \
kmod-ata-core kmod-ata-marvell-sata \
kmod-rtc-marvell kmod-thermal-armada \
kmod-gpio-button-hotplug kmod-hwmon-tmp421 \
kmod-hwmon-pwmfan kmod-leds-tlc59116 \
kmod-ledtrig-usbdev kmod-mwlwifi wpad-mini \
swconfig
endef
I also have some more generic question. What does your wan mac show on the original linksys firmware?
It shows 00:00:00:00:00:00 for me. Even on openwrt it is 00...
Only gargoyle shows the wan mac as the same as the lan mac.
Thank you

Re: WRT1200AC v1.9 ?
Posted: Fri Sep 25, 2015 3:35 pm
by Lantis
Because it's just using the genetic profile they should all be covered but I'll double check.
I'll test the QOS rule, there's been a few changes recently that may make a difference.
I had the stock firmware on it long enough to load Gargoyle

I never looked sorry.
Re: WRT1200AC v1.9 ?
Posted: Sat Sep 26, 2015 12:24 pm
by shm0
Thanks again
Are there any plans to bring sqm to gargoyle?
I saw you uploaded new builds. Is there are changelog?

Re: WRT1200AC v1.9 ?
Posted: Sat Sep 26, 2015 4:54 pm
by Lantis
The change I listed above + a bunch of patches necessary to the core functionality of Gargoyle (not written by me)
Do you have a cron job for fan_ctrl.sh? Just wondering if it doesn't get included because you have no fan.
As far as I know no plans for SQM
Re: WRT1200AC v1.9 ?
Posted: Sat Sep 26, 2015 5:08 pm
by shm0
Yes the fan script is included.
I will flash the firmware later the night when no one is using the internet.
Too bad no sqm for gargoyle. ACC + sqm would be killer i think
One other thing. I think the l7 detection doesnt work because it has been removed from openwrt. but im not quite sure.
Is it possible to add some p2p block on ipp2p basis?
//edit
Flashed new image. appears to work fine. Thank you

Re: WRT1200AC v1.9 ?
Posted: Sat Sep 26, 2015 7:48 pm
by Lantis
I removed the fan script (and replaced with a daemon) and I've not had the ui slow down since.
I wonder if every 5 minutes it triggering was causing some problem in the scripts invoked by the UI.
Regardless with no fan you can safely remove that cron task
L7 seems to work for me detecting BitTorrent on barrier breaker. I haven't tried it on CC yet.
Re: WRT1200AC v1.9 ?
Posted: Sat Sep 26, 2015 9:16 pm
by nworbnhoj
shm0 wrote:I think the l7 detection doesnt work because it has been removed from openwrt. but im not quite sure.
http://www.gargoyle-router.com/wiki/doku.php
The trouble is that applications are changing constantly sending new and different types of data which makes any pattern matching problematic. Couple this with the rise of SSL (Encrypted data) and it becomes impossible to glean anything meaningful from the data passing through the router. As a result I do not recommend this type of matching and may remove it entirely from Gargoyle in the future. The authors of the L7 matching code seem to agree having pretty much given up maintain or improving the code.
Re: WRT1200AC v1.9 ?
Posted: Sun Sep 27, 2015 8:59 am
by shm0
I wanted to say is with CC even if you choose l7 to be included into the build it will not work.
So there is additional work needed to include this in cc + gargoyle.
But yes as stated in your quote it hasn't been updated a long time and doesn't work with encrypted traffic and should be removed entirely.
//edit
in the build from 27. the QoS Distribution page doesn't show any graphs anymore.
In 26. build it worked fine.