Bitcoin Forum
October 15, 2018, 09:38:14 AM *
News: Make sure you are not using versions of Bitcoin Core other than 0.17.0 [Torrent], 0.16.3, 0.15.2, or 0.14.3. More info.
 
   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 56 57 58 59 ... 139 »
  Print  
Author Topic: Linux mining distro for the Raspberry PI - MinePeon  (Read 683588 times)
Morblias
Hero Member
*****
Offline Offline

Activity: 571
Merit: 500


View Profile
April 24, 2013, 02:20:26 AM
 #161

check /var/log/ see if there are lots of log files you can delete (few people need to look at them)

Edit: ls -orS /var/log/
The largest files will be at the bottom - if they end with a number - delete them.

Edit2: du -sch /var/cache/apt/*
Also another place to look for stuff that can be deleted (with the appropriate command)

Awesome! That worked. Apparently my auth logs were huge. Also I have a btmp.1 log file that is extremely huge. Any idea, is that from ssh guard keeping track of failed login attempts?

Tips / Donations accepted: 1Morb18DsDHNEv6TeQXBdba872ZSpiK9fY
1539596294
Hero Member
*
Offline Offline

Posts: 1539596294

View Profile Personal Message (Offline)

Ignore
1539596294
Reply with quote  #2

1539596294
Report to moderator
1539596294
Hero Member
*
Offline Offline

Posts: 1539596294

View Profile Personal Message (Offline)

Ignore
1539596294
Reply with quote  #2

1539596294
Report to moderator
1539596294
Hero Member
*
Offline Offline

Posts: 1539596294

View Profile Personal Message (Offline)

Ignore
1539596294
Reply with quote  #2

1539596294
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1539596294
Hero Member
*
Offline Offline

Posts: 1539596294

View Profile Personal Message (Offline)

Ignore
1539596294
Reply with quote  #2

1539596294
Report to moderator
kano
Legendary
*
Offline Offline

Activity: 2604
Merit: 1054


Linux since 1997 RedHat 4


View Profile
April 24, 2013, 02:35:45 AM
 #162

check /var/log/ see if there are lots of log files you can delete (few people need to look at them)

Edit: ls -orS /var/log/
The largest files will be at the bottom - if they end with a number - delete them.

Edit2: du -sch /var/cache/apt/*
Also another place to look for stuff that can be deleted (with the appropriate command)

Awesome! that worked. apparently my auth logs were huge. Also I have a btmp.1 log file that is extremely huge. Any idea, is that from ssh guard keeping track of failed login attempts?
I just googled it coz I've no specific idea what normally goes in btmp (and I think it varies from one linux to the next)
I did a failed login and it didn't effect it.
Not sure - hopefully someone else will know.
If you are still short on space, just delete btmp.1, if not, wait until someone else posts details of what's in there
(my btmp is 0 bytes so I can't tell looking in btmp)

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!
MineForeman.com
Legendary
*
Offline Offline

Activity: 896
Merit: 1000



View Profile WWW
April 24, 2013, 04:18:55 AM
 #163

Hmmmm, it is probably your ssh guard that is building up lor log files.  I will get logrotate to keep a better eye on it (and btmp) so we can avoid problems.

Your logs must have really been HUGE by the way   Grin .

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/
dodegkr
Newbie
*
Offline Offline

Activity: 55
Merit: 0


View Profile
April 27, 2013, 03:37:46 PM
 #164

Just installed to an unused 256Mb pi and its sitting there cpu mining whilst I await delivery of some Enterpoint FPGA's

I stuck a script in cron to shut it down if the cpu goes over 60c
currently it is quite happy mining away (if you can call it that at 100Kh/s)  Cheesy

running /opt/vc/bin/vcgencmd measure_temp reports the temp=37.9'C

I also installed ufw to give it some sensible iptabling and its great.

btw your graph labels say seccond as opposed to second so I updated the html.
Also as your not likely to cpu mine on it for long people wont care but the graph scale is Mh with a cpu only it implies 100Mh  Wink

Im sure with something plugged in that will be a forgotten memory.

Do you plan on adding a script to pull updates to your work.
I used pacman to update the OS in general

Thanks for your work on this, its brilliant stuff

dod

MineForeman.com
Legendary
*
Offline Offline

Activity: 896
Merit: 1000



View Profile WWW
April 28, 2013, 02:47:11 AM
 #165

btw your graph labels say seccond as opposed to second so I updated the html.

Gahh, did I ever tell you I am horrably dyslexic?  Thanks for spotting it, fixed in git now (https://github.com/MineForeman/MinePeonWebUI/)

Do you plan on adding a script to pull updates to your work.

Want to try something totally unsupported or tested?  Assuming your useing the latest version as root change into "/opt/minepeon/" and "git pull".  All going well you should get the latest cgminer & bfgminer binaries that support ASIC's (Avalon and BFL).  It is the start of the update system.

Thanks for the testing and feedback, it helps.

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/
dodegkr
Newbie
*
Offline Offline

Activity: 55
Merit: 0


View Profile
April 28, 2013, 11:58:51 AM
 #166

[root@minepeon minepeon]# git pull
The authenticity of host 'github.com (204.232.175.90)' can't be established.
RSA key fingerprint is 16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'github.com,204.232.175.90' (RSA) to the list of known hosts.
no such identity: /root/.ssh/id_rsa: No such file or directory
no such identity: /root/.ssh/id_dsa: No such file or directory
no such identity: /root/.ssh/id_ecdsa: No such file or directory
Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
[root@minepeon minepeon]#
dodegkr
Newbie
*
Offline Offline

Activity: 55
Merit: 0


View Profile
April 28, 2013, 03:53:37 PM
 #167

http://minepeon.com/index.php/Main_Page

looks odd like someones meddled with it, some random html links

dod
MineForeman.com
Legendary
*
Offline Offline

Activity: 896
Merit: 1000



View Profile WWW
April 28, 2013, 09:45:10 PM
 #168

[root@minepeon minepeon]# git pull
The authenticity of host 'github.com (204.232.175.90)' can't be established.
RSA key fingerprint is 16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'github.com,204.232.175.90' (RSA) to the list of known hosts.
no such identity: /root/.ssh/id_rsa: No such file or directory
no such identity: /root/.ssh/id_dsa: No such file or directory
no such identity: /root/.ssh/id_ecdsa: No such file or directory
Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
[root@minepeon minepeon]#

My bad, I said it was untested Wink but the plan is to update directly from git.

Also, thanks for fixing the wiki (I assume it was you)

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/
dodegkr
Newbie
*
Offline Offline

Activity: 55
Merit: 0


View Profile
April 28, 2013, 09:47:23 PM
 #169

Not me, although if I spot another, will do Smiley
Morblias
Hero Member
*****
Offline Offline

Activity: 571
Merit: 500


View Profile
April 30, 2013, 01:09:52 AM
 #170

I finally broke my last build trying to learn linux so I upgraded to 4-10 Cheesy The webUI is working great and I have it mining (awesome job with the multiple pools and webUI login!).

The 1 problem I am having is I cannot get screen -r to work anymore

Code:
[minepeon@minepeon etc]$ systemctl status cgminer.service
cgminer.service - cgminer
          Loaded: loaded (/usr/lib/systemd/system/cgminer.service; enabled)
          Active: active (running) since Tue 2013-04-30 01:54:53 BST; 11min ago
         Process: 164 ExecStart=/usr/bin/screen -dmS cgminer /opt/minepeon/bin/cgminer -S auto --api-listen --api-allow W:172.0.0.1 --sharelog /opt/minepeon/log/share.log -c /opt/minepeon/etc/miner.conf (code=exited, status=0/SUCCESS)
        Main PID: 166 (screen)
          CGroup: name=systemd:/system/cgminer.service
                  ââ166 /usr/bin/SCREEN -dmS cgminer /opt/minepeon/bin/cgmine...
                  ââ168 /opt/minepeon/bin/cgminer -S auto --api-listen --api-...

[minepeon@minepeon etc]$ screen -r
There is no screen to be resumed.

Tips / Donations accepted: 1Morb18DsDHNEv6TeQXBdba872ZSpiK9fY
MineForeman.com
Legendary
*
Offline Offline

Activity: 896
Merit: 1000



View Profile WWW
April 30, 2013, 01:14:19 AM
 #171

sudo screen -r

The mining process need to talk directly to hardware (reliably), best way to do that is to use UID 0 (root).

Nwil

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

Activity: 571
Merit: 500


View Profile
April 30, 2013, 01:15:04 AM
 #172

sudo screen -r

The mining process need to talk directly to hardware (reliably), best way to do that is to use UID 0 (root).

Nwil

Ahhh! I will have to get used to using sudo instead of running everything right from root Cheesy Thanks!

Tips / Donations accepted: 1Morb18DsDHNEv6TeQXBdba872ZSpiK9fY
MineForeman.com
Legendary
*
Offline Offline

Activity: 896
Merit: 1000



View Profile WWW
April 30, 2013, 01:18:38 AM
 #173

You can always do;-

sudo -i

and that will give you a root shell Wink .  The privilege separation that I have done is to make sure that if a process is compromised they don't gain access to other processes.  It can be a pain in the ass when your ssh'ed in though so I mostly work as root (I have had yeas of experience at doing it though, don't blame me if you "rm -rf /"  Grin ).

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

Activity: 571
Merit: 500


View Profile
April 30, 2013, 01:21:08 AM
 #174

You can always do;-

sudo -i

and that will give you a root shell Wink .  The privilege separation that I have done is to make sure that if a process is compromised they don't gain access to other processes.  It can be a pain in the ass when your ssh'ed in though so I mostly work as root (I have had yeas of experience at doing it though, don't blame me if you "rm -rf /"  Grin ).

At least with the RPi it is painless when you break things. I have 2 8gb SD cards so when I first broke my last one I just swapped it and was back up and running with the latest minepeon within 1 minute! haha, how many more things can I break now...

Tips / Donations accepted: 1Morb18DsDHNEv6TeQXBdba872ZSpiK9fY
kano
Legendary
*
Offline Offline

Activity: 2604
Merit: 1054


Linux since 1997 RedHat 4


View Profile
April 30, 2013, 01:38:56 AM
 #175

sudo screen -r

The mining process need to talk directly to hardware (reliably), best way to do that is to use UID 0 (root).

Nwil
Or ... read the FPGA-README ... and set it up properly Tongue

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!
MineForeman.com
Legendary
*
Offline Offline

Activity: 896
Merit: 1000



View Profile WWW
April 30, 2013, 01:49:20 AM
 #176

Yeah yeah (how did I know you would bring that up  Grin ).

I am kind of waiting to see how the ASIC's go before doing that.  I want to make sure I squeeze every iota of juice out of them.

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

Activity: 2604
Merit: 1054


Linux since 1997 RedHat 4


View Profile
April 30, 2013, 01:57:38 AM
 #177

Yeah yeah (how did I know you would bring that up  Grin ).

I am kind of waiting to see how the ASIC's go before doing that.  I want to make sure I squeeze every iota of juice out of them.

Neil
Well on the standard rpi distro, cgminer (the only one worth using - none of this crap HW error problems like the other trash) I get 3% CPU for a Jala
https://bitcointalk.org/index.php?topic=138921.msg1952795#msg1952795
so should be the same.
I've only got one working 8GB SD (and the original 2GB that I'm not going to wipe)
I guess I'll get another soon and try out this for a ... day ... I dislike a distro that treats people like idiots ... I use root - always have and always will.

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!
dodegkr
Newbie
*
Offline Offline

Activity: 55
Merit: 0


View Profile
May 02, 2013, 01:10:09 PM
 #178

My pi decided to bork so I started from scratch.
git pull isnt working yet :-)



MineForeman.com
Legendary
*
Offline Offline

Activity: 896
Merit: 1000



View Profile WWW
May 03, 2013, 04:12:55 AM
 #179

Hi All,

I have had to remove all access to the wiki while I delete all of the spam.  In the mean time I have setup a forum at http://minepeon.com/smf/ .  Logon and request wiki access if you need it.

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/
MineForeman.com
Legendary
*
Offline Offline

Activity: 896
Merit: 1000



View Profile WWW
May 03, 2013, 04:50:18 AM
 #180

By the way, people have been asking me for x86 support for minpeon (think GPU and litecoin mining).

If you want it post in this thread;-

https://bitcointalk.org/index.php?topic=194025.0

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/
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 56 57 58 59 ... 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!