Pages:
Author

Topic: ANUBIS - a CGMINER Web Frontend - page 12. (Read 83182 times)

legendary
Activity: 1795
Merit: 1208
This is not OK.
February 27, 2012, 01:47:59 PM
Found extra coins in my account. Thank you whoever Smiley
legendary
Activity: 1795
Merit: 1208
This is not OK.
February 27, 2012, 12:25:20 PM
I changed root password (default is blank), and now i can't get into phpMyAdmin.
!?!?!

Got Anubis running on another machine after I completely messed up the first machine.
At least you got something up! Perhaps mySQL was just messed up on that machine???
legendary
Activity: 1134
Merit: 1005
February 27, 2012, 12:20:44 PM
What if you change the name/pw to root?

'fraid I'm taking shots in the dark, I'm not an expert on mySQL.
I changed root password (default is blank), and now i can't get into phpMyAdmin.
Got Anubis running on another machine after I completely messed up the first machine.
legendary
Activity: 1795
Merit: 1208
This is not OK.
February 27, 2012, 12:13:48 PM
What if you change the name/pw to root?

'fraid I'm taking shots in the dark, I'm not an expert on mySQL.
legendary
Activity: 1134
Merit: 1005
February 27, 2012, 09:16:32 AM
The 'YES' means a password is in use Wink

Does seems there's an admin problem. Check the username, password and database name are all correct (you do need to create a database to connect to - the webpage will create tables in a database, but not the database itself)
DB name, username, password are all correct.
I did create the DB.
The user have ALL privileges.
legendary
Activity: 1795
Merit: 1208
This is not OK.
February 27, 2012, 12:53:31 AM
The 'YES' means a password is in use Wink

Does seems there's an admin problem. Check the username, password and database name are all correct (you do need to create a database to connect to - the webpage will create tables in a database, but not the database itself)
legendary
Activity: 1134
Merit: 1005
February 26, 2012, 09:50:32 PM
getting this error
Code:
FATAL: MySQL Connection failed ! Access denied for user 'anubis'@'localhost' (using password: YES)
I checked config.inc.php, and the password is definitely not "YES".
The password is the same as the one I have setup using phyMyAdmin.
legendary
Activity: 4354
Merit: 3614
what is this "brake pedal" you speak of?
February 26, 2012, 03:43:55 PM
perfect!

thanks Smiley
legendary
Activity: 1795
Merit: 1208
This is not OK.
February 25, 2012, 04:17:35 PM
...and another...
Pool number is displayed in green when shares are being submitted to it. i.e. displays the pool(s) actively in use.
legendary
Activity: 1795
Merit: 1208
This is not OK.
February 25, 2012, 02:54:55 PM
Added the checkboxes Smiley
So now if you change a value, the checkbox will tick itself and on submit the value will be sent.
Unchecked values will not be sent, so if you move a slider accidentally you can uncheck the box and the value will remain as it was.
legendary
Activity: 4354
Merit: 3614
what is this "brake pedal" you speak of?
February 24, 2012, 08:56:07 PM
I was thinking, maybe checkboxes which check themselves if a control is changed?

your call - youre driving Smiley

whatever you put up on git it Ill try. I have good backups and cgminer is very protective of the hardware entrusted to it, so alpha code and I get along well.
legendary
Activity: 1795
Merit: 1208
This is not OK.
February 24, 2012, 10:53:21 AM
I was thinking, maybe checkboxes which check themselves if a control is changed?
Want to make it as easy as possible.
legendary
Activity: 1795
Merit: 1208
This is not OK.
February 24, 2012, 03:22:24 AM
There's all sorts of mechanisms which could be used, but in the end the changes are fed back to the user, so they can see what (if anything) was changed.
If it turns out to be a problem, I can add checkboxes or POST specific changed flags, but I can't see how MUCH can go wrong (famous last words?). CGminer's pretty robust Smiley
legendary
Activity: 4592
Merit: 1851
Linux since 1997 RedHat 4
February 24, 2012, 03:07:00 AM
Just my opinion, but:
Hmm - so: possibly changing things that the user hasn't changed ... doesn't sound correct to me.

vapourminer's idea sounds valid: the user must say they want it changed.

Or: store the old value hidden in the web page and send it back with the new value - so you know they have specifically chosen to change it.
Or: have both fields visible: the locked field and the new value field so they can even see that they have changed it.

Though, obviously, it will depend on what the user means by not changing a value:
1) Always keep it at this value if it changes
2) Don't change it

The problem with 1) is of course that isn't what happens.
It only happens when the user sends a request so there is no attempt to keep the value after it's sent until after the next time the user looks at the web page and sends a reply - thus why I don't think 1) would be the expected result.
Of course it's just my opinion Smiley
legendary
Activity: 1795
Merit: 1208
This is not OK.
February 24, 2012, 02:09:25 AM
Works like this:

Page load
get values
display
-
User edit
-
Hit apply
page load
get values
Compare
Send difference
wait 2 s
get values
display values

So values may change on cgminer between gets and they will be set back to what they were... but meh, like you say, changing the variable values such as fan speed and gpu clock is a moot point.


legendary
Activity: 4592
Merit: 1851
Linux since 1997 RedHat 4
February 24, 2012, 01:52:10 AM
Ah, well, leave the values alone. If you don't change them, they won't be set... it checks. If the values differ, it sends the command. If they are the same no command is sent.
Where (and more importantly when) do the values come from that it compares them to?
legendary
Activity: 1795
Merit: 1208
This is not OK.
February 24, 2012, 01:43:57 AM
Ah, well, leave the values alone. If you don't change them, they won't be set... it checks. If the values differ, it sends the command. If they are the same no command is sent.
legendary
Activity: 4354
Merit: 3614
what is this "brake pedal" you speak of?
February 24, 2012, 12:57:32 AM
the boxes do have the proper values. the program works perfect. thats the "problem," so to speak.

its when I deliberately blank a value out (empty box) and then click "apply settings" it seems to send the number zero.

for example, I set fan speed to a blank box (because I dont want to change that value, as cgminer may of changed fan speed since the page was loaded) and click apply settings, when it reloads the fan setting input box is now "0" and the displayed data line (the part with the colored boxes and start,stop,restart) says the fan speed is 0%, 1026 rpm. my normal minimum fan is 1480 rpm (configured via --gpu-fan 40-80).

cgminer eventually brings the fan back up to speed but its disconcerting to hear your fan speed drop to next to nothing lol. being able to not send all but the value you want to change would make it more idiot proof and not override cgminer.

can it be set so a blank input box does not change that value? or a tick box or something that will not send values you dont want.

EDIT: I use FF or chrome on the PCs, Ill use opera on the android phone (havent tried it yet though). but again, the program runs fine.
legendary
Activity: 1795
Merit: 1208
This is not OK.
February 23, 2012, 08:14:03 PM
So the edit boxes show up blank?
Hmm, they (and the sliders) should be set to whatever the value on the card currently is.
That would be a javascript thing. I've only used chrome and Firefox. Which browser do you use?
legendary
Activity: 4354
Merit: 3614
what is this "brake pedal" you speak of?
February 23, 2012, 07:56:06 PM
grabbed the latest, works well. no options to change stuff till I edited my bat file cgminer flags (yes I still use command line flags instead of config files; lazy in my old age) to allow write access to my network. then I could change stuff.

I do have a feature request. in the screen (page?) that allows you to change intensity, clocks, volts etc.. can you allow us to change only one or 2 values instead of them all each time? lets say I want to just change to Dynamic intensity, I dont want to send new fan speed, engine clocks etc to cgminer as I use autofan and autoclock. leaving a field blank seems to send numeric zero. and I may pull an oops and send the wrong volts to a card, thinking Im in another field (or something equally stupid). so I may want to have it set so I never send a new voltage.

maybe put a tick box in each line or field. ticked means send the value in this line, unticked means dont send whatever value is in that line.


Pages:
Jump to: