sandor111
|
|
May 29, 2014, 10:03:26 AM |
|
I made a mistake, it is a switch not a hub. I thought the two were the same meaning. So making it static would it matter now still that it is not a hub? I've had problems learning how to make devices static.
Doesn't really matter, they function in essentially the same way, a switch is better for network load. Basically you set the IP based on the network address of your network, if it is 192.168.0.0/24, then set it between 192.168.0.1 and 192.168.0.254, set the subnetmask to 255.255.255.0 and set the gateway to your router's IP.
|
|
|
|
Flep182
Legendary
Offline
Activity: 938
Merit: 1007
|
|
May 29, 2014, 12:14:38 PM |
|
|
|
|
|
n00bminer
Member
Offline
Activity: 104
Merit: 10
|
|
May 29, 2014, 01:38:59 PM |
|
Thanks but I don't need to static the IP of the RPI. Read above. Ok for the sake of elimination DHCP for being the problem. I enabled static on the RPI. Used https://www.modmypi.com/blog/tutorial-how-to-give-your-raspberry-pi-a-static-ip-addressStill cannot login GUI wise without uplink connected. SSH is fine. This must be a bug? What are your guys thoughts? You may right click image copy link location, open new tab, paste enter, it will be the original size. Just curious, why would you want to login to the web GUI when the power is out? The best practice would be to script a SSH login/ sudo halt or poweroff
|
|
|
|
n00bminer
Member
Offline
Activity: 104
Merit: 10
|
|
May 29, 2014, 03:08:18 PM |
|
Just curious, why would you want to login to the web GUI when the power is out?
To power off the RPI through minera GUI so SD corruption does not happen if/when battery backup has no more power to give. But SSH will suffice but still leaving the issue remaining at large@not able to login@GUI. Edit: SSH or GUI should be suffice either way to properly shutdown/reboot. if using a UPS with monitoring software, the SSH script is the proper, best practice way to halt/poweroff safely.
|
|
|
|
dloganbill
|
|
May 29, 2014, 04:10:04 PM |
|
This may not be the best place to post, but I'm having trouble with MobileMiner. I have two RPIs each with ten 5-chip gridseeds. I set up a MM account and set it up on one RPI. I logged into the app and it showed up right away. I set up the 2nd RPI the same way, except gave it a different name. However, it won't show up in the app. I power cycled the whole system (RPI, hub, PSU, etc) and still nothing. I thought maybe it would take a while for it to register, but it has been over 14 hours since the power cycle and still nothing.
You have a possible problem with php5-curl installation. Please do exactly what I posted before your post, in particular the upgrade_minera.sh script I tried what you said (twice actually) and it still hasn't shown up yet. Any other ideas? Let me understand, is it working everything on that RPi but Mobileminer app? Could you check the application/logs/*.php? You should see some lines telling you it's trying to contact MM every minute. Look at it if there are some errors. Linux noob here. I found the php files, but I don't know how to open or view them.
|
|
|
|
michelem (OP)
Legendary
Offline
Activity: 1015
Merit: 1000
|
|
May 29, 2014, 04:29:56 PM |
|
Linux noob here. I found the php files, but I don't know how to open or view them.
If you have a SFTP client just point it to your ip with minera/minera as user/pass you should be able to navigate the filesystem and get the files (then just open them with a text-edit) Files are in /var/log/minera or /var/www/minera/application/logs (it's a directory link)
|
|
|
|
Trimegistus
Legendary
Offline
Activity: 1564
Merit: 1027
|
|
May 29, 2014, 05:47:25 PM |
|
This latest Minera version appears to be very stable but I am having a small problem... My buttons for Guided or Manual setting of additional options in the command line are greyed out. I can't change my command line options. What am I missing?
|
|
|
|
n00bminer
Member
Offline
Activity: 104
Merit: 10
|
|
May 29, 2014, 05:48:22 PM |
|
Case closed, Mich replied stating Minera "needs" internet access. As to why? I dunno. Ok, I disconnected the net leaving the router up, and you're correct. GUI minera will not work.@michelem. if using a UPS with monitoring software, the SSH script is the proper, best practice way to halt/poweroff safely.
My UPS is only win and mac supported. I am speaking with another guy atm about the I/o on RPI. Edit: If anyone gets an improper shutdown, their SD will possibly corrupt. Minera GUI is impossible without internet connection. If you have your RPI battery backed up, you're shit out of luck by shutting it down by GUI. Only possible way atm is SSH and even if that stays. I am hoping dev will not remove this option. If you do not want to run a putty ssh script that gets called by your ups monitoring software, get a CW2 pi UPS board. It will provide battery backup, shutdown properly(if you want it too) for your pi. http://www.piups.net/
|
|
|
|
Trimegistus
Legendary
Offline
Activity: 1564
Merit: 1027
|
|
May 29, 2014, 06:06:52 PM |
|
This latest Minera version appears to be very stable but I am having a small problem... My buttons for Guided or Manual setting of additional options in the command line are greyed out. I can't change my command line options. What am I missing? Try a reboot? Done that already. This glitch must be related to the fact that I have been upgrading one version on top of the other for the last 3 versions. I will start with a clean image of this new version and see what happens after that.
|
|
|
|
dloganbill
|
|
May 29, 2014, 06:44:13 PM |
|
Linux noob here. I found the php files, but I don't know how to open or view them.
If you have a SFTP client just point it to your ip with minera/minera as user/pass you should be able to navigate the filesystem and get the files (then just open them with a text-edit) Files are in /var/log/minera or /var/www/minera/application/logs (it's a directory link) Here is what the logs look like ERROR - 2014-05-28 23:55:02 --> Miner is up ERROR - 2014-05-28 23:55:02 --> Storing stats... ERROR - 2014-05-28 23:55:03 --> Delta Stats stored as: {"timestamp":1401321303,"pool_hashrate":2974929,"hashrate":3757777,"avg_freq":0,"accepted":0,"errors":0,"rejected":0,"shares":0} ERROR - 2014-05-28 23:55:03 --> Total Stats stored as: {"timestamp":1401321303,"pool_hashrate":2974929,"hashrate":3757777,"avg_freq":895,"accepted":7629,"errors":40,"rejected":35,"shares":3639005} ERROR - 2014-05-28 23:55:04 --> Sending data to Mobileminer ERROR - 2014-05-28 23:56:02 --> Miner is up ERROR - 2014-05-28 23:56:02 --> Storing stats... ERROR - 2014-05-28 23:56:03 --> Delta Stats stored as: {"timestamp":1401321363,"pool_hashrate":4971027,"hashrate":3757840,"avg_freq":0,"accepted":8,"errors":0,"rejected":0,"shares":4096} ERROR - 2014-05-28 23:56:03 --> Total Stats stored as: {"timestamp":1401321363,"pool_hashrate":4971027,"hashrate":3757840,"avg_freq":895,"accepted":7637,"errors":40,"rejected":35,"shares":3643101} ERROR - 2014-05-28 23:56:04 --> Sending data to Mobileminer ERROR - 2014-05-28 23:57:02 --> Miner is up ERROR - 2014-05-28 23:57:02 --> Storing stats... ERROR - 2014-05-28 23:57:03 --> Delta Stats stored as: {"timestamp":1401321423,"pool_hashrate":2354697,"hashrate":3758129,"avg_freq":0,"accepted":0,"errors":0,"rejected":0,"shares":0} ERROR - 2014-05-28 23:57:03 --> Total Stats stored as: {"timestamp":1401321423,"pool_hashrate":2354697,"hashrate":3758129,"avg_freq":895,"accepted":7637,"errors":40,"rejected":35,"shares":3643101} ERROR - 2014-05-28 23:57:04 --> Sending data to Mobileminer ERROR - 2014-05-28 23:58:02 --> Miner is up ERROR - 2014-05-28 23:58:02 --> Storing stats... ERROR - 2014-05-28 23:58:03 --> Delta Stats stored as: {"timestamp":1401321483,"pool_hashrate":4431717,"hashrate":3758139,"avg_freq":0,"accepted":7,"errors":0,"rejected":0,"shares":3584} ERROR - 2014-05-28 23:58:03 --> Total Stats stored as: {"timestamp":1401321483,"pool_hashrate":4431717,"hashrate":3758139,"avg_freq":895,"accepted":7644,"errors":40,"rejected":35,"shares":3646685} ERROR - 2014-05-28 23:58:04 --> Sending data to Mobileminer ERROR - 2014-05-28 23:59:02 --> Miner is up ERROR - 2014-05-28 23:59:02 --> Storing stats... ERROR - 2014-05-28 23:59:03 --> Delta Stats stored as: {"timestamp":1401321543,"pool_hashrate":2672477,"hashrate":3758158,"avg_freq":0,"accepted":2,"errors":0,"rejected":0,"shares":1024} ERROR - 2014-05-28 23:59:03 --> Total Stats stored as: {"timestamp":1401321543,"pool_hashrate":2672477,"hashrate":3758158,"avg_freq":895,"accepted":7646,"errors":40,"rejected":35,"shares":3647709}
|
|
|
|
michelem (OP)
Legendary
Offline
Activity: 1015
Merit: 1000
|
|
May 29, 2014, 06:58:08 PM |
|
This latest Minera version appears to be very stable but I am having a small problem... My buttons for Guided or Manual setting of additional options in the command line are greyed out. I can't change my command line options. What am I missing? Try a reboot? Done that already. This glitch must be related to the fact that I have been upgrading one version on top of the other for the last 3 versions. I will start with a clean image of this new version and see what happens after that. Try this in SSH: echo -n "1" | redis-cli -x set guided_options redis-cli del manual_options
|
|
|
|
michelem (OP)
Legendary
Offline
Activity: 1015
Merit: 1000
|
|
May 29, 2014, 07:00:29 PM |
|
Linux noob here. I found the php files, but I don't know how to open or view them.
If you have a SFTP client just point it to your ip with minera/minera as user/pass you should be able to navigate the filesystem and get the files (then just open them with a text-edit) Files are in /var/log/minera or /var/www/minera/application/logs (it's a directory link) Here is what the logs look like ERROR - 2014-05-28 23:55:02 --> Miner is up ERROR - 2014-05-28 23:55:02 --> Storing stats... ERROR - 2014-05-28 23:55:03 --> Delta Stats stored as: {"timestamp":1401321303,"pool_hashrate":2974929,"hashrate":3757777,"avg_freq":0,"accepted":0,"errors":0,"rejected":0,"shares":0} ERROR - 2014-05-28 23:55:03 --> Total Stats stored as: {"timestamp":1401321303,"pool_hashrate":2974929,"hashrate":3757777,"avg_freq":895,"accepted":7629,"errors":40,"rejected":35,"shares":3639005} ERROR - 2014-05-28 23:55:04 --> Sending data to Mobileminer ERROR - 2014-05-28 23:56:02 --> Miner is up ERROR - 2014-05-28 23:56:02 --> Storing stats... ERROR - 2014-05-28 23:56:03 --> Delta Stats stored as: {"timestamp":1401321363,"pool_hashrate":4971027,"hashrate":3757840,"avg_freq":0,"accepted":8,"errors":0,"rejected":0,"shares":4096} ERROR - 2014-05-28 23:56:03 --> Total Stats stored as: {"timestamp":1401321363,"pool_hashrate":4971027,"hashrate":3757840,"avg_freq":895,"accepted":7637,"errors":40,"rejected":35,"shares":3643101} ERROR - 2014-05-28 23:56:04 --> Sending data to Mobileminer ERROR - 2014-05-28 23:57:02 --> Miner is up ERROR - 2014-05-28 23:57:02 --> Storing stats... ERROR - 2014-05-28 23:57:03 --> Delta Stats stored as: {"timestamp":1401321423,"pool_hashrate":2354697,"hashrate":3758129,"avg_freq":0,"accepted":0,"errors":0,"rejected":0,"shares":0} ERROR - 2014-05-28 23:57:03 --> Total Stats stored as: {"timestamp":1401321423,"pool_hashrate":2354697,"hashrate":3758129,"avg_freq":895,"accepted":7637,"errors":40,"rejected":35,"shares":3643101} ERROR - 2014-05-28 23:57:04 --> Sending data to Mobileminer ERROR - 2014-05-28 23:58:02 --> Miner is up ERROR - 2014-05-28 23:58:02 --> Storing stats... ERROR - 2014-05-28 23:58:03 --> Delta Stats stored as: {"timestamp":1401321483,"pool_hashrate":4431717,"hashrate":3758139,"avg_freq":0,"accepted":7,"errors":0,"rejected":0,"shares":3584} ERROR - 2014-05-28 23:58:03 --> Total Stats stored as: {"timestamp":1401321483,"pool_hashrate":4431717,"hashrate":3758139,"avg_freq":895,"accepted":7644,"errors":40,"rejected":35,"shares":3646685} ERROR - 2014-05-28 23:58:04 --> Sending data to Mobileminer ERROR - 2014-05-28 23:59:02 --> Miner is up ERROR - 2014-05-28 23:59:02 --> Storing stats... ERROR - 2014-05-28 23:59:03 --> Delta Stats stored as: {"timestamp":1401321543,"pool_hashrate":2672477,"hashrate":3758158,"avg_freq":0,"accepted":2,"errors":0,"rejected":0,"shares":1024} ERROR - 2014-05-28 23:59:03 --> Total Stats stored as: {"timestamp":1401321543,"pool_hashrate":2672477,"hashrate":3758158,"avg_freq":895,"accepted":7646,"errors":40,"rejected":35,"shares":3647709} It seems you haven't MM enabled, could you try to force it with this command? redis-cli set mobileminer_enabled 1
|
|
|
|
Trimegistus
Legendary
Offline
Activity: 1564
Merit: 1027
|
|
May 29, 2014, 07:32:56 PM |
|
Try this in SSH: echo -n "1" | redis-cli -x set guided_options redis-cli del manual_options You are a star! Cheers!
|
|
|
|
soulreafer
Full Member
Offline
Activity: 219
Merit: 100
CryptoCombat - Realtime NPC Fight Faucet
|
|
May 29, 2014, 09:41:45 PM |
|
i love this project so much. is there a way to use the frontend to show some stats to 3th persons without a password and full access to the frontend?
i saw the json stats output but there are no hashrates and other stuff i want to show
|
|
|
|
fivejonnyfive
|
|
May 29, 2014, 10:01:37 PM |
|
i love this project so much. is there a way to use the frontend to show some stats to 3th persons without a password and full access to the frontend?
i saw the json stats output but there are no hashrates and other stuff i want to show
Actually I like the idea of this feature: No-auth read-only access. What do you guys think?
|
|
|
|
soulreafer
Full Member
Offline
Activity: 219
Merit: 100
CryptoCombat - Realtime NPC Fight Faucet
|
|
May 29, 2014, 11:04:20 PM |
|
i love this project so much. is there a way to use the frontend to show some stats to 3th persons without a password and full access to the frontend?
i saw the json stats output but there are no hashrates and other stuff i want to show
Actually I like the idea of this feature: No-auth read-only access. What do you guys think? or maybe some guest login which allows just to see the dashboard. that would be really helpful for renting the hardware
|
|
|
|
UofM_Matt
Newbie
Offline
Activity: 24
Merit: 0
|
|
May 30, 2014, 01:29:33 AM |
|
I would love it if you added support for the new generation of GAW miners. The current stuff that's shipping for mining is not going so well and I *love* minera for my gridseed blades, and I think it'd be easy to add their custom CG miner, detect what's attached and run those miners, as well as the gridseed blades. Check it out in their topic. https://bitcointalk.org/index.php?topic=529093
|
|
|
|
madog97
Newbie
Offline
Activity: 5
Merit: 0
|
|
May 30, 2014, 06:04:23 AM |
|
Hey
first of all thanks for the great frontend. I have been mining with minera since the start and had no problems whatsoever.
But I have a favour to ask. Would it be possible to implement a leaserig.net protocols so that I can rent my rigs on that site since the multi-pools are in decline on price/MHz. and leasing is still quite high.
thanks
|
|
|
|
Flep182
Legendary
Offline
Activity: 938
Merit: 1007
|
|
May 30, 2014, 09:07:20 AM |
|
Hey
first of all thanks for the great frontend. I have been mining with minera since the start and had no problems whatsoever.
But I have a favour to ask. Would it be possible to implement a leaserig.net protocols so that I can rent my rigs on that site since the multi-pools are in decline on price/MHz. and leasing is still quite high.
A way to implement their proxy thing from the frondend will be triggering an additional donation for me too
|
|
|
|
soulreafer
Full Member
Offline
Activity: 219
Merit: 100
CryptoCombat - Realtime NPC Fight Faucet
|
|
May 30, 2014, 09:35:51 AM |
|
i have added the guest view by my own: pretty hardcoded... just removed the login check and all settings page stuff works so far but hopefully you will add this to the core script
|
|
|
|
|