BitShares Forum
Other => Graveyard => BitShares PTS => Topic started by: 33pwnz on January 13, 2014, 06:58:49 pm
-
Hello,
I've used the Mining Guide in http://protoshares.com/mining.html and I was constantly getting an error in a specific step:
screen –S ptc
I would get the error message:
Cannot exec '�S': No such file or directory
After a lot of tries and searching, I've discovered that it was very simple: the character before the S was not a simple dash (-).
The same with the commands
screen –d
screen –r
The difference is "–" vs "-", the first one being the wrong one and the one in the guide.
I'm not sure if this is just me, because of character encoding settings or something, but if possible I'd suggest replacing it in the guide.
The simple dash is used previously in the guide (make -f makefile.unix && cd ~) correctly. It is only different with the screen commands.
Anyway, here is my experience, hope it is useful for newcomers.
Best regards
-
Thanks for pointing that out. Can you make an issue on the repo?
https://github.com/super3/protoshares.net/issues?state=open
Or if you would like to put in a pull request to fix it directly, I will accept it right away.
-
have you installed screen on your linux?
-
Thanks for pointing that out. Can you make an issue on the repo?
https://github.com/super3/protoshares.net/issues?state=open
Or if you would like to put in a pull request to fix it directly, I will accept it right away.
Just registered in GitHub and first time using it but I think I did it right (the pull request) :D
I had heard many times about it before but never actually got to try it, cool tool :)
-
Thanks for pointing that out. Can you make an issue on the repo?
https://github.com/super3/protoshares.net/issues?state=open
Or if you would like to put in a pull request to fix it directly, I will accept it right away.
Just registered in GitHub and first time using it but I think I did it right (the pull request) :D
I had heard many times about it before but never actually got to try it, cool tool :)
Accepted. Should auto update in a few. Congrats you are one of the protoshares.com authors!
-
I think ypool.net is better and faster than ptsweb.beeeeer.org
Try this method for mining:
1. Create account in http://ypool.net (http://ypool.net)
2. Create worker here http://ypool.net/pts/workers (http://ypool.net/pts/workers) or use default USERNAME.PTS_1 with password x
3. Create droplet with Ubuntu 13.10 x64
4. Run these commands:
sudo apt-get install screen vim
wget https://www.dropbox.com/sh/jvp4wwek8jpohj7/aK1qrBEQ8R/yam-yvg1900-M7j-linux64-core2.tgz
tar xvzf yam-yvg1900-M7j-linux64-core2.tgz
cd yam-yvg1900-M7j-linux64-core2/linux64-core2
vi pts.cfg
Paste this code but change threads = 1 to your cpu core, USERNAME to ypool.net username, PTS_1 ot your worker, x to your worker password, 512 to ram memory per core (128, 256, 512, 1024):
threads = 1
mining-params = pts:av=0&m=512
mine = xpt2h://USERNAME.PTS_1:x@mining.ypool.net:10034:8080:8081:8082:8083:8084:8085:8086:8087/pts
compact-stats = 1
print-timestamps = 0
then press ESC button and write ":wq" (without the quotes) to save and close the .cfg file
screen -S pts ./yam -c pts.cfg
then press Ctrl + A + D
This will close the screen, but it will not stop the miner.
If you want to see the miner use command:
screen -r pts
You can check your connected miners here http://ypool.net/pts/workers_live (http://ypool.net/pts/workers_live)
-
I think ypool.net is better and faster than ptsweb.beeeeer.org
Try this method for mining:
1. Create account in http://ypool.net (http://ypool.net)
2. Create worker here http://ypool.net/pts/workers (http://ypool.net/pts/workers) or use default USERNAME.PTS_1 with password x
3. Create droplet with Ubuntu 13.10 x64
4. Run these commands:
sudo apt-get install screen vim
wget https://www.dropbox.com/sh/jvp4wwek8jpohj7/aK1qrBEQ8R/yam-yvg1900-M7j-linux64-core2.tgz
tar xvzf yam-yvg1900-M7j-linux64-core2.tgz
cd yam-yvg1900-M7j-linux64-core2/linux64-core2
vi pts.cfg
Paste this code but change threads = 1 to your cpu core, USERNAME to ypool.net username, PTS_1 ot your worker, x to your worker password, 512 to ram memory per core (128, 256, 512, 1024):
threads = 1
mining-params = pts:av=0&m=512
mine = xpt2h://USERNAME.PTS_1:x@mining.ypool.net:10034:8080:8081:8082:8083:8084:8085:8086:8087/pts
compact-stats = 1
print-timestamps = 0
then press ESC button and write ":wq" (without the quotes) to save and close the .cfg file
screen -S pts ./yam -c pts.cfg
then press Ctrl + A + D
This will close the screen, but it will not stop the miner.
If you want to see the miner use command:
screen -r pts
You can check your connected miners here http://ypool.net/pts/workers_live (http://ypool.net/pts/workers_live)
Add a tutorial for it.