WRT1200AC v1.9 ?

General discussion about Gargoyle, OpenWrt or anything else even remotely related to the project

Moderator: Moderators

shm0
Posts: 67
Joined: Sat Sep 19, 2015 10:06 am

Re: WRT1200AC v1.9 ?

Post 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:

Image

I also couldn't find any useful info. but i keep looking for it :)

Lantis
Moderator
Posts: 7063
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: WRT1200AC v1.9 ?

Post 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.
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

shm0
Posts: 67
Joined: Sat Sep 19, 2015 10:06 am

Re: WRT1200AC v1.9 ?

Post 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 :)

Lantis
Moderator
Posts: 7063
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: WRT1200AC v1.9 ?

Post 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.
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

shm0
Posts: 67
Joined: Sat Sep 19, 2015 10:06 am

Re: WRT1200AC v1.9 ?

Post by shm0 »

Thanks again :)

Are there any plans to bring sqm to gargoyle?

I saw you uploaded new builds. Is there are changelog? :)

Lantis
Moderator
Posts: 7063
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: WRT1200AC v1.9 ?

Post 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
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

shm0
Posts: 67
Joined: Sat Sep 19, 2015 10:06 am

Re: WRT1200AC v1.9 ?

Post by shm0 »

Yes the fan script is included.

I will flash the firmware later the night when no one is using the internet. :D

Too bad no sqm for gargoyle. ACC + sqm would be killer i think :lol:

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 :D

Lantis
Moderator
Posts: 7063
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: WRT1200AC v1.9 ?

Post 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.
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

nworbnhoj
Posts: 916
Joined: Mon Jul 21, 2014 10:08 am
Location: Australia
Contact:

Re: WRT1200AC v1.9 ?

Post 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.
Can you help someone else get Gargoyle up and running?
TL-WDR3600 : Gargoyle 1.9.0 : NBN FixedWireless
TL-WR1043ND-V2 : Gargoyle 1.8.0 : 3G Huawei E160E

shm0
Posts: 67
Joined: Sat Sep 19, 2015 10:06 am

Re: WRT1200AC v1.9 ?

Post 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.

Post Reply