Bitcoin Forum
November 19, 2017, 04:01:48 AM *
News: Latest stable version of Bitcoin Core: 0.15.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: « 1 2 3 4 [5] 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 ... 139 »
  Print  
Author Topic: Linux mining distro for the Raspberry PI - MinePeon  (Read 681060 times)
Morblias
Hero Member
*****
Offline Offline

Activity: 566


View Profile
February 19, 2013, 02:18:37 PM
 #81

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 (http://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
1511064108
Hero Member
*
Offline Offline

Posts: 1511064108

View Profile Personal Message (Offline)

Ignore
1511064108
Reply with quote  #2

1511064108
Report to moderator
1511064108
Hero Member
*
Offline Offline

Posts: 1511064108

View Profile Personal Message (Offline)

Ignore
1511064108
Reply with quote  #2

1511064108
Report to moderator
1511064108
Hero Member
*
Offline Offline

Posts: 1511064108

View Profile Personal Message (Offline)

Ignore
1511064108
Reply with quote  #2

1511064108
Report to moderator
If you want to be a moderator, report many posts with accuracy. You will be noticed.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
MineForeman.com
Legendary
*
Offline Offline

Activity: 896



View Profile WWW
February 19, 2013, 06:38:56 PM
 #82

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.

Bitcoin News http://mineforeman.com/ || MinePeon - Bitcoin mining on the Raspberry PI http://mineforeman.com/minepeon/ || MinePeon Wiki http://minepeon.com/ || MinePeon Forums http://minepeon.com/forums/
MineForeman.com
Legendary
*
Offline Offline

Activity: 896



View Profile WWW
February 21, 2013, 06:14:16 AM
 #83

Update: MinePeon-2013-02-21.img

Early 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.

Bitcoin News http://mineforeman.com/ || MinePeon - Bitcoin mining on the Raspberry PI http://mineforeman.com/minepeon/ || MinePeon Wiki http://minepeon.com/ || MinePeon Forums http://minepeon.com/forums/
HolyScott
Full Member
***
Offline Offline

Activity: 170



View Profile
February 25, 2013, 06:52:49 AM
 #84

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 Offline

Activity: 25



View Profile
March 13, 2013, 11:05:15 PM
 #85

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.jpg


I've tried to put line
setterm -blank 0 -powersave off -powerdown 0
in
/etc/rc.local

but that didn't worked...
MineForeman.com
Legendary
*
Offline Offline

Activity: 896



View Profile WWW
March 14, 2013, 12:05:34 AM
 #86

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!

Bitcoin News http://mineforeman.com/ || MinePeon - Bitcoin mining on the Raspberry PI http://mineforeman.com/minepeon/ || MinePeon Wiki http://minepeon.com/ || MinePeon Forums http://minepeon.com/forums/
maxi75
Newbie
*
Offline Offline

Activity: 25



View Profile
March 14, 2013, 01:51:18 AM
 #87

Thanks!

Works perfect Cool

MineForeman.com
Legendary
*
Offline Offline

Activity: 896



View Profile WWW
March 14, 2013, 02:06:27 AM
 #88

Thanks!

Works perfect Cool

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!

Bitcoin News http://mineforeman.com/ || MinePeon - Bitcoin mining on the Raspberry PI http://mineforeman.com/minepeon/ || MinePeon Wiki http://minepeon.com/ || MinePeon Forums http://minepeon.com/forums/
kano
Legendary
*
Offline Offline

Activity: 2268


Linux since 1997 RedHat 4


View Profile
March 14, 2013, 04:28:06 AM
 #89

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 Smiley
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 Smiley
Click for slightly bigger pics:

Pool: https://kano.is Here on Bitcointalk: Forum BTC: 1KanoPb8cKYqNrswjaA8cRDk4FAS9eDMLU
FreeNode IRC: irc.freenode.net channel #kano.is Majority developer of the ckpool code
Help keep Bitcoin secure by mining on pools with full block verification on all blocks - and NO empty blocks!
BitMinerN8
Hero Member
*****
Offline Offline

Activity: 584


Mining since May 2011.


View Profile
March 14, 2013, 09:24:19 PM
 #90

I've tested this out with a couple BFL's and it is pretty cool for a tight little Pi distro. Grin  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.  Cool

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
Legendary
*
Offline Offline

Activity: 896



View Profile WWW
March 14, 2013, 10:54:33 PM
 #91

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

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.  Tongue

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!

Bitcoin News http://mineforeman.com/ || MinePeon - Bitcoin mining on the Raspberry PI http://mineforeman.com/minepeon/ || MinePeon Wiki http://minepeon.com/ || MinePeon Forums http://minepeon.com/forums/
FreedomCoin
Hero Member
*****
Offline Offline

Activity: 591


Freedom to choose


View Profile
March 16, 2013, 09:41:18 PM
 #92

the pictures of the small black boxes, are those FPGAs?

MineForeman.com
Legendary
*
Offline Offline

Activity: 896



View Profile WWW
March 16, 2013, 10:28:47 PM
 #93

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).

Bitcoin News http://mineforeman.com/ || MinePeon - Bitcoin mining on the Raspberry PI http://mineforeman.com/minepeon/ || MinePeon Wiki http://minepeon.com/ || MinePeon Forums http://minepeon.com/forums/
FreedomCoin
Hero Member
*****
Offline Offline

Activity: 591


Freedom to choose


View Profile
March 18, 2013, 04:06:55 PM
 #94

i like the little monitor  Grin

crazyates
Legendary
*
Offline Offline

Activity: 952



View Profile
March 19, 2013, 09:55:21 PM
 #95

i like the little monitor  Grin
The great thing about the Pi is you can do all kinds of crazy STUFF.

Tips? 1crazy8pMqgwJ7tX7ZPZmyPwFbc6xZKM9
Previous Trade History - Sale Thread
maxi75
Newbie
*
Offline Offline

Activity: 25



View Profile
March 24, 2013, 10:15:51 PM
 #96

MinePeon wallpaper Cool

Preview:
http://img534.imageshack.us/img534/6030/minepeon1920x1200.jpg

Download:
1920x1200 px
http://imageshack.us/a/img9/6030/minepeon1920x1200.jpg

1920x1080 px
http://imageshack.us/a/img12/5791/minepeon1920x1080.jpg
BitMinerN8
Hero Member
*****
Offline Offline

Activity: 584


Mining since May 2011.


View Profile
March 24, 2013, 10:25:01 PM
 #97

This is cool. Thanks!
MineForeman.com
Legendary
*
Offline Offline

Activity: 896



View Profile WWW
March 25, 2013, 03:10:26 AM
 #98


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

Bitcoin News http://mineforeman.com/ || MinePeon - Bitcoin mining on the Raspberry PI http://mineforeman.com/minepeon/ || MinePeon Wiki http://minepeon.com/ || MinePeon Forums http://minepeon.com/forums/
maxi75
Newbie
*
Offline Offline

Activity: 25



View Profile
March 25, 2013, 08:32:17 PM
 #99

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
Hero Member
*****
Offline Offline

Activity: 566


View Profile
March 26, 2013, 04:08:09 PM
 #100

I was checking out my ssh logs and noticed a lot of failed authentication attempts

Code:
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
Quote
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
Pages: « 1 2 3 4 [5] 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 ... 139 »
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!