From owner-freebsd-questions Fri May 5 13:49:44 1995 Return-Path: questions-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id NAA11941 for questions-outgoing; Fri, 5 May 1995 13:49:44 -0700 Received: from aero.org (aero.org [130.221.16.2]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id NAA11929 for ; Fri, 5 May 1995 13:49:40 -0700 Received: from antares.aero.org ([130.221.192.46]) by aero.org with SMTP id <111114-2>; Fri, 5 May 1995 13:48:54 -0700 Received: from anpiel.aero.org by antares.aero.org (4.1/AMS-1.0) id AA25592 for questions@freebsd.org; Fri, 5 May 95 13:48:40 PDT To: questions@FreeBSD.org Subject: So your site reconnects to the net automatically. Then what? Date: Fri, 5 May 1995 13:48:33 -0700 From: "Mike O'Brien" Message-Id: <95May5.134854pdt.111114-2@aero.org> Sender: questions-owner@FreeBSD.org Precedence: bulk I've posted this question to -hackers, which was probably the wrong place. I'll post it here where it belongs. Many people seem to be using 'expect' or something similar to cause their systems to reconnect to the net upon abnormal termination of their dialup PPP (or maybe SLIP) connection. However, most Internet providers do dynamic address assignment of PPP connections, so when you reconnect, you never have any idea what IP address you're going to get. Now, I'm sure most of you have had the experience of having the call drop right in the middle of a hot'n'heavy FTP session, or MUD or IRC conversation, or whatever, and frantically reconnected immediately, and gotten the same IP address, and saved the TCP session(s) in progress. I know I have. That's not my question. I'm talking about when you're at work, or offsite, or away, or just plain gone, and your computer redials automatically. Once it's reconnected, how in the world do you figure out what it's new IP address (or even name) is, so you can talk to it again from wherever you are? Mike O'Brien