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 have this errors in my log:

Code: Select all

Tue Oct 27 19:47:33 2015 daemon.err uhttpd[2077]: sh: write error: Broken pipe
Tue Oct 27 19:47:33 2015 daemon.err uhttpd[2077]: sh: write error: Broken pipe
Tue Oct 27 19:47:33 2015 daemon.err uhttpd[2077]: sh: write error: Broken pipe
Tue Oct 27 19:47:33 2015 daemon.err uhttpd[2077]: sh: write error: Broken pipe

Code: Select all

Tue Oct 27 21:02:37 2015 daemon.err uhttpd[2077]: sh: can't open '/tmp/tmp.sh'
Tue Oct 27 21:02:49 2015 daemon.err uhttpd[2077]: sh: can't open '/tmp/tmp.sh'
Tue Oct 27 21:03:37 2015 daemon.err uhttpd[2077]: sh: can't open '/tmp/tmp.sh'
Tue Oct 27 21:03:49 2015 daemon.err uhttpd[2077]: rm: can't remove '/tmp/tmp.sh': No such file or directory
Tue Oct 27 21:04:01 2015 daemon.err uhttpd[2077]: sh: can't open '/tmp/tmp.sh'
Tue Oct 27 21:04:13 2015 daemon.err uhttpd[2077]: sh: can't open '/tmp/tmp.sh'
Tue Oct 27 21:04:25 2015 daemon.err uhttpd[2077]: rm: can't remove '/tmp/tmp.sh': No such file or directory
Tue Oct 27 21:04:37 2015 daemon.err uhttpd[2077]: sh: can't open '/tmp/tmp.sh'
Tue Oct 27 21:05:13 2015 daemon.err uhttpd[2077]: rm: can't remove '/tmp/tmp.sh': No such file or directory
Tue Oct 27 21:05:25 2015 daemon.err uhttpd[2077]: sh: can't open '/tmp/tmp.sh'
Tue Oct 27 21:05:37 2015 daemon.err uhttpd[2077]: rm: can't remove '/tmp/tmp.sh': No such file or directory
Tue Oct 27 21:05:49 2015 daemon.err uhttpd[2077]: rm: can't remove '/tmp/tmp.sh': No such file or directory
Tue Oct 27 21:06:01 2015 daemon.err uhttpd[2077]: rm: can't remove '/tmp/tmp.sh': No such file or directory
Tue Oct 27 21:06:13 2015 daemon.err uhttpd[2077]: rm: can't remove '/tmp/tmp.sh': No such file or directory
Tue Oct 27 21:06:37 2015 daemon.err uhttpd[2077]: rm: can't remove '/tmp/tmp.sh': No such file or directory
Tue Oct 27 21:07:01 2015 daemon.err uhttpd[2077]: rm: can't remove '/tmp/tmp.sh': No such file or directory

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

Re: WRT1200AC v1.9 ?

Post by Lantis »

Broken pipe isn't just you I believe it's a problem with openwrt.


The second one means it was trying to execute a command from the UI but the command file didn't exist for some reason.
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 »

I just did a clean install again.
Plugin page worked now :D

How to trace this error with the tmp file?

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

Re: WRT1200AC v1.9 ?

Post by Lantis »

would have to know exactly what you were doing at the time it occurred.

Basically when you make a change in the UI, it queues up a series of commands to parse through the command line.
It writes them into a script file at /tmp/tmp.sh and then executes it when you hit "Save Changes".
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 »

I was playing around with qos settings.

Code: Select all

Wed Oct 28 00:04:38 2015 daemon.err insmod: module is already loaded - cls_fw
Wed Oct 28 00:04:38 2015 daemon.err insmod: module is already loaded - cls_flow
Wed Oct 28 00:04:38 2015 daemon.err insmod: module is already loaded - sch_hfsc
Wed Oct 28 00:04:38 2015 daemon.err insmod: module is already loaded - sch_sfq
Wed Oct 28 00:04:38 2015 daemon.err uhttpd[2054]: /tmp/tmp.sh: line 68: syntax error: unexpected end of file (expecting "then")
or

Code: Select all

Wed Oct 28 00:02:08 2015 daemon.err insmod: module is already loaded - cls_fw
Wed Oct 28 00:02:08 2015 daemon.err insmod: module is already loaded - cls_flow
Wed Oct 28 00:02:08 2015 daemon.err insmod: module is already loaded - sch_hfsc
Wed Oct 28 00:02:08 2015 daemon.err insmod: module is already loaded - sch_sfq
Wed Oct 28 00:02:09 2015 local5.info qosmon[4134]: starting socketfd = 5, statusfd = 4
Wed Oct 28 00:02:09 2015 daemon.err uhttpd[2054]: /tmp/tmp.sh: line 63: /etc/: Permission denied
This is after deleting bw stats i think:

Code: Select all

Wed Oct 28 00:02:33 2015 daemon.err uhttpd[2054]: cat: can't open '/tmp/bw_backup/do_bw_backup.sh': No such file or directory
Wed Oct 28 00:02:45 2015 daemon.err uhttpd[2054]: cat: can't open '/tmp/bw_backup/do_bw_backup.sh': No such file or directory
Wed Oct 28 00:02:47 2015 daemon.err uhttpd[2054]: cat: can't open '/tmp/bw_backup/do_bw_backup.sh': No such file or directory
Wed Oct 28 00:02:49 2015 daemon.err uhttpd[2054]: cat: can't open '/tmp/bw_backup/do_bw_backup.sh': No such file or directory
Wed Oct 28 00:02:53 2015 daemon.err uhttpd[2054]: cat: can't open '/tmp/bw_backup/do_bw_backup.sh': No such file or directory
Wed Oct 28 00:03:18 2015 daemon.err uhttpd[2054]: cat: can't open '/tmp/bw_backup/do_bw_backup.sh': No such file or directory
Wed Oct 28 00:03:22 2015 daemon.err uhttpd[2054]: cat: can't open '/tmp/bw_backup/do_bw_backup.sh': No such file or directory
Wed Oct 28 00:03:58 2015 daemon.err uhttpd[2054]: cat: can't open '/tmp/bw_backup/do_bw_backup.sh': No such file or directory

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

Re: WRT1200AC v1.9 ?

Post by Lantis »

Gosh. This is a bit outside my understanding. And quite hard to debug. The tmp.sh file gets deleted after it is used and so we can't examine errors easily.
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.

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

Re: WRT1200AC v1.9 ?

Post by Lantis »

Doing a fresh build with the new wireless driver 10.3.0.12.
Will test on my own system first then release on my website if it seems stable.

EDIT:
good driver, but it causes the cpu to constantly serve interrupt requests which results in more heat. as a result i havent pushed it to the latest code.

if people are interested in having a go though i can upload the images.
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 »

The Errors about the tmp.sh seems to fixed itslef somehow ?
Running latest build from ispytail. Everything runs nice.

The new limits in sysctl.conf are for lower memory devices i guess?
For devices with 512mb ram the limit for max connections can be raised again to 16384 or even higher?
To make some more advantage of the high amount of ram i also raised the cache of dnsmasq to max of 10000. (option cachesize '10000' in dhcp config file) Running for a few days now. Seems to be working fine. Ram usage hasn't raised that much.

This also seems interesting:

Code: Select all

# This will tell DHCP clients to not ask for proxy information
# Some clients, like Windows 7, will constantly ask if not told NO
dhcp-option=252,"\n"
Must be added to dnsmasq.conf in /etc and will reduce network traffic slightly.

I don't use the wlan on this device. So i can't test this for you :(

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

Re: WRT1200AC v1.9 ?

Post by Lantis »

Yea that patch is more aimed at smaller devices. I don't really see a home environment generating in excess of 4000 connections though lol
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.

thekk
Posts: 23
Joined: Tue May 10, 2016 12:35 pm

Re: WRT1200AC v1.9 ?

Post by thekk »

Hi Folks,

first i have to say thank you very much for this super nice firmware.
I bought the wrt1200ac today and flashed it with gorgoyle and i love it!

i remember a post on page 1: viewtopic.php?f=5&t=7598&start=10#p31914
and i found this issue. This problem cause if you set a percent BW over 100% in additional to the other rules.
If you edit all rules in one step without saving between and set it in sum over 100%, the UI regulate it. If you set just one rule over 100% in additional to the others and save then, you will get NaN% in all fields.

I have also some purposals to make because i manage a network over 6 person with roundabount 25 devices.
It would be very usefull if there was a option in DHCP for the guest-wifi with separated ip-range. In this case it should linked to QoS-Setup for easier setup of bandwidth cap for this network.

In QoS-Setup should be a opportunity to comment the rules.
For now i can do it with the classificationname but it would be nice if i can comment the name of the adressrange for a persons devices.

thx, bb

Post Reply