Pages:
Author

Topic: AlcheMiner/MAT New Firmware and BFGMiner port! - page 2. (Read 5311 times)

legendary
Activity: 1274
Merit: 1000
https://www.gnu.org/software/screen/

install screen or use screen it should be installed, you installed as part the BFG compile Smiley .

https://www.digitalocean.com/community/tutorials/how-to-install-and-use-screen-on-an-ubuntu-cloud-server

 screen works with any Linux OS.

if not this is how short version :

Code:
sudo apt-get -y install screen
use it like this :

 
Code:
screen bash

then whatever path you use for bfg  
Code:
Cd /path you know for bfg and commands
 
then close it out by hitting
Code:
x or exit


then being ssh backup and type

Code:
screen -list
screen -r

to test it .

 if it worked right bfg should still be running and  you can close the SSH screen  until you reboot or turn off the PC/PI .

if you set a startup script from one of  the links above it should startup after reboot or shut down .

sorry i did misunderstand .

Smiley .

if you water cool let me know how that went id very interested in doing that. I just need five heat sink that fit the boards i have the rest pump rad etc . unless Innosilicon put outs A model that can do 1 GH these thing are still worth using and would be hard to find for sell till then the only set back now is power usage but if you have cheap power it won't mater or lots of speeds, it will pay for it self .
 
whats makes the A4 so good is it's power usages not the speed  the AlcheMiner/MAT and the titans can keep up with no problem,  i read some place with the right cooling on these beast with all 8 boards they can be overclocked to hit close to 300 MH  at a cost in power not much but some . the key there is keeping them cool enough to handle it .  with the flash from Jat  it would work . other wise the A4 is king . if the company hadn't gone bankrupt they were going to make a AlcheMiner 2 or some other name i forget that beat the A4 in speed and power usage and cost less to buy but i guess they didn't get the funding they had hoped for and went bankrupt. not Mat .  

Thanks top .
sr. member
Activity: 279
Merit: 250
My MAT works with bfgminer and SSH... And that is the Problem, because i need everytime other PC with SSH connection and stay on. If you close SSH, than this will terminate bfgminer. Because this i want configure bfgminer as startup app, or better as deamon. Thanks for the first url! I will try this and exactly what i searched.
legendary
Activity: 1274
Merit: 1000
try this for BFG start up in command line is that what your really looking for

http://blog.verticodelabs.com/raspberry-pi-bfgminer-service/

i could never get that to work right, may be you can.

or some thing like this edit how you want .


Code:
bfgminer --scrypt -o stratum+tcp://{{your_stratum_address}} -u {{your_username}} -p {{your_password}} -S ALC:all --set ALC:clock=320 --set ALC:mode=1
that's from here i changed the device setting at the end i think you have to use the same device setting for Mat  miners,  if you flashed the boards.

https://www.rastating.com/mining-dogecoin-with-a-zeusminer-blizzard-and-a-raspberry-pi/  

I used to use that a lot with Zeus miners it should work the same for any thing BFG controls .

bottom of the page remember all PI's work the same. or seem to from what I've done .

not sure how well that works with Ubuntu 16 it's different, I'm still trying to figure out why BFG won't  auto start with minera with Ubuntu 16 but will with 15 or lower .other wise  i have no issue with minera 7.0 or the beta Ive been testing.

the start up conf files for miinera are in the etc folder  /etc/rc.local  and /etc/lighttpd/ and minera it self is here /var/www/minera use this on a windows box if you have one https://winscp.net/eng/index.php?#utm_source=winscp&utm_medium=app&utm_campaign=5.9.2 with SSH  it awesome  not sure if this is what you want .
sr. member
Activity: 279
Merit: 250
Hi toptek, thank you for reply,

i have the feeling, that we have a little missunderstanding. My controller works very fine, is very stable without any issues or crashes and i love the stock-controller and want be together until death parts us. The 5 Bucks are not the problem, i invest over 50bucks for small changes and want invest more for new custom heatsinks (maybe watercooled) and small heatsinks on other side for every chip.

It cant be so difficult to write in the startup file the bfg comand or write  an bash-file, what have to execute after start... But i cant find this configfile.

And i have wrote jstefanop und want to pay him, but he dont answer.

Once i dont want pay for minera, if they dont work fine. They dont want that i cant feel/use the full minera experience, than i havent feelings to pay.
legendary
Activity: 1274
Merit: 1000
I Installed minera now again and get the same issue, that minera dont want save any changes and the saving popup dont going away. And all files are in the right destination... why i have replace anything? Otherwise on the startpage i have JSON errors.

So, i got one Minera to running on the MAT, what are cleaned from Python Miner.
But i have Problems with the MAT, which dont cleaned by me. The *** python miner grabing the hashboard before minera can do this and because minera, i cant go to the python miner to terminate this... Another problem with minera is, that an reboot is like lotto, you dont know what will be happened with minera, once its dead and needed to be reinstall, once all savings are deleted, once it changed to cpuminer, once my pools are changed to the donation pools...

And by the MAT, which is with running minera, i miss 60mh/s...  

Commandline bfgminer is still the best Cheesy

actually it's the same with mniera or not the problem if you not willing to give it shot it with any PI type controller make you own your USB->UART dongles and run it with  a good  usb 2 or 3 hub self powered  to a PI of your choice after you follow this guide

 https://bitcointalksearch.org/topic/alchemist-updated-support-added-for-rpi-with-a-broke-controler-1468120

I list every thing you need , i don't make  videos, i hate making video and never will . i can add more pictures, i guess if needed . to lazy, I guess why i didn't.

in  minera don't use CPU miner or if you manually install it edit one of the files and set BFG as default on install . i know there is adds just pay 5 bucks to remove them forever, it is very stable if you  use Ubuntu 16 and  manually install minera but you have to use 7.0 php and change some lines in the install_minera.sh so it installs right with Ubuntu 16 and i also added this miner to the miners_conf.json with presets as part of a manual install.

if you want a copy of those files I'll give them a way freely .I even had minera eth mining as the controller on a  rig with three RX 470 sort of, to see if i could but sense i don't like using Ubuntu as my main OS and don't mind using it on PI's . i put my PC back to windows .


did you PM  JSTEFANOP  in a nice way and offer to pay for his time, that might work .


Thank you, i try it today.

Can you please answer what means "128" ? :-)

I have no idea never had to worry about it or came across it, if i had id be more then willing to share what it means and how to fix it. i do know it has some thing to do with Java script i looked it up once but didn't fine much  other then it's a java function of some kind . I may even be wrong about that .
sr. member
Activity: 279
Merit: 250
JSTEFANOP

Please come back. I, and many more, need your help for install.sh problem on the stock controller  Sad
sr. member
Activity: 279
Merit: 250
I Installed minera now again and get the same issue, that minera dont want save any changes and the saving popup dont going away. And all files are in the right destination... why i have replace anything? Otherwise on the startpage i have JSON errors.

So, i got one Minera to running on the MAT, what are cleaned from Python Miner.
But i have Problems with the MAT, which dont cleaned by me. The *** python miner grabing the hashboard before minera can do this and because minera, i cant go to the python miner to terminate this... Another problem with minera is, that an reboot is like lotto, you dont know what will be happened with minera, once its dead and needed to be reinstall, once all savings are deleted, once it changed to cpuminer, once my pools are changed to the donation pools...

And by the MAT, which is with running minera, i miss 60mh/s...  

Commandline bfgminer is still the best Cheesy
sr. member
Activity: 279
Merit: 250
Thank you, i try it today.

Can you please answer what means "128" ? :-)
legendary
Activity: 1274
Merit: 1000
here is about that start.sh issue im looking for the post were  some one loaded minera on one of those controller and  explained kind of  how to replace it  ,


for the start.sh issue  

https://archive.litecointalk.org/index.php?topic=27370.msg286291#msg286291


Make sure your running exactly

sudo ./start.sh   ...it needs the sudo

also type ldd bfgminer in bdfminer dirrectory

I think your missing one of the libraries. Its a hidden file inside the libbkmaker folder so make sure you do a recursive copy of the folder I gave you otherwise all the needed files wont copy over.

If your still haveing issues just PM me your box info and I can SSH into and check it out for you.  

 or


@marvel logged into your box via your VPN and the issue was you somehow changed permission on the files...thats why it was not working. I copied over a fresh install and its up and running now! Just log into the screen session and quit the running instance and edit start.sh with your pool info and just start it back up with sudo ./start.sh.
this might help with the print thing  


https://bitcointalksearch.org/topic/m.12984898


Now the one tricky part, you need to replace JSON_PRETTY_PRINT with 128, you can search to find the files using this string:

Code:

Code:
grep -r --include \*.php "JSON_PRETTY_PRINT" .


As of right now, that's these files (ignore matches in the logs directory):

application/models/util_model.php
application/controllers/app.php
application/views/settings.php

other wise sorry don't know have yet to have to, only remember reading about it .

Or ask

MarkAz Smiley .

once you know what file to copy use the cp command something this like this i guess

cp the file  /application/models/util_model.php
cp the file  /application/controllers/app.php
cp the file  /application/views/settings.php

I'm guessing at this point .

sr. member
Activity: 279
Merit: 250
Yes, i use the MAT Controller until i get my ROI, than i invest time and money in Raspi-Solving. Actually iam trying/playing with LM317 IC with Temp-Sensor to controll fanspeed...



This question i have too :-)
Can you please answer
Code:
How replace JSON_PRETTY_PRINT with 128? Thanks

legendary
Activity: 1274
Merit: 1000
I tiried all those ports at first and now end up  using it at

Code:
d=8192
my boards work well or seem to like that setting best, no board is doing 12 MN while the rest do 32 MH if I use that differently setting as part of my set up . I tested it a lot  and it all most worthless to over clock them with the new firmware beyond
Code:
-set ALC:clock=320
tried a few times at max 352 it worked for while then shut down and i had lots of  cool air blowing on the boards,  it gets  some really strange high HW errors then say some thing about floating point limit reached in BFG then stops mining till it's shuts off or reset with the clocks at 320, so i leave it there and have no issue at all . and the firmware acttly works another way or has so far for me if i have the fans off it will shut down if it gets to hot after 12 mins and has so far every time @ 12 mins,  i tested it . so with the update it seems it can't over heat and burn out the boards Jat did some nice work fixing the manufacturer mistakes .


Quote
And i have problem with install.sh and autostart,sh ..
.

are you using the MAT controller if so that why . let me find that post how to fix it .
you have to change stuff  on that controller if  you replaced it with the new BFG or other GUI after you flashed the boards according to what Jat said on the old lite coin forums all that controller is a watered version of a raspberry PI  once you over write the old software you have to change some paths and other stuff on that controller ,I'm using my own controller with custom plugs to a USB 3.0 self powered Hub plugged into a Cubieboard PI running either minera or just BFG with Ubuntu 16.04.1 .

hey can you post Screens shots of that fan set up, i might try it to cut down even more on noise and run them cooler .


here's my post about how to use it with a custom PI or your own controller .

https://bitcointalksearch.org/topic/alchemist-updated-support-added-for-rpi-with-a-broke-controler-1468120



sr. member
Activity: 279
Merit: 250
i use minera every day with no lag btw jat i sent him a copy of the firmware free if he had paid me any thing i would given it to you i told him not to , i hope that was ok.
Thanks again :-)
I want to pay jstefanop for his awesome work, but he dont answer to my messages  Undecided
And i have problem with install.sh and autostart,sh ... The files dont exist. So i cant leave the MAT alone and have to stay on SSH connection and everytime open terminal.
Cant leave it without terminate bfg,

Quote
and setting the difficulty to 8192 all the time ( i found anything lower or higher it doesn't like ) and hashes bad .
I make the experience, than every pool works with another workdiff better. litecoinpool.org 32k , clevermining 16k (on KNC Port 3444) and with low poolhashrate works the miner on 65k workdiff better.
With 8k i dont get the full hashrate and get 2% rejected. With >16k i going under <1% rejected.

Quote
and power cables from each board to the PSU, i had to many issue with the patch cables it had

Very important information! I make it too, also i inverse the air direction and without the patchcable i can placed the fans straight on the heatsink. For reducing noise level every fan got an NTC Resistor.
newbie
Activity: 16
Merit: 0
How replace JSON_PRETTY_PRINT with 128? Thanks
legendary
Activity: 1274
Merit: 1000
i use minera every day with no lag btw jat i sent him a copy of the firmware free if he had paid me any thing i would given it to you i told him not to , i hope that was ok.


I'm using the new beta version  of Minera with the old version of minera as the software controller  right now with no issue sense the beta only supports network miners with API access not just CGMINER Smiley but will  do it all soon im told  .  with two script miners and bfg one is a AlcheMiner/MAT miner.  I'm even trying to get eth mining working with minera and windows that a lot of joy just getting the new minera to install on a windows box but poss if it's win 10 .



 i would post some SS of it in the new minera but not sure if the DEV wants me to yet, i asked .

with these settings

Code:
--scrypt -S ALC:all --set ALC:clock=320 --set ALC:mode=1 


and setting the difficulty to 8192 all the time ( i found anything lower or higher it doesn't like ) and hashes bad .

that's with all five boards flashed on a usb 3.0 hub with custom made cables and power cables from each board to the PSU, i had to many issue with the patch cables it had , it works great on any pool i use with minera.

sr. member
Activity: 279
Merit: 250
Jstefanop, did you know about PWM Fancontrol with the Stockcontroler? Or try anything in this way? The Fans needed only 2 extra cables.  
An flat Temperaturesensor can easy put on... But can bfgminer driver read this signal?
legendary
Activity: 2174
Merit: 1401
Hey sorry have been pretty busy lately....just pm me on here and ill get up to date to all the PMs I got. Bfgminer port is open source and is included in luke's official repo so its just a matter of downloading it. Like others said you do need to flash the boards with new firmware, and ill PM you the flash file you need for that. The instructions for it are detailed in the litecointalk thread.
sr. member
Activity: 279
Merit: 250
Hello, after "grep -r --include \*.php "JSON_PRETTY_PRINT" ."  Minera goes dead.

I got this to run... and i think minera is trash for slowly processors. Very laggy, needs over 10min to save.
Commandline use is the best miningsoftware.
copper member
Activity: 2898
Merit: 1465
Clueless!
i followed the instruction on the ltc-talk and all works fine, but the file "Alche_FPGA_v2_flasher.svf" is missed. Kann anyone please sent or upload? I tryied few times to connect to jstefanop, but he dont want me rewrite.

You need to buy it from him - he's the one who wrote the mod, etc.  I can't remember how much exactly it was, but he was responsive when I bought it a while back and it makes the machine run infinitely better, well worth the money.

yeah no joy....i know he is on litecointalk.io but he is not responding there ...got a buddy who also needs it bad..last step in the upgrade he is caught up on thread
with all the rest anyway for what it is worth you can try there ....if you find out anything let me know we planned to tip him anyway.....but buying works..
www.litecointalk.io
hero member
Activity: 687
Merit: 511
i followed the instruction on the ltc-talk and all works fine, but the file "Alche_FPGA_v2_flasher.svf" is missed. Kann anyone please sent or upload? I tryied few times to connect to jstefanop, but he dont want me rewrite.

You need to buy it from him - he's the one who wrote the mod, etc.  I can't remember how much exactly it was, but he was responsive when I bought it a while back and it makes the machine run infinitely better, well worth the money.
sr. member
Activity: 279
Merit: 250
Hello,

i followed the instruction on the ltc-talk and all works fine, but the file "Alche_FPGA_v2_flasher.svf" is missed. Kann anyone please sent or upload? I tryied few times to connect to jstefanop, but he dont want me rewrite.

Thank you!
Pages:
Jump to: