Bitcoin Forum
April 26, 2024, 04:04:00 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
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 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 ... 139 »
  Print  
Author Topic: Linux mining distro for the Raspberry PI - MinePeon  (Read 684872 times)
MineForeman.com (OP)
Legendary
*
Offline Offline

Activity: 896
Merit: 1000



View Profile WWW
July 20, 2013, 10:41:27 PM
 #661

i find that very annoying that minepeon reverts to the donate pools after a reboot. i just accidentally mined for two straight days in someones else pocket.

That is defiantly not normal!

It should ( and does in most cases) keep your pools no matter what you do to it, I suspect your SD card is a bit broken.

Re-flash (with a differant SD card preferably) and your problem will most likely go away.  In the mean time email me you hashrate and how long you hashed to neil@mineforeman.com and I will fix you up.

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

Posts: 1714104240

View Profile Personal Message (Offline)

Ignore
1714104240
Reply with quote  #2

1714104240
Report to moderator
The network tries to produce one block per 10 minutes. It does this by automatically adjusting how difficult it is to produce blocks.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714104240
Hero Member
*
Offline Offline

Posts: 1714104240

View Profile Personal Message (Offline)

Ignore
1714104240
Reply with quote  #2

1714104240
Report to moderator
1714104240
Hero Member
*
Offline Offline

Posts: 1714104240

View Profile Personal Message (Offline)

Ignore
1714104240
Reply with quote  #2

1714104240
Report to moderator
MineForeman.com (OP)
Legendary
*
Offline Offline

Activity: 896
Merit: 1000



View Profile WWW
July 20, 2013, 10:43:41 PM
 #662

Hi,

in the latest release (0.2.2) all is fine when not upgrading with 'pacman -Syu', all runs smooth.

if i upgrade with pacman minepeon runs for ~10 minutes and then it doesn't respond anymore.

i use 10 block erupters with my Raspberry Pi Mod. B Rev 2.0 512 MB RAM

all is fine if you don't upgrade Smiley


Do you reboot after the upgrade?  I just want to be sure that everything was sync'ed to the disk.

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/
southerngentuk
Sr. Member
****
Offline Offline

Activity: 1316
Merit: 252


Sugars.zone | DatingFi - Earn for Posting


View Profile
July 20, 2013, 11:59:05 PM
 #663

i find that very annoying that minepeon reverts to the donate pools after a reboot. i just accidentally mined for two straight days in someones else pocket.

 Are you using sudo shutdown -h now command. It should not do that after rebooting ?.

 Reboot or reflash ?.
I wondered about this, as I have been just pulling the plug which is probably responsible for the death of 2 of my SD cards (they were cheap).

 shut down/restart in the webui would be a good feature at some point, I know you have a long to do list and its me just being lazy really. Grin

SUGAR
██   ██

██   ██

██   ██

██   ██

██   ██

██   ██
▄▄████████████████████▄▄
▄████████████████████████▄
███████▀▀▀██████▀▀▀███████
█████▀██████▀▀██████▀█████
██████████████████████████
██████████████████████████
█████████████████████▄████
██████████████████████████
████████▄████████▄████████
██████████████████████████
▀████████████████████████▀
▀▀████████████████████▀▀

██   ██

██   ██

██   ██

██   ██

██   ██

██   ██
███████████████████████████
███████████████████████████
██████               ██████
██████   ▄████▀      ██████
██████▄▄▄███▀   ▄█   ██████
██████████▀   ▄███   ██████
████████▀   ▄█████▄▄▄██████
██████▀   ▄███████▀▀▀██████
██████   ▀▀▀▀▀▀▀▀▀   ██████
██████               ██████
███████████████████████████
███████████████████████████
.
Backed By
ZetaChain

██   ██

██   ██

██   ██

██   ██

██   ██

██   ██

██   ██

██   ██

██   ██

██   ██

██   ██

██   ██
▄▄████████████████████▄▄
██████████████████████████
████████████████████████████
█████████████████▀▀  ███████
█████████████▀▀      ███████
█████████▀▀   ▄▄     ███████
█████▀▀    ▄█▀▀     ████████
█████████ █▀        ████████
█████████ █ ▄███▄   ████████
██████████████████▄▄████████
██████████████████████████
▀▀████████████████████▀▀
▄▄████████████████████▄▄
██████████████████████████
██████ ▄▀██████████  ███████
███████▄▀▄▀██████  █████████
█████████▄▀▄▀██  ███████████
███████████▄▀▄ █████████████
███████████  ▄▀▄▀███████████
█████████  ████▄▀▄▀█████████
███████  ████████▄▀ ████████
████████████████████████████
██████████████████████████
▀▀████████████████████▀▀
netfun2000
Member
**
Offline Offline

Activity: 66
Merit: 10



View Profile
July 21, 2013, 01:51:00 AM
 #664

Hi,

in the latest release (0.2.2) all is fine when not upgrading with 'pacman -Syu', all runs smooth.

if i upgrade with pacman minepeon runs for ~10 minutes and then it doesn't respond anymore.

i use 10 block erupters with my Raspberry Pi Mod. B Rev 2.0 512 MB RAM

all is fine if you don't upgrade Smiley


Same to me.
i upgrade with 'pacman -Syu',the Minepeon(cgminer) works about 30 mins then not ming.
reboot after the upgrade.
netfun2000
Member
**
Offline Offline

Activity: 66
Merit: 10



View Profile
July 21, 2013, 04:59:50 AM
 #665

Add pools api for MinePeon ?

Add some pools information for MinePeon:
works name,pools speed,hash rate,valid shares,difficulty ...
MineForeman.com (OP)
Legendary
*
Offline Offline

Activity: 896
Merit: 1000



View Profile WWW
July 21, 2013, 05:54:48 AM
 #666

Add pools api for MinePeon ?

Add some pools information for MinePeon:
works name,pools speed,hash rate,valid shares,difficulty ...


Ahhh, this make me think your running an older version!

All of this is available in the later versions, and unfortunately the only way to get them is to re-flash with one of the latest (pacman -Suy only does Arch, not the minepeon subsystems).

It also possibly explains why your miner dies, there are quite a few library updates (libusb in particular) and a binary compiled against older versions could become unstable.

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/
Polyatomic
Sr. Member
****
Offline Offline

Activity: 257
Merit: 250


View Profile
July 21, 2013, 07:00:43 AM
 #667

@ Neil , How did you go with the earthquake ?.
fr00p
Newbie
*
Offline Offline

Activity: 25
Merit: 0



View Profile
July 21, 2013, 07:00:47 AM
 #668

Hi,

in the latest release (0.2.2) all is fine when not upgrading with 'pacman -Syu', all runs smooth.

if i upgrade with pacman minepeon runs for ~10 minutes and then it doesn't respond anymore.

i use 10 block erupters with my Raspberry Pi Mod. B Rev 2.0 512 MB RAM

all is fine if you don't upgrade Smiley


Do you reboot after the upgrade?  I just want to be sure that everything was sync'ed to the disk.

Neil

yep, upgraded, rebooted.
MineForeman.com (OP)
Legendary
*
Offline Offline

Activity: 896
Merit: 1000



View Profile WWW
July 21, 2013, 07:08:42 AM
 #669

@ Neil , How did you go with the earthquake ?.

Eh, barley even noticed it.

Hi,

in the latest release (0.2.2) all is fine when not upgrading with 'pacman -Syu', all runs smooth.

if i upgrade with pacman minepeon runs for ~10 minutes and then it doesn't respond anymore.

i use 10 block erupters with my Raspberry Pi Mod. B Rev 2.0 512 MB RAM

all is fine if you don't upgrade Smiley


Do you reboot after the upgrade?  I just want to be sure that everything was sync'ed to the disk.

Neil

yep, upgraded, rebooted.

Just to be sure, your doing the git pull as well as the pacman?

The live update is very much in its infancy but this is all good testing stuff that I need to know.

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

Activity: 25
Merit: 0



View Profile
July 21, 2013, 09:03:54 AM
 #670

@ Neil , How did you go with the earthquake ?.

Eh, barley even noticed it.

Hi,

in the latest release (0.2.2) all is fine when not upgrading with 'pacman -Syu', all runs smooth.

if i upgrade with pacman minepeon runs for ~10 minutes and then it doesn't respond anymore.

i use 10 block erupters with my Raspberry Pi Mod. B Rev 2.0 512 MB RAM

all is fine if you don't upgrade Smiley


Do you reboot after the upgrade?  I just want to be sure that everything was sync'ed to the disk.

Neil

yep, upgraded, rebooted.

Just to be sure, your doing the git pull as well as the pacman?

The live update is very much in its infancy but this is all good testing stuff that I need to know.

Neil

no, i didn't do the git pull on the upgraded one. i did it on the not upgraded one, no flaws.
stellan0r
Hero Member
*****
Offline Offline

Activity: 574
Merit: 500


Medical Translations for Bitcoins


View Profile
July 21, 2013, 10:16:43 AM
 #671

Hey Neil, out of curiosity, how do I switch from cgminer to bfgminer (for testing/forever)?

I'm running the out of the box 0.2.2 version of MinePeon and can access the Pi vie SSH from my Mac (I am not really familiar with unix and command lines, though..)

I would never change a running system (*cough* *cough*), but I'd still like to know where in the GUI or how in the shell I could do that.

I am also wondering why the miner.php page is only accessible via "direct input" in the browser address and not like "Status", "Pools" and so on via the GUI Smiley


And btw, thanks for the work!

Allgemeine Gesundheitsberatung gegen Bitcoin-Zahlung. Bei Fragen einfach eine PM schicken!
If you want to send a thank you: BTC "1PZJvKvarRviQRQWejpvXW2j4e1xbT8MZb"
netfun2000
Member
**
Offline Offline

Activity: 66
Merit: 10



View Profile
July 21, 2013, 11:15:03 AM
 #672

Hey Neil, out of curiosity, how do I switch from cgminer to bfgminer (for testing/forever)?

And btw, thanks for the work!

sudo systemctl stop cgminer.service (Stops cgminer)
sudo systemctl disable cgminer.service (Stops cgminer from starting at boot)
systemctl enable bfgminer.service (Makes bfgminer start at boot)
systemctl start bfgminer.service (Starts bfgminer)
stellan0r
Hero Member
*****
Offline Offline

Activity: 574
Merit: 500


Medical Translations for Bitcoins


View Profile
July 21, 2013, 02:07:59 PM
 #673

sudo systemctl stop cgminer.service (Stops cgminer)
sudo systemctl disable cgminer.service (Stops cgminer from starting at boot)
systemctl enable bfgminer.service (Makes bfgminer start at boot)
systemctl start bfgminer.service (Starts bfgminer)

Thanks! And I guess to reverse my tinkering I just put in the opposite commands, right?

Allgemeine Gesundheitsberatung gegen Bitcoin-Zahlung. Bei Fragen einfach eine PM schicken!
If you want to send a thank you: BTC "1PZJvKvarRviQRQWejpvXW2j4e1xbT8MZb"
BitMinerN8
Hero Member
*****
Offline Offline

Activity: 626
Merit: 500


Mining since May 2011.


View Profile
July 21, 2013, 05:07:41 PM
 #674

sudo systemctl stop cgminer.service (Stops cgminer)
sudo systemctl disable cgminer.service (Stops cgminer from starting at boot)
systemctl enable bfgminer.service (Makes bfgminer start at boot)
systemctl start bfgminer.service (Starts bfgminer)

Thanks! And I guess to reverse my tinkering I just put in the opposite commands, right?

Yes, and there are other useful commands and info on the wiki:
http://minepeon.com/index.php/Main_Page#Other_useful_commands
stellan0r
Hero Member
*****
Offline Offline

Activity: 574
Merit: 500


Medical Translations for Bitcoins


View Profile
July 21, 2013, 07:21:38 PM
 #675

unfortunately not that many Wink
I use screen all the time, but a list with some more shell commands with explanations for total newbies would be nice - like "sudo shutdown -h now", "sudo reboot", how to navigate in Screen (ctrl+a+...) and so on. If there really would be someone completely new to this, he or she would not even know how to power down the RPi (yeah you could simply unplug the power..), but a sudo shutdown would be better i guess, also a "sudo wicd-curses" (for WIFI config) and so on would be useful in a comprehensive list.

Allgemeine Gesundheitsberatung gegen Bitcoin-Zahlung. Bei Fragen einfach eine PM schicken!
If you want to send a thank you: BTC "1PZJvKvarRviQRQWejpvXW2j4e1xbT8MZb"
MineForeman.com (OP)
Legendary
*
Offline Offline

Activity: 896
Merit: 1000



View Profile WWW
July 22, 2013, 12:06:48 AM
 #676

and so on would be useful in a comprehensive list.

Agreed.  My issue with putting together a comprehensive list though is I know all of the commands and just instinctively put them in as I need them so I tend to overlook the really simple ones that newbies need.

Bring up your miner (use ctrl-ad to hide again):
* sudo screen -r

Show the status of your miner:
* sudo systemctl status cgminer.service

Stop your miner:
* sudo systemctl stop cgminer.service

Start your miner:
* sudo systemctl start cgmine.service

Restart your miner (after you have made a configuration change):
* sudo systemctl stop cgminer.service

Find the IP address assigned you by DHCP:
* sudo ifconfig

Get a root console:
* sudo -i

Halt MinePeon:
* sudo halt

Reboot MinePeon:
* sudo reboot

Wifi configuration:
* sudo wicd-curses

..... that is all I can think of at present, feel free to add/request more and I will update the wiki.

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/
Polyatomic
Sr. Member
****
Offline Offline

Activity: 257
Merit: 250


View Profile
July 22, 2013, 02:17:48 AM
Last edit: July 22, 2013, 08:07:14 AM by Polyatomic
 #677

sudo date --set="22 JUL 2013 16:15:00"

MineForeman.com (OP)
Legendary
*
Offline Offline

Activity: 896
Merit: 1000



View Profile WWW
July 22, 2013, 02:32:10 AM
 #678

sudo date --set="22 JUL 2013 16:15:00"

Good sujestgion, could you also try;-

sudo /usr/bin/ntpd -s

and see if it works for 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/
cardcomm
Sr. Member
****
Offline Offline

Activity: 294
Merit: 250



View Profile
July 22, 2013, 04:45:17 AM
 #679

Ok so i've got my PI and set it up no problems,, she's not mining yet cus I bought a usb3 hub and it doesn`t work with PI lol.

I was looking at adding a screen

I'm waiting for my Pi, but I was looking at getting this screen for around $30 :

http://coldtearselectronics.wikispaces.com/USB+LCD+-+LCD+System+info

Then writing a python script that pulls the hash rate, accepts, rejects, etc from the cgminer api, then write it to the screen, kind of like this setup :

http://www.gregledet.net/?p=668
... ah ... every time I've seen someone say they want to add a direct hardware device for the screen I've thought USB ... there's got to be a simple USB solution.

OK, this I have to get Smiley

... OK ebay ... paid and awaiting delivery!

I did write the whole cgminer API so ...
Expect either a script or a cgminer change soon after it arrives on my doorstep Cheesy

Edit: actually ... since it will work on ANY computer ... and I also did write the usbutils library in cgminer ... hmmmm ... I think this would be nice to have it hot-pluggable ... as a cgminer display Cheesy

Edit2: I wonder if there is a common interface how these things work (i.e. others that may exist)

Kano,

Did you get your LCD display yet? I just got mine yesterday, and already hacked up a quick script to display data from the cgminer API.

I was wondering if you completed your script yet, or have added support in cgminer? I'm sure it has more functionality than my simple attempt. lol

BTW, I got the LCD with the v1.3 firmware.  Unfortunately that version does not seem to allow absolute positioning on the display. I guess the v1.4 firmware model is the one to get, if it can be found.

As far as there being a standard interface for these type devices, I haven't seen one. It would be nice...

Easily see your cgminer status with my cgminerLCDStats app:  http://cardcomm.github.io/cgminerLCDStats/
Did my post help you or make you laugh? Let me know with Bitcoins at: 1CQfpMHQ5zVuZ5i9uxSHSSx4J8ZhehSjn3  Smiley
Malakai
Newbie
*
Offline Offline

Activity: 23
Merit: 0



View Profile WWW
July 22, 2013, 01:14:43 PM
 #680

Found this for Wireless setup would be handy on the Wiki  https://forums.butterflylabs.com/showwiki.php?title=Tutorials:Raspberry+Pi+-+Mining+with+MinePeon&viewfull=1&page=4&do=comments#post38317
 

Login: minepeon

Password: peon

You can verify your wireless card is detected:

* sudo lsusb



* sudo wicd-curses

Password: peon

Shift+P to go to Prefs

Wireless interface, write "wlan0" (Without quotation marks)

Press F10

Shift+R to refresh and see your wifi

Move the cursor to your wifi

Shift+right arrow to go to config

Activate Automatically connect to this network

Key: (write the wifi password)

Press F10

Shift+C to connect and if you obtain an IP everything is working fine.

Shift+Q to quit

Restart
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 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 ... 139 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!