From owner-freebsd-questions Fri Apr 17 06:23:01 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA19463 for freebsd-questions-outgoing; Fri, 17 Apr 1998 06:23:01 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from mutsgo.dyn.ml.org (kf7nn@dal24-14.ppp.iadfw.net [206.66.5.238]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA19367 for ; Fri, 17 Apr 1998 13:22:48 GMT (envelope-from kf7nn@mutsgo.dyn.ml.org) Received: (from kf7nn@localhost) by mutsgo.dyn.ml.org (8.8.8/8.8.7) id IAA02816 for questions@freebsd.org; Fri, 17 Apr 1998 08:22:46 -0500 (CDT) (envelope-from kf7nn) From: George Vagner Message-Id: <199804171322.IAA02816@mutsgo.dyn.ml.org> Subject: bad modem on isp To: questions@FreeBSD.ORG Date: Fri, 17 Apr 1998 08:22:45 -0500 (CDT) X-Mailer: ELM [version 2.4ME+ PL32 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG i wrote to you a few days ago about losing connection where i can ping anywhere but cant ftp,http,telnet etc anywhere. it happened again today so what i did was just disconnected my modem phone line until it lost carrier and the system redialed as uasual and all was great again. i have come to the conclusion that there may be a bad modem on my providers system and i just happen to dial into this modem once in a while and get stuck on it cause it dont hang up it just sits there where other modems hang up after a random amount of time ~ 1 hour or so. so here is what i want to do... can you suggest a small program or script that i can enter into cron so it will request a http page or something and if it fails to return the page then hang up the modem and redial or kill ppp and restart it (same result)?? this will allow me to keep an active connection i hope. i am keeping a log of all the ip's i connect as so to inform the provider of the malfunctioning modem line. thanks To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message