Bitcoin Forum
May 27, 2024, 09:46:11 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Putty  (Read 1001 times)
Franky2010 (OP)
Hero Member
*****
Offline Offline

Activity: 565
Merit: 500

Crypto enthusiast for years.


View Profile
January 31, 2014, 09:27:28 AM
 #1

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....  Smiley on Ubuntu please

MiningBuddy
Hero Member
*****
Offline Offline

Activity: 927
Merit: 1000


฿itcoin ฿itcoin ฿itcoin


View Profile
January 31, 2014, 11:54:50 AM
 #2

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)

meatpaste
Newbie
*
Offline Offline

Activity: 20
Merit: 0


View Profile
February 01, 2014, 01:34:21 AM
 #3

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'.
Gator-hex
Hero Member
*****
Offline Offline

Activity: 490
Merit: 500


View Profile
February 01, 2014, 03:00:42 PM
 #4

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.

Wolfken
Newbie
*
Offline Offline

Activity: 42
Merit: 0


View Profile
February 01, 2014, 07:48:09 PM
 #5

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 -- ....
slevadon
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
February 02, 2014, 02:46:22 AM
 #6

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  Grin
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!