Ex. Harddrive (WRT1200ac)

If your problem doesn't fall into one of the other categories, report it here.

Moderator: Moderators

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

Re: Ex. Harddrive (WRT1200ac)

Post by Lantis »

thekk wrote:hd-ilde work for me. thanks for this information.

This are the system state if i upload to the hdd.
https://www.dropbox.com/s/iaggpazkl7bhi ... lage01.jpg
So, the bottleneck can't be the cpu. Any suggetions?

If i type in something else than an existing user or nothing for login, the login will be rejected. Anonymous is defenitely deactivated if you set a certain user for a share.
Adding a user like "guest" cant be added without password, so i dont see a way for workaround now.

EDIT:
I solved the problem with guest access.
The option "map to guest = Bad User" should map a non existing user to the guest account.
The option "valid users" break this step.
If i delete this line in smb.conf and leave just "write list = userX userY", the guest access with only read work fine and login in with a user give me write access.
this should be changed in next gargoyle version or give the webUI more options to setup the smb config.
Additional Gargoyle sets the option "null password" in smb.conf but didn't accept zero password in webUI, this is also an "bug" and should be changed in some way. Maybe give the option in webUI to disable password for a user?
Thank you for your testing and investigation.
I agree with your assessment of the "valid users" clause and have removed it from the config. Guest access should be fixed in future builds.

I disagree with your assessment of being able to set no password.
Creating a user with no password is only a small step up from no security at all. I don't see a point to it. You might as well make it a guest.
Yes the null password option is included, but we currently make no use of it.
You can continue to try and pitch me a use case if you would prefer, however i'm just not seeing it. The end user is of course welcome to change anything via the command line as they wish :)


As promised, netdata plugin.
http://lantisproject.com/gargoyle_mvebu ... -1_all.ipk
install and then navigate to http://192.168.1.1:19999
This should reveal any stat you could possibly ever need about the router, and should help your investigation of the core usage.

For any other users stumbling across this download link. Unless your router has a large amount of RAM and > 1.5MB of free flash space, don't install.
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: Ex. Harddrive (WRT1200ac)

Post by thekk »

Thanks for this mighty tool, looks realy great.
But unfortunately it does not bring anything new to the sunlight.
Both cores are loaded very equal with ~55% if i upload to hdd.
Hdd working time is ~15% over the upload.

If i start downloading from inet, upload to hdd goes down with the amount of the downloadrate.
SoftIRQ raises from ~5% to ~30% of CPU time (~5000/s cpu0 - ~2600/s cpu1) but nothing else changed.
Total CPU load are then ~80%.
https://www.dropbox.com/s/5vmuk6euhb6wj ... lage05.jpg

Disabling QoS for up- and download change upload to hdd from ~15 to ~19MB/s in case of downloading from inet but don't give a raise over the 25MB/s cap.
So its proofed for me, cpu isnt the bottleneck.
Memory usage never reaches 100% so it isn't the problem too.

This is realy a strange and enigmatic behaviour.

Post Reply