View previous topic :: View next topic |
Author |
Message |
Nick W l33t
Joined: 07 Dec 2003 Posts: 684
|
Posted: Wed Jul 21, 2004 9:39 am Post subject: Regaining Access over SSH |
|
|
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 |
|
|
smart Guru
Joined: 19 Nov 2002 Posts: 455
|
Posted: Wed Jul 21, 2004 9:51 am Post subject: |
|
|
emerge "screen" early in the process and use that |
|
Back to top |
|
|
scoobydu Veteran
Joined: 16 Feb 2003 Posts: 1076 Location: 'Mind the Gap'
|
Posted: Wed Jul 21, 2004 9:52 am Post subject: |
|
|
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 |
|
|
Nick W l33t
Joined: 07 Dec 2003 Posts: 684
|
Posted: Wed Jul 21, 2004 11:11 am Post subject: |
|
|
Great, thanks guys, that's what I'll do then
Nick |
|
Back to top |
|
|
tuxmin l33t
Joined: 24 Apr 2004 Posts: 838 Location: Heidelberg
|
Posted: Wed Jul 21, 2004 6:49 pm Post subject: |
|
|
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 |
|
|
Nick W l33t
Joined: 07 Dec 2003 Posts: 684
|
Posted: Thu Jul 22, 2004 12:40 pm Post subject: |
|
|
OK, I'll do that. I've never upgraded the firmware so it's certainly worth a try.
Thanks!
Nick |
|
Back to top |
|
|
|