Pages:
Author

Topic: Linux mining distro for the Raspberry PI - MinePeon - page 90. (Read 685140 times)

legendary
Activity: 4592
Merit: 1851
Linux since 1997 RedHat 4
FYI I will from now on be including a RPi Arch binary with the other binaries I do most releases
(statically linked to a known working version of libusb)
https://github.com/kanoi/cgminer-binaries/tree/master/RPi_Arch
Re: https://bitcointalksearch.org/topic/m.2899519
sr. member
Activity: 359
Merit: 250
Hi,

great work - pulled new web-interface some days ago and found out a few things:

- In the new "toolbar" what is an awesome extra feature you can set up the amount of devices & hashrate - when saving it isn`t saved at all. Seems this "save"-action/button has no function.

- When I log in my on http-URL in Chrome it asks after the password. Then you are redirected to https-URL where login pop-up comes again and have to give password a 2nd time. Maybe redirect the http to https but direct without entering all 2 times.

Maybe this all is wished  Wink ...but don`think that.
hero member
Activity: 576
Merit: 500
One more thing... I recommend that the password must be asked 2 times, to validate that we didn't pushed the wrong key...  Cry

How can I reset the web password?  Huh

UPDATE: I discovered the "new" password and it's not the one I put... it blanked the password, when I tried to put a new one. Trying again...

NEW UPDATE: I can't insert a new password @ the settings page (no error but still keeps blank password) but I can insert new password @ advanced / settings page.

If you get locked out of your UI you can create a new username password by doing this in ssh:

Code:
cd /opt/minepeon/etc
sudo vim uipassword

hit 'i' to insert, go to 2nd line and add a new username/password such as test:$apr1$/Im3z9gz$acpCIVRjD2Rn5l2WwQIha0 (username=test password=test). You can generate usernames/passwords here: http://www.htaccesstools.com/htpasswd-generator/

Hit esc after you paste in your htpasswd, type :wq and hit enter to write and quit. log in with that username/password.

Edit: you probably should also delete the first line of uipassword file if it is a blank password for you
hero member
Activity: 574
Merit: 500
Medical Translations for Bitcoins
Is there an easy way to upgrade to the newer cgminer (3.3.2) on the current MinePeon build? I looked around but did not find specific instructions. Or should we just wait for a new MinePeon build? Thanks. Cool

If everything is working so far, wait like I do Wink
newbie
Activity: 27
Merit: 0
This worked for me earlier:

Code:
git checkout HEAD^ etc/miner.conf.donate
git pull


This should also do the trick. All remotely tracked files will be overwritten. Graph data will remain.
Code:
git fetch --all
git reset --hard origin/master

If you pulled MinePeon in the last 2 days, you should also pull MinePeonWebUI, check your settings and then save them. The donation code has been updated to use (only) the new settings. If the new settings have not been set, the script will end before initiating a donation.
hero member
Activity: 714
Merit: 500
Are ฿itcoins Radioactive?
One more thing... I recommend that the password must be asked 2 times, to validate that we didn't pushed the wrong key...  Cry

How can I reset the web password?  Huh

UPDATE: I discovered the "new" password and it's not the one I put... it blanked the password, when I tried to put a new one. Trying again...

NEW UPDATE: I can't insert a new password @ the settings page (no error but still keeps blank password) but I can insert new password @ advanced / settings page.
hero member
Activity: 626
Merit: 500
Mining since May 2011.
Is there an easy way to upgrade to the newer cgminer (3.3.2) on the current MinePeon build? I looked around but did not find specific instructions. Or should we just wait for a new MinePeon build? Thanks. Cool
hero member
Activity: 714
Merit: 500
Are ฿itcoins Radioactive?
Ok, with a fresh copy of MinePeon 0.2.2, I did a Arch Linux update, then tried the git pull of MinePeon and got same error. Going to try your solution, funkymunky.

Quote
%
[root@minepeon ~]# cd /opt/minepeon/
[root@minepeon minepeon]# git pull
remote: Counting objects: 117, done.
remote: Compressing objects: 100% (67/67), done.
remote: Total 103 (delta 46), reused 87 (delta 32)
Receiving objects: 100% (103/103), 486.24 KiB | 236.00 KiB/s, done.
Resolving deltas: 100% (46/46), completed with 8 local objects.
From https://github.com/MineForeman/MinePeon
   b6b94a1..565c05c  master     -> origin/master
Updating b6b94a1..565c05c
error: Your local changes to the following files would be overwritten by merge:
        etc/miner.conf.donate
Please, commit your changes or stash them before you can merge.
Aborting
[root@minepeon minepeon]#
UPDATE: it worked! Thanks, funkymunky.   Grin
Quote
[root@minepeon minepeon]# git checkout HEAD^ etc/miner.conf.donate
[root@minepeon minepeon]# git pull
Updating b6b94a1..565c05c
Fast-forward
 README.md                        |   5 ++++
 bin/bfgminer                     | Bin 393945 -> 409320 bytes
 bin/cgminer                      | Bin 417490 -> 428288 bytes
 etc/cron.d/5min/0ntp             |   2 +-
 etc/cron.d/5min/1monitor         |  58 ++++++++++++++++++++++++++++++++++++++
 etc/cron.d/5min/ALERTdeviceCount |  59 +++++++++++++++++++++++++++++++++++++++
 etc/cron.d/5min/ALERThashrate    |  45 +++++++++++++++++++++++++++++
 etc/cron.d/5min/hashrate         |   2 +-
 etc/cron.d/5min/temp             |   2 +-
 etc/cron.d/hourly/donate         |  47 ++++++++++++++++++++-----------
 etc/miner.conf.donate            |  32 ++++++++++++++++++++-
 11 files changed, 231 insertions(+), 21 deletions(-)
 create mode 100755 etc/cron.d/5min/1monitor
 create mode 100755 etc/cron.d/5min/ALERTdeviceCount
 create mode 100755 etc/cron.d/5min/ALERThashrate
[root@minepeon minepeon]#
sr. member
Activity: 283
Merit: 250
This worked for me earlier:

Code:
git checkout HEAD^ etc/miner.conf.donate
git pull

Help...

My Linux knowledge sucks...

Trying to update MinePeon, I get the following error. What do I do?

Quote
[minepeon@minepeon ~]$ sudo -i
[sudo] password for minepeon:
[root@minepeon ~]# cd /opt/minepeon/
[root@minepeon minepeon]# git pull
Updating b6df3c5..565c05c
error: Your local changes to the following files would be overwritten by merge:
        etc/miner.conf.donate
Please, commit your changes or stash them before you can merge.
Aborting
[root@minepeon minepeon]#

UPDATE: Forget. I made some more shit and destroyed the MinePeon software.

I got a new 0.2.2 image in the SD and trying again to do more shit...
hero member
Activity: 714
Merit: 500
Are ฿itcoins Radioactive?
Help...

My Linux knowledge sucks...

Trying to update MinePeon, I get the following error. What do I do?

Quote
[minepeon@minepeon ~]$ sudo -i
[sudo] password for minepeon:
[root@minepeon ~]# cd /opt/minepeon/
[root@minepeon minepeon]# git pull
Updating b6df3c5..565c05c
error: Your local changes to the following files would be overwritten by merge:
        etc/miner.conf.donate
Please, commit your changes or stash them before you can merge.
Aborting
[root@minepeon minepeon]#

UPDATE: Forget. I made some more shit and destroyed the MinePeon software.

I got a new 0.2.2 image in the SD and trying again to do more shit...
member
Activity: 107
Merit: 10
So I got everything working at the moment ... WiFi on the Pi, 10 Erupter USBs on 3 DLink Hubs ... everything works fine for some hours after which the LEDs on all Sticks are going into a constant green light, and I cannot ping or access the raspberry any more ... so kind of a freeze ...

Anyone has an idea what may be causing this? And how to prevent it?

As a workaround, I was thinking to have a script running, which is rebooting the pi every hour or two, but have to clue how to setup this in linux ... my last use of linux is like ten or more years ago

Any help would be appreciated.
sr. member
Activity: 452
Merit: 250
Well after about 2 months of running Minepeon (about 1 month running v2.1) and the disk image seems to have eaten itself. Archlinux failed to start the wicd network manager, dhcp and the journal service (and probably one or two others that im forgetting)

Noticed my miner was down on my pool and checked on it. My arduino watchdog said it had attempted 217 restarts since it went down. Wiped the SD and reloaded the same version. Seems to be working fine again

I tried to download the latest version from your site but got 404 errors.
newbie
Activity: 28
Merit: 0
I no is sounds exactly like those power issues, however the PI is the only kit with a dedicated power supply it runs fine through all the writes..
It was over an hour running before I thought hey I should give it a reboot.. then bam...put the image on a different card repeat.

I  think I wrote the image to 3 cards about twice each yesterday  Angry  I'll get to the bottom of it but I really need a second PI to screw with..

Only things I can think of is either a dodgy psu, or the usb hubs backfeeding the PI.
If its neither of those then its probably a hardware issue of some sort.
sr. member
Activity: 1316
Merit: 254
Sugars.zone | DatingFi - Earn for Posting

What your describing sounds allot like a power issue for the RasPi. Especially the problems starting after loads of writes (pacman -Syu).

I used to get loads of corrupted SD cards and weird issues when I had my PI running of the same hub as the Erupters.
After moving to a dedicated 1A power suply the Pi has been stable.


I no is sounds exactly like those power issues, however the PI is the only kit with a dedicated power supply it runs fine through all the writes..
It was over an hour running before I thought hey I should give it a reboot.. then bam...put the image on a different card repeat.

I  think I wrote the image to 3 cards about twice each yesterday  Angry  I'll get to the bottom of it but I really need a second PI to screw with..
hero member
Activity: 714
Merit: 500
Are ฿itcoins Radioactive?

Your idea is great... i "invented" a cable, but I'm connecting the 10 ports HUB to the HD molex cable and 2 or 3 of the Gizmos were in error... perhaps not enaph current... Better to connect again to the Velleman 7,5 amperes PU.
https://fbcdn-sphotos-a-a.akamaihd.net/hphotos-ak-frc3/892509_10201891454475179_629596273_o.jpg
I done almost the same as you, was just about to solder to them and then thought "That cable is way to thin for 5A"

If nothing else cut the leads down to a couple of inch's - its still a bottle neck though..
Yep. My error was re-using the cables of 2 5V/1A transformers that came with my 7 port HUB's...
newbie
Activity: 28
Merit: 0
The system update seams to break peon. It runs ok till a reboot.
On reboot it starts - then reboots in a cycle. If I unplug the usb's it is stable until I plug a usb in. This was never a problem on stock Peon with my setup.

What your describing sounds allot like a power issue for the RasPi. Especially the problems starting after loads of writes (pacman -Syu).

I used to get loads of corrupted SD cards and weird issues when I had my PI running of the same hub as the Erupters.
After moving to a dedicated 1A powersuply the Pi has been stable.

Those little LCDs are sweet! Anyone know if there's a place that sells them for BTC?

Also, any thoughts on including support for the Adafruit LCD (used in this cool guide) in MinePeon?

EDIT: PiMiner (https://github.com/adafruit/PiMiner) is what is used, just was curious if you planned to include it in the future

I have it working on my Pi with peon. Just make sure you also get the files for the LCD display from the adafruit repo. The PiMiner scripts are sourcing some of those files.

sr. member
Activity: 1316
Merit: 254
Sugars.zone | DatingFi - Earn for Posting
Guys, am having issues.....

Not all pi related.

I got a good quality SD Card today and started from scratch.

All was looking good until a reboot.
Am now convinced that the script for the lcd is good but issues start after..

sudo pacman -Syu

The system update seams to break peon. It runs ok till a reboot.
On reboot it starts - then reboots in a cycle. If I unplug the usb's it is stable until I plug a usb in. This was never a problem on stock Peon with my setup.

Am away tomorrow so will run stock until I return and will probably order a second Pi next week so i can test without disruption.

My issues have been complicated today by problems with pools going down, internet connections issues, my router playing up and firefox kept freezing on me.

So nothing is clear at the moment, everything to go wrong has and i`ll start a fresh next week..

Anyone else having issues???  Am wondering if something was changed with Syu since I last done it 4 days ago???
bzh
newbie
Activity: 34
Merit: 0
https://github.com/notro/fbtft/wiki/FBTFT-image-build-process

Can someone help me adapt these instructions to arch linux/minepeon? I'd be grateful. If a bounty is necessary I would consider one.

I tried to do it, but as it was written for Debian and I'm a linux noob, my build totally failed.
sr. member
Activity: 1316
Merit: 254
Sugars.zone | DatingFi - Earn for Posting

Your idea is great... i "invented" a cable, but I'm connecting the 10 ports HUB to the HD molex cable and 2 or 3 of the Gizmos were in error... perhaps not enaph current... Better to connect again to the Velleman 7,5 amperes PU.
https://fbcdn-sphotos-a-a.akamaihd.net/hphotos-ak-frc3/892509_10201891454475179_629596273_o.jpg
I done almost the same as you, was just about to solder to them and then thought "That cable is way to thin for 5A"

If nothing else cut the leads down to a couple of inch's - its still a bottle neck though..
sr. member
Activity: 294
Merit: 250
Those little LCDs are sweet! Anyone know if there's a place that sells them for BTC?

Also, any thoughts on including support for the Adafruit LCD (used in this cool guide) in MinePeon?

EDIT: PiMiner (https://github.com/adafruit/PiMiner) is what is used, just was curious if you planned to include it in the future

I'm pretty sure that will work fine with MinePeon. The software in the adafruit article used the cgminer as far as I recall. We got the USB LCD Python code working well with MinePeon - I can't see any reason that Python script wouldn't work also.

BTW, I have one here, but STILL haven't soldered it together :/ Doing that and testing it is probably pushed to next week's list...

Come to think of it, I'd probably sell mine for bitcoins!   Tongue
Pages:
Jump to: