Re: USER PPP

2000-08-10 Thread Mikel

better yet why not have your email client automatically download your email
every 4 minutes...

Leif Neland wrote:

> On Wed, 9 Aug 2000, justin wrote:
>
> > Hey fellas...
> >
> > 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.
> >
> Why do you want to be online all the time? Are you running a server which
> should be accessible from the internet?
> Do you have adsl or the like available?
>
> Perhaps we will see questions on the radius- or isp-lists:
>
> How do I disconnect an user when the traffic is below a certain limit?
> How do I limit the number of connects daily from an user?
> How do I limit the number of minutes daily per user?
>
> Leif
>
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-current" in the body of the message

--
Cheers,
Mikel
+~+
| Optimized Computer Solutions, Inchttp://www.ocsny.com
| 39 W14th Street, Suite 203   212 727 2238  x132
| New York, NY 10011
+~+



begin:vcard 
n:King;Mikel
tel;fax:2124638402
tel;home:http://www.upan.org
tel;work:2127272100
x-mozilla-html:TRUE
org:Optimized Computer Solutions
version:2.1
email;internet:[EMAIL PROTECTED]
title:Director of Network Operations & Technology
adr;quoted-printable:;;39 W14th St.=0D=0ASte 203;New York;NY;10011;US
note;quoted-printable:fBSD, PHP, MySql and OCS Rule!!!=0D=0A=0D=0AGoal is to be MS free by the end of 2k.
x-mozilla-cpt:;7312
fn:Mikel King
end:vcard



Re: USER PPP

2000-08-10 Thread Leif Neland



On Wed, 9 Aug 2000, justin wrote:

> Hey fellas...
> 
> 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.
> 
Why do you want to be online all the time? Are you running a server which
should be accessible from the internet?
Do you have adsl or the like available?

Perhaps we will see questions on the radius- or isp-lists:

How do I disconnect an user when the traffic is below a certain limit?
How do I limit the number of connects daily from an user?
How do I limit the number of minutes daily per user?

Leif



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: USER PPP

2000-08-09 Thread Brandon D. Valentine

[Wrap text at 72 columns.]

On Wed, 9 Aug 2000, justin wrote:

>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.

Read the ppp(8) manpage and you will discover the -ddial flag which
implements the functionality you have discussed.  It would probably be
more advisable to use the -auto flag though, but that's your own
decision to make.  Read the manpage.

This is really a -questions issue.  Now you know, don't ask questions
like this here again, it's the wrong place for it.  Read the mailing
list charters at:
http://www.freebsd.org/handbook/eresources.html#ERESOURCES-MAIL
for more information.

Brandon D. Valentine
-- 
bandix at looksharp.net  |  bandix at structbio.vanderbilt.edu
"Truth suffers from too much analysis." -- Ancient Fremen Saying



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: USER PPP

2000-08-09 Thread Mark Ovens

On Wed, Aug 09, 2000 at 07:17:37PM -0500, justin wrote:
> 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
> 

Firstly, please set your mailer to wrap lines at ~70 chars please.

Add `` set reconnect'' to /etc/ppp/ppp.conf. From the manpage:

  set reconnect timeout ntries

 This command tells ppp to re-establish the connection ntries
 times on loss of carrier with a pause of timeout seconds before
 each try.For example,



> Your help and/or scripts are welcome :)
> 
> Justin W. Pauler
> JWPages Web Development
> [EMAIL PROTECTED]
> 
> 

-- 
4.4 - The number of the Beastie

51.44°N  FreeBSD - The Power To Serve http://www.freebsd.org
2.057°W  My Webpage http://ukug.uk.freebsd.org/~mark
mailto:[EMAIL PROTECTED]http://www.radan.com



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: user-ppp, logging what triggered call

2000-02-07 Thread Maxim Sobolev

Leif Neland wrote:

> Can user-ppp do that?
> Looking through the manpage, it can't, but...

"set log +tcp/ip" and then grep logs for string containing "DIAL".

-Maxim




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message