Search content
Sort by

Showing 20 of 23 results by Malakai
Post
Topic
Board Mining software (miners)
Re: Linux mining distro for the Raspberry PI - MinePeon
by
Malakai
on 20/08/2013, 12:38:13 UTC
Just bought TP-link wn823n and was sad to see that minepeon dont recognise it at all... any advice?

TL-WN823N Works out of box on Raspbian using powered USB Hub

Not sure the status of it on Arch
Post
Topic
Board Mining software (miners)
Re: Linux mining distro for the Raspberry PI - MinePeon
by
Malakai
on 14/08/2013, 02:50:55 UTC
thats what i'm going off of except i did it from bottom to top so
Code:
sudo systemctl enable openntpd.service
sudo ntpd -s
date
to make sure its the right date
webpage says :Server Time: Wed, 31 Dec 1969 18:04:03 CST
and at the top it says:Graph error: the first entry to fetch should be after 1980 (-3357)
so did i do it in the wrong order?

The issue isn't that the service isn't started the problem is more likely it is starting before the Pi gets an IP. And cannot update the time since it cannot reach the server.

It's sort of my understanding that everything pretty much has a hardware clock except the Pi so everything is kind of written to take advantage of that. So it isn't really all too easy to get the time updated at boot. You could purchase a RTC module for the Pi and the problem would be solved very easily but it costs money unfortunately.

It would be better to check the status of the service no sense enabling something that is already active.

Code:
sudo systemctl status openntpd.service

The only thing you really should need to run is

Code:
sudo ntpd -s

Then open the web page

Trivia:

Code:
ssh -t minepeon@serverip sudo ntpd -s

It will ask for the password twice but will run ntpd -s

From a Windows machine something like this is possible to setup a batch file or shortcut on your Desktop with Putty's plink installed. You would need to play around with it a bit but could possibly work. I need to get home to test it out.

Code:
C:\Program Files\Putty\plink.exe -ssh -t User@server sudo ntpd -s


Download plink from here http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html

Create a batch file and paste the info into it modify where you downloaded plink I put mine in C:\ this way you run the batch file enter the pass twice and away you go. I think the possibility after it executes to open a browser on a specific site it even possible. Not sure though.


There is also some fixes available in this thread if Neil or anyone is interested:

http://www.raspberrypi.org/phpBB3/viewtopic.php?f=53&t=30570 No time sync on boot when Pi is using WiFi
Post
Topic
Board Mining software (miners)
Re: Linux mining distro for the Raspberry PI - MinePeon
by
Malakai
on 13/08/2013, 13:54:16 UTC
I'm getting this today, I've never had this before.

Code:
[minepeon@minepeon minepeon]$ git pull
fatal: unable to access 'https://github.com/MineForeman/MinePeon.git/': SSL certificate problem: certificate is not yet valid

Think you have an issue with the date on the Pi

Code:
date

Code:
sudo ntpd -s
Post
Topic
Board Mining software (miners)
Re: Linux mining distro for the Raspberry PI - MinePeon
by
Malakai
on 13/08/2013, 10:07:36 UTC
Will minepeon still remember the  donation pools even if the fields are empty . I'm donating an hour now to catch up . If not , Neil can you please give me a donation URL to enter in the GUI.

So long as the time is set it should I believe you could check

Code:
nano /opt/minepeon/etc/miner.conf.donate

That should open it read only if not add sudo/

And see what pools are listed.

It basically runs a cron hourly and if the time is noon this file kicks off

/opt/minepeon/etc/cron.d/hourly/donate

It copies your config to a temp then copies the donation config and restarts cgminer for the allotted time then copies them back and restarts it again.
Post
Topic
Board Mining software (miners)
Re: Linux mining distro for the Raspberry PI - MinePeon
by
Malakai
on 13/08/2013, 05:26:44 UTC
Well with work tying up 90% of my life  Huh

Here's my best effort

Full Guide to MinePeon

http://www.raspians.com/full-guide-to-minepeon/
Post
Topic
Board Mining software (miners)
Re: Linux mining distro for the Raspberry PI - MinePeon
by
Malakai
on 11/08/2013, 10:56:24 UTC

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.


Something like that should update you.
Post
Topic
Board Mining software (miners)
Re: Linux mining distro for the Raspberry PI - MinePeon
by
Malakai
on 08/08/2013, 01:40:15 UTC
does minepeon have raspi-config? how do i expand the root fs?

I am not sure if it re-sizes or not. If not this will do it.

Code:
sudo fdisk /dev/mmcblk0

In fdisk,

    Press ‘p’ to print the partition table, take note of the number in the Start column of the row starting ‘/dev/mmcblk0p2′
    Press ‘d’ to delete a partition then enter ’2′ to choose the second partition
    Press ‘n’ to create a new partition, all the default options are fine:

    Choose ‘primary’ partition type
    Partition number 2
    The starting block should be same number you took note of in step 1 (It should be the default number so press Enter)
    The default ending block should be the last available block on the SD card, this will vary depending on what size SD card you have (Press Enter)

4. Press ‘w’ to write the new partition table and return to the bash prompt

Reboot now to force the kernel to recognize the new partition table.

Code:
sudo reboot

Now you need to resize the file system

Code:
sudo resize2fs /dev/mmcblk0p2

Code:
df -h

Should now show something like:

Code:
[minepeon@minepeon ~]$ df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/root        15G  1.2G   13G   9% /
devtmpfs        210M     0  210M   0% /dev
tmpfs           218M     0  218M   0% /dev/shm
tmpfs           218M  264K  218M   1% /run
tmpfs           218M     0  218M   0% /sys/fs/cgroup
tmpfs           218M     0  218M   0% /tmp
/dev/mmcblk0p1   94M   24M   71M  26% /boot

Post
Topic
Board Mining software (miners)
Re: Linux mining distro for the Raspberry PI - MinePeon
by
Malakai
on 07/08/2013, 22:15:09 UTC
Post
Topic
Board Mining software (miners)
Re: Linux mining distro for the Raspberry PI - MinePeon
by
Malakai
on 07/08/2013, 08:51:04 UTC
I have seen comments with the Pi and USB 3 Hubs. A very small few have been said to work (Depends on what is plugged into them) quite a few won't.

I am not sure if the HUBS really support 1.1 or 2.0 operations that is up to the HUB manufacturer to prove. Ultimately almost no device like the Pi has a chip that supports 3.0 USB the chips are just too expensive. (It's basically a cell phone)

One test is take a powered Anker plug it into the Pi without anything in it then take a 2.0 HUB unpowered and plug it into the Anker then plug an ASIC into it. Can it mine? This is just something I would like to know Smiley But I think it would to a degree show the Anker doesn't really support 1.1 or 2.0 very well.

Note this has been known to work with Keyboards, and Mice that will not work in an Anker as well as other 3.0 Hubs. It should be that the unpowered 2.0 Hub is what is translating the devices that are not USB 3.
Post
Topic
Board Mining software (miners)
Re: Linux mining distro for the Raspberry PI - MinePeon
by
Malakai
on 07/08/2013, 08:01:00 UTC
Another bug related to graphing. This appears at the top of my status screen:

Graph error: the first entry to fetch should be after 1980 (2874) Graph error: the first entry to fetch should be after 1980 (-79926) Graph error: the first entry to fetch should be after 1980 (-598326) Graph error: the first entry to fetch should be after 1980 (-2671926) Graph error: the first entry to fetch should be after 1980 (-31529526)

The date is off I believe it is being fixed in the upcoming release no clock on the Pi makes it hard

I think

Code:
sudo /usr/bin/ntpd -s

Will work

or

Code:
sudo date -S "yyyymmdd hh:mm:ss"
Post
Topic
Board Mining software (miners)
Re: Linux mining distro for the Raspberry PI - MinePeon
by
Malakai
on 06/08/2013, 09:24:08 UTC
Short answer is start a new screen session

Code:
screen -S display

Then run it and CTRL+A D

screen -S {name of new screen}

Another way is the same that Adafruit uses with nohup and rc.local

http://learn.adafruit.com/piminer-raspberry-pi-bitcoin-miner/configure-auto-start
Hi Malakai. Thanks for your kind help.

First option worked for me.

Glad to help.

Also they just announced:

@Raspberry_Pi New post: Buy a Pi, get an 8GB NOOBS SD card for $5. http://www.raspberrypi.org/archives/4536 if anyone is tempted for another Pi
Post
Topic
Board Mining software (miners)
Re: Linux mining distro for the Raspberry PI - MinePeon
by
Malakai
on 06/08/2013, 07:44:03 UTC
Short answer is start a new screen session

Code:
screen -S display

Then run it and CTRL+A D

screen -S {name of new screen}

Another way is the same that Adafruit uses with nohup and rc.local

http://learn.adafruit.com/piminer-raspberry-pi-bitcoin-miner/configure-auto-start
Post
Topic
Board Mining software (miners)
Re: Linux mining distro for the Raspberry PI - MinePeon
by
Malakai
on 05/08/2013, 09:17:29 UTC
Not sure if this helps but

Prepare Your Pi To Send Mail Through Gmail

http://www.sbprojects.com/projects/raspberrypi/exim4.php
Post
Topic
Board Mining software (miners)
Re: Linux mining distro for the Raspberry PI - MinePeon
by
Malakai
on 01/08/2013, 01:57:43 UTC
I just ran a git pull on /opt/minepeon/ and /opt/minepeon/http/ and now nothing on the settings page appears to be saving. Which file do I edit via ssh to force these settings?


Code:
sudo nano /opt/minepeon/etc/miner.conf


Post
Topic
Board Mining software (miners)
Re: Linux mining distro for the Raspberry PI - MinePeon
by
Malakai
on 01/08/2013, 01:50:46 UTC
What happened to the calc page 404 not found? http://mineforeman.com/bitcoin-mining-calculator
Post
Topic
Board Mining software (miners)
Re: Linux mining distro for the Raspberry PI - MinePeon
by
Malakai
on 23/07/2013, 14:58:29 UTC
My opinion it's not the Pi or the BB it's the Hub. Low quality hubs provide low quality and will not be suitable for every application. The statement above the Pi hates USB the device didn't work until Minepeon? It's still the same Pi different OS?

Thank you for sharing your thought.

By the way, to answer your question : the source is :

http://coinninja.com/

Thank you

Thanks for the link looks good and eventually I will start playing with the BB. I just think the Pi gets a bad rap it has quirks and is slow but is perfect for Bitcoins. Lowered costs = better ROI @ an exchange of $65 for the BeagleBone and it still needs just as much hardware as the Pi - One other upside to the Pi vs any other platform is the force updating it keeping it current. Fixing the bugs. They posted the other day some of the issues with Raspbian USB are worked out and a push will get that code out. But ultimately for Mining Arch is the way to go. Low overhead = less power consumption not much but it helps, very fast boot time, and with MinePeon I am finding the support is unrivaled. It comes down to if it really isn't broke why fix it or reinvent it. And since it just sits there mining it doesn't have to be fancier or more powerful than the Pi.
Post
Topic
Board Mining software (miners)
Re: Linux mining distro for the Raspberry PI - MinePeon
by
Malakai
on 23/07/2013, 11:21:07 UTC
My opinion it's not the Pi or the BB it's the Hub. Low quality hubs provide low quality and will not be suitable for every application. The statement above the Pi hates USB the device didn't work until Minepeon? It's still the same Pi different OS? Also backfeeding power from a USB Hub really shouldn't happen that's why it's a powered Hub it doesn't need power from the source nor does it need to feed power back to the source. These hubs are intended to be powered or non powered the issue is you won't connect many devices to a hub that is solely powered from the source and not the Outlet.

The Pi is designed for a 1A power supply = Model B consumes upto 700mA the 2 USB Ports provide 140mA each that's 980mA of the 1A . This design accommodated for Keyboard, Mouse or Wireless low power consumption devices. So cheap devices.

You can safely back feed power to the Pi from the USB and make it the only source of power but a HUB that provides 1A back through that connection would be stealing that power from the other devices. I run an Atrix Lapdock and the Pi get's it's power solely from the Lapdock and have no issues. (It is a quality product better be they wanted $500 new luckily the price dropped to around $40 for a while)

If an ASIC needs 500mA typical 4 port Hubs come with a 5v 2A supply 500x4 = 2A that's a risky setup as you may get spikes and down goes reliability. Or just because it says 2A doesn't mean it really outputs that much it could be +/- 5%

The Pi is tricky because devices are assumed to be plug and play and 100% compatible but every device has different components, different chips, etc. I would imagine the BB has just as many quirks with devices as the Pi unfortunately it really is trial and error.

I use Raspbmc on one Pi it has a 4 port good quality D-Link hub but it can only power 2 slim external drives and a Bluetooth dongle for my Keyboard. Before it runs out of power. My laptop can output 1A most only output 500mA I can run 3 Hard Drives because the extra Amp gets the power from 5v 2A to 5v 3A but that Amp comes from the power supply on the Laptop. The solution is to get a 5v 3A power supply for the HUB and then my problem on the Pi is resolved.

The question I have on the Miners are they say 500mA but do they spike past that ever? Even for less than a second.
Post
Topic
Board Mining software (miners)
Re: Linux mining distro for the Raspberry PI - MinePeon
by
Malakai
on 23/07/2013, 07:14:30 UTC
Thanks for the reply yes it's BTC and I was thinking the same about the HUB so hopefully I am going down the correct path. Is the Error column strictly Hardware Errors then?
Post
Topic
Board Mining software (miners)
Re: Linux mining distro for the Raspberry PI - MinePeon
by
Malakai
on 23/07/2013, 06:57:24 UTC
I am helping someone out on the latest version on the status page it has these fields. I am curious what is the Error and Utility showing. When using a 10 port hub getting 731 errors on one device and 0 Under utility for all devices.

In fact all devices are showing a ton of errors from 2 to 1800 all 9 Asic USB's. Does anyone have any tips to get the Errors down and Accepted up. 3 Accepted 5400 Errors Sad
Post
Topic
Board Mining software (miners)
Re: Linux mining distro for the Raspberry PI - MinePeon
by
Malakai
on 22/07/2013, 13:14:43 UTC
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