Pages:
Author

Topic: M's Miner (Ant/SP) Monitor v5.2: alerts,auto/mass/scheduled reboot/mobile miner - page 65. (Read 209242 times)

legendary
Activity: 1596
Merit: 1000
Very nice looking program, but I can't get it running. Scanning finds my 5 ants, but they don't show up in the Ants page. Manually adding their IPs doesn't work either.

All 5 are running the latest firmware, default username/password, stock CGminer, API access enabled for CGremote, and overclocked to 400MHz.

Network looks like this:

192.168.1.x

My PC --> wired to router --> wireless bridge to garage --> bridged router to 8port switch --> 8 port switch to 2nd 8 port switch --> 5 ants

I can access them all normally through Firefox.


My app uses the Windows "browser" object to talk to the Ants.  That's Microsoft speak for imbedded internet explorer.  What version of IE do you have?  Are you able to get to your ants via IE?

M

Yes, I just successfully logged into them with IE 10. Is upgrading to 11 (or whatever the latest version is) worth a shot?

Edit: Just read the rest of the thread. Looks like the issue is having 3 pools filled in, and I only have 2. For some reason my ants won't let me access the pool management page, and I never had a good reason to look into it. I'll wait for your updated version that doesn't need all 3 to be filled in. Smiley
member
Activity: 89
Merit: 11
Excellent.  It never occurred to me to test for that.  I'll have to fix it in the next version.

(I assumed everyone would have 3 pools!! Smiley

M

I managed to get one of my miners to show in the ants page after I added the IP to "trusted pages" list on my internet settings (IE11 Win8.1/64) and I only had two pools assigned in all of my ants.

When I added another IP in the trusted pages and tried again, the ants page remained empty once again. It's a bit weird.

But adding a third pool worked 100% fine so that's great! And thanks for a very, very useful program!
full member
Activity: 238
Merit: 100
Kia ora!
I had three originally, the third was the slush proxy running on my other PC. But when the slush stratum proxy ceased working after patching the cgminer, I removed it - funny.
legendary
Activity: 1540
Merit: 1001
That did it. Needs all three pools.

Excellent.  It never occurred to me to test for that.  I'll have to fix it in the next version.

(I assumed everyone would have 3 pools!! Smiley

M
full member
Activity: 238
Merit: 100
Kia ora!
That did it. Needs all three pools.
legendary
Activity: 1540
Merit: 1001
http://oi60.tinypic.com/1zdr9c8.jpg



Thats a screen of one of the miners. The Ants tab remains empty.

The only I see different is you don't have all 3 pools populated.  Try adding a 3rd pool, whatever, garbage if it needs to be.

M
full member
Activity: 238
Merit: 100
Kia ora!
http://oi60.tinypic.com/1zdr9c8.jpg



Thats a screen of one of the miners. The Ants tab remains empty.
legendary
Activity: 1540
Merit: 1001
In an attempt to figure out why most Ants seem to work, but some doesn't, I made some minor changes and pushed out v1.1.  The only thing different in this version is there are 3 tabs for each of the 3 browsers that run under the hood to talk to your Ants.  These are full fledged browsers, so you can click on them and enter data, so be careful what you do.

Those of you with Ants being found (which doesn't use the browser object), but not working, please try this and tell me/show me what you see on the browser tabs.

http://www.mdude.org/MAntMonitor11.zip

Thanks.

M
member
Activity: 67
Merit: 10
all my miners show up as in the IP's but when i go to the refresh page nothing happens and no miners show up i have 4
legendary
Activity: 1540
Merit: 1001
Ok, here is a quick update.

So i have 7 Ants that i have specifically assigned IP to and none of them show up on the list.
I also have 5 Ants that have no specific IP assigned to them and they all show up on the list.

Maybe this helps somehow.

Can you give me an example?  What is an address that you've specifically assigned, and one that you haven't?

M
newbie
Activity: 50
Merit: 0
Ok, here is a quick update.

So i have 7 Ants that i have specifically assigned IP to and none of them show up on the list.
I also have 5 Ants that have no specific IP assigned to them and they all show up on the list.

Maybe this helps somehow.
legendary
Activity: 1540
Merit: 1001
My app uses the Windows "browser" object to talk to the Ants.  That's Microsoft speak for imbedded internet explorer.  What version of IE do you have?  Are you able to get to your ants via IE?

M

Hmmm. If thats the case then I can't see how me upgrading the cgminer patch would affect that since browser access even by MS Explorer is still possible.

I agree.

I've got 9 ants here, hard wired via ethernet, and they all show up for me.  I'm at a loss at the moment why they aren't all showing up for everyone else.

I may have add a debug option where it'll display what happens and some output that you can then capture and post for me.

M
newbie
Activity: 50
Merit: 0
Now it's not showing any of them. And when i try to click the refresh button i get the following:

Alright.  Try closing the app, going into the registry, and rename or delete this key:

HKEY_CURRENT_USER\software\mantmonitor

Then re-open the app and see what happens.

If you don't feel comfortable working the registry, you might not want to do this, as if you delete the wrong thing, very bad things will happen.

M


That fixed the refreshing issue but still no miner showing up
full member
Activity: 238
Merit: 100
Kia ora!
My app uses the Windows "browser" object to talk to the Ants.  That's Microsoft speak for imbedded internet explorer.  What version of IE do you have?  Are you able to get to your ants via IE?

M

Hmmm. If thats the case then I can't see how me upgrading the cgminer patch would affect that since browser access even by MS Explorer is still possible.
legendary
Activity: 1540
Merit: 1001
Now it's not showing any of them. And when i try to click the refresh button i get the following:

Alright.  Try closing the app, going into the registry, and rename or delete this key:

HKEY_CURRENT_USER\software\mantmonitor

Then re-open the app and see what happens.

If you don't feel comfortable working the registry, you might not want to do this, as if you delete the wrong thing, very bad things will happen.

M
newbie
Activity: 50
Merit: 0
Now it's not showing any of them. And when i try to click the refresh button i get the following:

Code:
See the end of this message for details on invoking 
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.IndexOutOfRangeException: Index was outside the bounds of the array.
   at System.Windows.Forms.ListBox.ItemArray.GetItem(Int32 virtualIndex, Int32 stateMask)
   at MAntMonitor.frmAntMonitor.RefreshGrid()
   at MAntMonitor.frmAntMonitor.TimerRefresh_Tick(Object sender, EventArgs e)
   at MAntMonitor.frmAntMonitor.cmdRefresh_Click(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Button.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.18444 built by: FX451RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
MAntMonitor
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Users/Jer/Desktop/MAntMonitor.exe
----------------------------------------
Microsoft.VisualBasic
    Assembly Version: 10.0.0.0
    Win32 Version: 11.0.50938.18408 built by: FX451RTMGREL
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Runtime.Remoting
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Remoting/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
System.Data
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Xml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Numerics
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:


   


When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

legendary
Activity: 1540
Merit: 1001
For those that have a problem with it not working for your S1s, or all your S1s, please open an IE browser and try navigating to this URL:

http:///cgi-bin/luci/;stok=/admin/status/minerstatus/

eg:

http://192.168.0.99/cgi-bin/luci/;stok=/admin/status/minerstatus/

What you should get is the authentication page.  Enter the right credentials, then you should end up on the minerstatus page.

Let me know what happens when you try this.

M

I get to the authentication page i enter the credentials and see the miner status page no problem...

Okay, so far that's the same as my app.  Now, with that on the screen, change the URL to the next Ant and see what happens.

M

I get asked for the credentials again, and then when i enter them it brings me to the same page.

Just a hunch.  Can you make sure your browser cache setting are set to "every visit to page"?

tools -> internet options -> settings on that page, and change the radio button from "automatic" to "Every visit to page", if it's not there already.

M
newbie
Activity: 50
Merit: 0
For those that have a problem with it not working for your S1s, or all your S1s, please open an IE browser and try navigating to this URL:

http:///cgi-bin/luci/;stok=/admin/status/minerstatus/

eg:

http://192.168.0.99/cgi-bin/luci/;stok=/admin/status/minerstatus/

What you should get is the authentication page.  Enter the right credentials, then you should end up on the minerstatus page.

Let me know what happens when you try this.

M

I get to the authentication page i enter the credentials and see the miner status page no problem...

Okay, so far that's the same as my app.  Now, with that on the screen, change the URL to the next Ant and see what happens.

M

I get asked for the credentials again, and then when i enter them it brings me to the same page.
legendary
Activity: 1540
Merit: 1001
While obviously this was designed for the S1, does this work with the S2 as well? Can it?

Someone has to try it who has an S2.  I suspect it won't work, as the pages have to *exactly* match what the S1 has.

S2s are still a bit out of my price range. 

M
hero member
Activity: 532
Merit: 500
While obviously this was designed for the S1, does this work with the S2 as well? Can it?
Pages:
Jump to: