Updated Image: https://www.dropbox.com/s/v2qdzkj5qx0pkl0/ScriptaV042414.img.zip
Added donation links
Watchdog fix
Graph fix coded into rc.local startup routine. This should be a permanent fix to graph issues
Scripta- LTC address set as default mining pool
Note: The Gridseed clock option is set by default at 875. This does produce slightly higher hardware errors, but in the long term the increased hashrate outperforms the subsequent HW errors, especially when mining lower dificulty coins.
4-22-14 New Image Link: https://www.dropbox.com/s/28u6vtbo3m95fnx/ScriptaGridBeta042114.img.zip
To get the graphs working login to Scripta and run the following command
sudo chown root:root /var/spool/cron/crontabs/root
Should fix any static graph issues still present. Update script still in progress, reboot and shutdown commands as well.
This is a new version of Scripta using BFGMiner 3.99 to support both the Round Gridseed and stick USB DualMiners. This particular version was built using the original code and some of Mox235's changes. I will post a complete image file shortly.
For both WebUI and root access the password is "scripta" (and user is root) For DualMiner/Gridseed make sure the following options are enabled on the miner settings page:
scan - dualminer:all or gridseed:all
set-device - dualminer:clock=850 or gridseed:clock=850
If the device does not automatically recognize your miners, you can ssh root@"scripta IP address" and use command "screen -r" to manually add devices in BFG menu.
Known Issues:
- WebUI does not load if RPi is turned on with Miner's connected (to work-around this, plug in the RPi and wait until you see yellow and green activity LEDs, then wait 5-10 seconds before plugging in Miner)
- Individual Miner Serial numbers don't show. Plan on adding support to set per-device clock speed by individual serial number.
- Reboot and shutdown commands can be finicky.
If you have found use for this version please consider a donation, as we opted out of building it into the program
BTC: 199GzQnNAs9BBxXSmRxKECNQ1GPF2ZZ55j
LTC: LVmN9MoAbn4hQSJZrzN65oiL7W4SAY9A2q
---== Scripta ==---
The turnkey solution for litecoin mining with raspberry pi and fpga/asic boards
---=== INSTALL INTRUCTIONS ===---
---=== The easy way ===---
-
Download the full image here http://www.lateralfactory.com/download.php?file=scripta-1_1.tgz
-
Burn it on a ssd in your favourite way
-
Log in as root from a console (pw is "scripta")
-
Remember to change root password with passwd
-
Enjoy
---=== The way of the turtle ===---
Start from a fresh raspbian wheezy (tested with 2014-01-07) Download here http://downloads.raspberrypi.org/raspbian_latest
$>raspi-config ( if needed "Expand Filesystem" and reboot )
$>sudo apt-get update
$>sudo apt-get install lighttpd
$>sudo apt-get install php5-common php5-cgi php5 (Pay attention to packet's order)
$>sudo lighty-enable-mod fastcgi-php
$>sudo /etc/init.d/lighttpd force-reload
---= Add pi user to www-data group =---
$>sudousermod -a -G www-data pi
$>sudo apt-get install php5-rrd libexpect-php5 php-auth-sasl php-mail php-net-smtp php-net-socket
---= Needed to enable https =---
$>sudo mkdir /etc/lighttpd/certs
$>sudo su
$>cd /etc/lighttpd/certs
$>openssl req -new -x509 -keyout lighttpd.pem -out lighttpd.pem -days 365 -nodes
$>chmod 400 lighttpd.pem
$>/etc/init.d/lighttpd force-reload
---= edit /etc/lighttpd/lighttpd.conf =---
$>pico /etc/lighttpd/lighttpd.conf
---= add the following lines at the end =---
$SERVER["socket"] == ":443" { ssl.engine = "enable" ssl.pemfile = "/etc/lighttpd/certs/lighttpd.pem" }
---= libs for cgminer =---
$>sudo apt-get install libjansson4 libusb-1.0-0 ntpdate screen
---= install scripta package =---
$>cd /
$>tar -xf scripta_1-1.tgz