Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Thu May 12, 2005 2:52 pm 
Offline
Junior Member

Joined: Thu May 12, 2005 2:06 pm
Posts: 48
Hi,

I've just signed up for a Linode 64 which I plan to use with Gentoo. I need to compile quite a lot of things via emerge to get started.

But, if I shutdown my putty.exe, all the processes running are closed, so I cannot start emerge, then shutdown my computer at home, go to sleep :lol: and then re-connect and see that it is still running.

I've read something about screen, but I cannot get it work.

Can this be done? I've installed some Linux's but always from console, so there was no problem.

Thank you in advance!


Top
   
 Post subject:
PostPosted: Thu May 12, 2005 4:28 pm 
Offline
Senior Member

Joined: Sat Dec 04, 2004 5:36 pm
Posts: 145
No problem. To do what you want to do... hop on the console.

Lish lets you connect to the console. It also uses screen.

That means you just ssh to yourusername@hostXX.linode.com then connect to console. Do whatever. When you're done for the night, just press 'control-d' keys to disconnect from screen session. Then log out of lish, and kill putty.

In the morning, come back and ssh back in to lish and connect to console again.


Top
   
 Post subject:
PostPosted: Fri May 13, 2005 12:27 am 
Offline
Junior Member

Joined: Thu May 12, 2005 2:06 pm
Posts: 48
That sounds good, but when I do that:

Using username "xxx".
xxx@host46.linode.com's password:
[xxx@host46 lish] Fri May 13 00:25:51 EDT 2005
[xxx@host46 lish] Linode Shell (lish) Console starting...
[xxx@host46 lish]
INIT: Id "c0" respawning too fast: disabled for 5 minutes
INIT: Id "c0" respawning too fast: disabled for 5 minutes
INIT: Id "c0" respawning too fast: disabled for 5 minutes
INIT: Id "c0" respawning too fast: disabled for 5 minutes
INIT: Id "c0" respawning too fast: disabled for 5 minutes
INIT: Id "c0" respawning too fast: disabled for 5 minutes
INIT: Id "c0" respawning too fast: disabled for 5 minutes
INIT: Id "c0" respawning too fast: disabled for 5 minutes
INIT: Id "c0" respawning too fast: disabled for 5 minutes
INIT: Id "c0" respawning too fast: disabled for 5 minutes
INIT: Id "c0" respawning too fast: disabled for 5 minutes
INIT: Id "c0" respawning too fast: disabled for 5 minutes
INIT: Id "c0" respawning too fast: disabled for 5 minutes
INIT: Id "c0" respawning too fast: disabled for 5 minutes
INIT: Id "c0" respawning too fast: disabled for 5 minutes
INIT: Id "c0" respawning too fast: disabled for 5 minutes
INIT: Id "c0" respawning too fast: disabled for 5 minutes
INIT: Id "c0" respawning too fast: disabled for 5 minutes
INIT: Id "c0" respawning too fast: disabled for 5 minutes
INIT: Id "c0" respawning too fast: disabled for 5 minutes
INIT: Id "c0" respawning too fast: disabled for 5 minutes
INIT: Id "c0" respawning too fast: disabled for 5 minutes
INIT: Id "c0" respawning too fast: disabled for 5 minutes

and I cannot type anything :'(


Top
   
 Post subject:
PostPosted: Fri May 13, 2005 12:38 am 
Offline
Senior Member

Joined: Sat Dec 04, 2004 5:36 pm
Posts: 145
Hmm. I use Gentoo on a 128 MB Linode (works great).

I didn't start with 2005.0 image because I signed up before 2005.0 was available. I used 2004.2 back then, which worked great.

My /etc/inittab has:

Code:
c0:12345:respawn:/sbin/agetty 115200 tty0 linux


The error message you listed sounds like either /sbin/agetty is not there or /dev/tty0 is not there.

If you press enter a couple of times; no login prompt at all?

And you're starting from the 2005.0 config from the Distribution Wizard on your Linode management web page? And you are using what kernel -- 2.4 or 2.6?

(2005.0 uses 2.6 by default, but wanted to double check which you're using because of 2.4/devfs vs 2.6/udev which could explain your problem and how to fix it.)

Has anyone else here tried a Gentoo install recently from a 2005.0 image?


Top
   
 Post subject:
PostPosted: Fri May 13, 2005 12:41 am 
Offline
Junior Member

Joined: Thu May 12, 2005 2:06 pm
Posts: 48
I've done this:

http://www.linode.com/forums/viewtopic.php?p=7471#7471

and it works. It is a new Gentoo 2005.0 (yesterday) with Latest 2.4 series (2.4.29-linode39-1um).

I'll try now using lish. Thank you!


Top
   
 Post subject:
PostPosted: Fri May 13, 2005 4:56 am 
Offline
Senior Member

Joined: Fri Feb 13, 2004 11:30 am
Posts: 140
Location: England, UK
FWIW, it's easy enough to use screen for the same; actually lish depends on screen on the host itself, so if lish works, and you have screen installed on your Linode, screen should work too.

Simply log into your SSH, su to root, and run "screen". Then, you can use emerge and other commands. To return to a prompt outside screen, simply press Ctrl-A, then release them, then press D on its own. You can then use "exit" and your emerge will be running happily on its own.

To look back on it, log in again, then use "screen -r". This will reattach you to your previous screen session, so you can see how things are.

(As stated, lish uses the same mechanisms - when you log in via lish, you have to use Ctrl-A then D to get back to the lish prompt, then "exit" to quit SSH.)


Top
   
 Post subject:
PostPosted: Mon May 16, 2005 5:57 pm 
Offline
Junior Member

Joined: Thu May 12, 2005 2:06 pm
Posts: 48
screen -r was the key! Thank you very much!


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group