Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Regaining Access over SSH
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Nick W
l33t
l33t


Joined: 07 Dec 2003
Posts: 684

PostPosted: Wed Jul 21, 2004 9:39 am    Post subject: Regaining Access over SSH Reply with quote

Hi all,

I have to help a friend install Gentoo via SSH, no problem. However, my connection somtimes cuts out, and I have to reset the router.

What do I do if this happens whilst im setting up G2 on my friends machine? Is there a way to (once connection is re-established) get control over whatever process I was running when we lost the connection?

Im assuming there is, but I dont know how ;-)

Many thanks..

Nick
Back to top
View user's profile Send private message
smart
Guru
Guru


Joined: 19 Nov 2002
Posts: 455

PostPosted: Wed Jul 21, 2004 9:51 am    Post subject: Reply with quote

emerge "screen" early in the process and use that
Back to top
View user's profile Send private message
scoobydu
Veteran
Veteran


Joined: 16 Feb 2003
Posts: 1076
Location: 'Mind the Gap'

PostPosted: Wed Jul 21, 2004 9:52 am    Post subject: Reply with quote

I use 'screen' for this sort of thing.

screen -R (starts a new screen session)
screen -ls (lists current running sessions)

The term session continues even when you have lost a connection to it, then you can just re-attach to a running session.

edit: faster typing smart ;) screen will do the job nicely :)
_________________
Tyan Tiger K8W, 2xOpteron 240,Powerbook5,6 15" 1.5g, Macbook Black 2g, Mac Mini 1g, Ipod P60g.
| Linux - From a windows user perspective|
Back to top
View user's profile Send private message
Nick W
l33t
l33t


Joined: 07 Dec 2003
Posts: 684

PostPosted: Wed Jul 21, 2004 11:11 am    Post subject: Reply with quote

Great, thanks guys, that's what I'll do then ;-)

Nick
Back to top
View user's profile Send private message
tuxmin
l33t
l33t


Joined: 24 Apr 2004
Posts: 838
Location: Heidelberg

PostPosted: Wed Jul 21, 2004 6:49 pm    Post subject: Reply with quote

The problem with your router is maybe fixed with a new firmware. Some netgear routers I know have a problem with the NAT table running full under heavy traffic.
Give it a try...
_________________
ALT-F4
Back to top
View user's profile Send private message
Nick W
l33t
l33t


Joined: 07 Dec 2003
Posts: 684

PostPosted: Thu Jul 22, 2004 12:40 pm    Post subject: Reply with quote

OK, I'll do that. I've never upgraded the firmware so it's certainly worth a try.

Thanks!

Nick
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
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
You cannot vote in polls in this forum