From owner-freebsd-net@FreeBSD.ORG Wed Dec 10 16:37:55 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7123916A4CE for ; Wed, 10 Dec 2003 16:37:55 -0800 (PST) Received: from smtp2.libero.it (smtp2.libero.it [193.70.192.52]) by mx1.FreeBSD.org (Postfix) with ESMTP id 26AC943D13 for ; Wed, 10 Dec 2003 16:37:54 -0800 (PST) (envelope-from ml.ventu@flashnet.it) Received: from soth.ventu (151.38.126.218) by smtp2.libero.it (7.0.020-DD01) id 3F6F0DA9018B92DD for freebsd-net@freebsd.org; Thu, 11 Dec 2003 01:38:38 +0100 Received: from mailer (xanatar.ventu [10.1.2.6]) by soth.ventu (8.12.6p3/8.12.6) with SMTP id hBB0bpb6066726 for ; Thu, 11 Dec 2003 01:37:52 +0100 (CET) (envelope-from ml.ventu@flashnet.it) Message-Id: <200312110037.hBB0bpb6066726@soth.ventu> To: freebsd-net@freebsd.org Priority: Normal X-Mailer: Post Road Mailer for OS/2 (Green Edition Ver 3.0) Date: Thu, 11 Dec 2003 01:37:52 EST From: Andrea Venturoli Subject: Re: Two ISP connections X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Andrea Venturoli List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Dec 2003 00:37:55 -0000 ** Reply to note from Barney Wolff Wed, 10 Dec 2003 11:39:00 -0500 > I don't know of anything published that does this, but it's easy to > write a perl or shell script that pings the router at the adsl isp > and does the necessary things when it disappears and reappears. Mmh, only problem is one of the ISP is famous for blocking ICMP as a whole, so no pings work. I haven't tried this particular line yet, but I may need to use come other protocol. > You start it from /usr/local/etc/rc.d (Hint - use nohup to keep it running). Why nohup? > Without getting much fancier than is reasonable, existing connections > will be dropped at switchovers. I can easily live with that. > I have a script that does similar things running here; email me if you > want it. Why not! If you don't mind, the please send it to me :) bye & Thanks av.