Bitcoin Forum

Bitcoin => Mining support => Topic started by: Franky2010 on January 31, 2014, 09:27:28 AM



Title: Putty
Post by: Franky2010 on January 31, 2014, 09:27:28 AM
Guys, let me ask you please....is any way mine on Putty, when is computer OFF? Putty must always be working on my PC, or I can somehow make Putty stay ON, even if is my PC not working....  :) on Ubuntu please


Title: Re: Putty
Post by: MiningBuddy on January 31, 2014, 11:54:50 AM
You want to use something like screen, read up on the docs (basic guide here http://www.mattcutts.com/blog/a-quick-tutorial-on-screen/). It allows you to 'resume' an ssh session and let you run scripts in the background. (Sorry for the vague answer, stuck at work on my phone)


Title: Re: Putty
Post by: meatpaste on February 01, 2014, 01:34:21 AM
I use Screen on my Raspberry Pi, it does just what you need.

Install Screen, then type 'screen' to get to the prompt. Next start your miner, you can now disconnect putty and when you re-connect run 'screen -r -d' to get back to the screen.

You can also start off more 'screens' by pressing 'Ctrl-A' and then 'C'. Switch between them using 'Ctrl-A' and then 'N'.


Title: Re: Putty
Post by: Gator-hex on February 01, 2014, 03:00:42 PM
If your miner starts automatically ignore the next line...

start the miner, ok you can see it working, close putty.

Then next time you log in through putty type "screen -r" to see what's already running.


Title: Re: Putty
Post by: Wolfken on February 01, 2014, 07:48:09 PM
I have a raspberry pi and for me it works with this:

pi@new-host ~/$ sudo -i

pi@new-host ~/# cd ~pi/cgminer

pi@new-host ~pi/cgminer/ # nohup ./cgminer -- ....


Title: Re: Putty
Post by: slevadon on February 02, 2014, 02:46:22 AM
You want to use something like screen, read up on the docs (basic guide here http://www.mattcutts.com/blog/a-quick-tutorial-on-screen/). It allows you to 'resume' an ssh session and let you run scripts in the background. (Sorry for the vague answer, stuck at work on my phone)

Thanks for the info, buddy  ;D