Morblias
|
|
February 19, 2013, 02:18:37 PM Last edit: February 19, 2013, 02:39:00 PM by Morblias |
|
It seems like it is using miner.conf. I also modified cgminer.conf and it didn't stay, then changed miner.conf and it was all good. I also modified index.php to combine it with miner.php so it shows both the graphs and stats on same page ( https://i.imgur.com/nKniGUA.jpg), and removed the submit button so someone couldn't get on it and change my pool. More advanced ideas, bamter.org usb gpu miner would search your network for other instances and show all graphs from all units together, is that a possibility. In miner.php all you need to do is add your other IPs to $rigs (and make sure to do --api-listen and --api-allow RPi IP on other rigs): I am not really sure how rrdtools works, but this might be possible for the graphs also. Any idea MineForeman?
|
Tips / Donations accepted: 1Morb18DsDHNEv6TeQXBdba872ZSpiK9fY
|
|
|
MineForeman.com (OP)
Legendary
Offline
Activity: 896
Merit: 1000
|
|
February 19, 2013, 06:38:56 PM |
|
Doh!
Yeah, fixed now in the ditro. I still had the php code for saving the miner configuration file to /opt/pinepeon/etc/cgminer.conf. I had moved the file to /opt/pinepeon/etc/miner.conf and used the same file for cgminer and bfgminer.
I will get a new image out tonight (in about 8 hours) to fix the problem.
I do have plans for multi rig support Morblias, I just have not got to it yet. It was one of the things I plan to add after I get out of alpha.
|
|
|
|
MineForeman.com (OP)
Legendary
Offline
Activity: 896
Merit: 1000
|
|
February 21, 2013, 06:14:16 AM |
|
Update: MinePeon-2013-02-21.imgEarly release in order fix a problem that stopped the miner configuration being saved between boots. There are a few changes though;- No root Logon: From now on login as minepeon/peon and sudo, root has been disabled. tmux, htop, and nload: As per user request. HTTPS: Installed and configured with a self signed certificate, no security as of yet though.
|
|
|
|
HolyScott
|
|
February 25, 2013, 06:52:49 AM |
|
I don't know if its just me, but you may have lost the graphs updating on latest release. miner.php works, but no the one with the graph charts. Lost something in the switch off root user?
|
|
|
|
maxi75
Newbie
Offline
Activity: 25
Merit: 0
|
|
March 13, 2013, 11:05:15 PM Last edit: March 13, 2013, 11:36:42 PM by maxi75 |
|
I connected small 7" lcd on rpi composite port, but its blanking after 10min of innactivity, how do disable blanking? http://img842.imageshack.us/img842/9762/rpi3.jpgI've tried to put line setterm -blank 0 -powersave off -powerdown 0 in /etc/rc.local but that didn't worked...
|
|
|
|
MineForeman.com (OP)
Legendary
Offline
Activity: 896
Merit: 1000
|
|
March 14, 2013, 12:05:34 AM |
|
I connected small 7" lcd on rpi composite port, but its blanking after 10min of innactivity, how do disable blanking?
I've tried to put line setterm -blank 0 -powersave off -powerdown 0 in /etc/rc.local
but that didn't worked...
Hi maxi75, I have never plugged in a monitor to my Pi (Composite or HDMI) so I have no idea :p . I do know however it wont work from /etc/rc.local, I would imagine you should be modifying /etc/issue to modify the console 'login' message, if you try something like;- sudo echo -ne "\033[9;0]" >> /etc/issue It should turn off screen blanking for all consoles and vttys. If you want to try that I will also give it a go when I get back to my Pi. On other things, I am hard at work and nearly have the privilege separation from root all figured out. As soon as I get that done it will be time for a new release. Thanks for your help again! P.S, Love the photo, I might steal that!
|
|
|
|
maxi75
Newbie
Offline
Activity: 25
Merit: 0
|
|
March 14, 2013, 01:51:18 AM |
|
Thanks! Works perfect
|
|
|
|
MineForeman.com (OP)
Legendary
Offline
Activity: 896
Merit: 1000
|
|
March 14, 2013, 02:06:27 AM |
|
Thanks! Works perfect Excellent, I thought it will. I will include it in the next build just because your setup looks sooooo cool!! Now you have me hunting around for a 7" LCD!
|
|
|
|
kano
Legendary
Offline
Activity: 4592
Merit: 1851
Linux since 1997 RedHat 4
|
|
March 14, 2013, 04:28:06 AM |
|
I connected small 7" lcd on rpi composite port, but its blanking after 10min of innactivity, how do disable blanking?
I've tried to put line setterm -blank 0 -powersave off -powerdown 0 in /etc/rc.local
but that didn't worked...
Hi maxi75, I have never plugged in a monitor to my Pi (Composite or HDMI) so I have no idea :p . ... When mine didn't work first go (coz of the SD card I used) I plugged it into a 40" HDMI 1080p screen It comes up 1360x768 - reconnected it to HDMI a short while ago and took a couple of pics ... reason? To take a couple of pics Click for slightly bigger pics:
|
|
|
|
BitMinerN8
|
|
March 14, 2013, 09:24:19 PM |
|
I've tested this out with a couple BFL's and it is pretty cool for a tight little Pi distro. Great job. I did have a question about the Graphs. It looks like there is data already stored somewhere, as in that file didn't get emptied before the image was made or something. It's showing several weeks worth. Is there a way to reset the data? And after running for a bit, they don't seem to be updating with my data. Dropped my custom myminer.php in the /opt/minepeon/http dir and it's all dialed with my color theme. Also, had a weird thing about the title bar not showing "Settings Stats About Contact License" across the top in Chrome on Win7x64, worked fine in IE 10 and from my Ubuntu running Chromium so I'm guessing it's some scripting I disabled or something. Do you know if there will be any issues with upgrading to cgminer 2.11.2 and the new USB drivers? Thanks!
|
|
|
|
MineForeman.com (OP)
Legendary
Offline
Activity: 896
Merit: 1000
|
|
March 14, 2013, 10:54:33 PM |
|
It looks like there is data already stored somewhere, as in that file didn't get emptied before the image was made or something. It's showing several weeks worth. Is there a way to reset the data? And after running for a bit, they don't seem to be updating with my data. There are a few problems with the graphs, they were only released last build and I have a TON of fixes. I also left some data in there from my GPU mining so people would not open to empty graphs. If you want to do away with my data all you need to do is delete /opt/minepeon/http/rrd/mhsav.rrd and it 'might' make you a new data file (there are bus that I have fixed, not sure on this one in the older versions). Also, when you upgrade you should grab a copy of this file to put on your new install to keep your data (/opt/minepeon/etc/miner.conf as well). Dropped my custom myminer.php in the /opt/minepeon/http dir and it's all dialed with my color theme. Cool, Kano has done a lot of good work on miner.php and it is fully customisable, perhaps you may want to leak me a copy back of your changes. Also, had a weird thing about the title bar not showing "Settings Stats About Contact License" across the top in Chrome on Win7x64, worked fine in IE 10 and from my Ubuntu running Chromium so I'm guessing it's some scripting I disabled or something. I will point my winbox at it to see if I can spot anything. Do you know if there will be any issues with upgrading to cgminer 2.11.2 and the new USB drivers? I have it running on my testbox, no issues as far as I can tell, I have half a mind to switch to Kano's git for cgminer just so I can keep up the latest lib-usb stuff but every time I think of it ckolivas has just done a git-pull making it unnecessary. Thanks! Your welcome!
|
|
|
|
FreedomCoin
|
|
March 16, 2013, 09:41:18 PM |
|
the pictures of the small black boxes, are those FPGAs?
|
|
|
|
MineForeman.com (OP)
Legendary
Offline
Activity: 896
Merit: 1000
|
|
March 16, 2013, 10:28:47 PM |
|
the pictures of the small black boxes, are those FPGAs? Yep, mostly BFL Singles, but there are a few ZTEX and ModMiners out there that are working off MinePeon. Unfortunately no ASIC's yet but the plan is to support them on release (Kano from cgminer and LukeJr from bfgminer are both hard at work on supporting them).
|
|
|
|
FreedomCoin
|
|
March 18, 2013, 04:06:55 PM |
|
i like the little monitor
|
|
|
|
crazyates
Legendary
Offline
Activity: 952
Merit: 1000
|
|
March 19, 2013, 09:55:21 PM |
|
i like the little monitor The great thing about the Pi is you can do all kinds of crazy STUFF.
|
|
|
|
maxi75
Newbie
Offline
Activity: 25
Merit: 0
|
|
March 24, 2013, 10:15:51 PM |
|
|
|
|
|
BitMinerN8
|
|
March 24, 2013, 10:25:01 PM |
|
This is cool. Thanks!
|
|
|
|
MineForeman.com (OP)
Legendary
Offline
Activity: 896
Merit: 1000
|
|
March 25, 2013, 03:10:26 AM |
|
Wow!!! That has to be the coolest thing I have ever seen! If I had not already depleted the minpeon funds with wireless dongles and SD cards I would be sending you some coins! Is it all your own work? Can you give me a licence it me (& sources) I want to plaster it all over minepeon and make it the official logo! You have successfully guilted me into working out the last few bugs I have with the privilege separation and release the next version in a few days (been a bit under the weather after a bout of pneumonia). Thanks Neil
|
|
|
|
maxi75
Newbie
Offline
Activity: 25
Merit: 0
|
|
March 25, 2013, 08:32:17 PM Last edit: March 25, 2013, 10:35:41 PM by maxi75 |
|
Wow!!! That has to be the coolest thing I have ever seen!
Thanks! Is it all your own work? Can you give me a licence it me (& sources) I want to plaster it all over minepeon and make it the official logo!
Yup, it's mine design, use it freely... Download rar (eps, cdr & jpg) http://goo.gl/kwQH9
|
|
|
|
Morblias
|
|
March 26, 2013, 04:08:09 PM Last edit: March 26, 2013, 04:48:09 PM by Morblias |
|
I was checking out my ssh logs and noticed a lot of failed authentication attempts grep "authentication failure" /var/log/auth.log What would be the best option to just ban those IP addresses? I was checking out https://wiki.archlinux.org/index.php/DenyHosts which seems like a great option. Any opinions? Edit: Oops, just tried to install it then noticed this Note: As of July 2011, DenyHosts is no longer available in the official repositories. Useful alternatives are fail2ban and sshguard. After a bit more reading, I am trying out sshguard: https://wiki.archlinux.org/index.php/Sshguard
|
Tips / Donations accepted: 1Morb18DsDHNEv6TeQXBdba872ZSpiK9fY
|
|
|
|