From owner-freebsd-questions Wed Aug 9 17:18:54 2000 Delivered-To: freebsd-questions@freebsd.org Received: from addr2.addr.com (addr.com [209.249.147.252]) by hub.freebsd.org (Postfix) with ESMTP id 5D7AA37BF01; Wed, 9 Aug 2000 17:18:41 -0700 (PDT) (envelope-from jwpauler@jwpages.com) Received: from hernandez (141-102.lgtch02.fais.net [208.249.141.102]) by addr2.addr.com (8.9.3/8.9.1) with SMTP id RAA80318; Wed, 9 Aug 2000 17:20:24 -0700 (PDT) (envelope-from jwpauler@jwpages.com) Message-ID: <000801c00260$657d4b80$668df9d0@hernandez> From: "justin" To: Cc: Subject: USER PPP Date: Wed, 9 Aug 2000 19:17:37 -0500 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0005_01C00236.7AD8EC20" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. ------=_NextPart_000_0005_01C00236.7AD8EC20 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hey fellas... Allright, here is the situation. I just had a second phone line = installed in my house, a POTS (plain old telephone service) line. I have = plugged it directly into my FreeBSD 4.1-STABLE workstation/server. I = allready have PPP setup and when I execute it, it runs fine. Now then, = what I would eventually like to do is have all of my windows based = machines connect to this one and use it as a gateway for internet = traffic. However, that will come later. What I would like to do right now, however, is guarantee that = anytime, anyday, barring a problem with my ISP, that my box is connected = to the internet. I have it currently setup to dial the internet when it = boots and that seems, so far to work ok. My problem you ask? My ISP = implements a 5 minute no transfer policy, they disconnect my connection = after 5 minutes of 'idling'. What I would like to do is have some kind = of check to verify if I am still connected to the internet and if not, = execute it. I was thinking some type of script running from crontab = every 5 minutes. If I am not connected, then automatically reconnect to = the internet. Now there is another possible solution I cannot find an answer to. = Is there a BSD option to 'keep-alive' the connection so I do not time = out? I would prefer not to leave an X session opening refreshing CNN = every five minutes :P Your help and/or scripts are welcome :) Justin W. Pauler JWPages Web Development jwpauler@jwpages.com ------=_NextPart_000_0005_01C00236.7AD8EC20 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hey fellas...
 
    Allright, here is = the situation.=20 I just had a second phone line installed in my house, a POTS (plain old=20 telephone service) line. I have plugged it directly into my FreeBSD = 4.1-STABLE=20 workstation/server. I allready have PPP setup and when I execute it, it = runs=20 fine. Now then, what I would eventually like to do is have all of my = windows=20 based machines connect to this one and use it as a gateway for internet = traffic.=20 However, that will come later.
 
    What I would like to = do right=20 now, however, is guarantee that anytime, anyday, barring a problem with = my ISP,=20 that my box is connected to the internet. I have it currently setup to = dial the=20 internet when it boots and that seems, so far to work ok. My = problem you=20 ask? My ISP implements a 5 minute no transfer policy, they disconnect my = connection after 5 minutes of 'idling'. What I would like to do is have = some=20 kind of check to verify if I am still connected to the internet and if = not,=20 execute it. I was thinking some type of script running from crontab = every 5=20 minutes. If I am not connected, then automatically reconnect to the=20 internet.
 
    Now there is another = possible=20 solution I cannot find an answer to. Is there a BSD option to = 'keep-alive' the=20 connection so I do not time out? I would prefer not to leave an X = session=20 opening refreshing CNN every five minutes :P
 
    Your help and/or = scripts are=20 welcome :)
 
Justin W. Pauler
JWPages Web Development
jwpauler@jwpages.com
 
 
------=_NextPart_000_0005_01C00236.7AD8EC20-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message