Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Aug 2000 19:17:37 -0500
From:      "justin" <jwpauler@jwpages.com>
To:        <freebsd-current@freebsd.org>
Cc:        <freebsd-questions@freebsd.org>
Subject:   USER PPP
Message-ID:  <000801c00260$657d4b80$668df9d0@hernandez>

next in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
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



[-- Attachment #2 --]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="MSHTML 5.00.2614.3500" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hey fellas...</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; 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.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; 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.&nbsp;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.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; 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</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; Your help and/or scripts are 
welcome :)</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Justin W. Pauler</FONT></DIV>
<DIV><FONT face=Arial size=2>JWPages Web Development</FONT></DIV>
<DIV><FONT face=Arial size=2><A 
href="mailto:jwpauler@jwpages.com">jwpauler@jwpages.com</A></FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV></BODY></HTML>

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000801c00260$657d4b80$668df9d0>