Re: Budget on user-ppp

1999-08-18 Thread Brian Somers
[.]
  Brian,
  
  The i4b stuff seems to have some sophisticated costing control code 
  (isdn.rates).
  It appears that you can define the costs at different times of day and 
  thereby
  vary the timeouts, etc.  I wonder whether any of this can be adapted for 
  modem ppp.
 
 I've added it to my todo list.  I'll probably look at the BACP or MP+ 
 stuff first though, and then at the ``when to bring up another link'' 
 code all fun  games :-)
[.]

FWIW, ppp can now be given a minimum idle timer.  While not covering 
everything, it does address the minimum call charge side of things.
-- 
Brian br...@awfulhak.orgbr...@freebsd.org
  http://www.Awfulhak.org   br...@openbsd.org
Don't _EVER_ lose your sense of humour !  br...@freebsd.org.uk




To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-hackers in the body of the message



Re: Budget on user-ppp

1999-07-11 Thread Daniel C. Sobral

Brian Somers wrote:
 
  The i4b stuff seems to have some sophisticated costing control code (isdn.rates).
  It appears that you can define the costs at different times of day and thereby
  vary the timeouts, etc.  I wonder whether any of this can be adapted for "modem 
ppp".
 
 I've added it to my todo list.  I'll probably look at the BACP or MP+
 stuff first though, and then at the ``when to bring up another link''
 code all fun  games :-)

Well? It's sunday... are you going through a slow week, for a
change? :-)

--
Daniel C. Sobral(8-DCS)
[EMAIL PROTECTED]
[EMAIL PROTECTED]

I'm one of those bad things that happen to good people.




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



Re: Budget on user-ppp

1999-07-11 Thread Brian Somers

 Brian Somers wrote:
  
   The i4b stuff seems to have some sophisticated costing control code (isdn.rates).
   It appears that you can define the costs at different times of day and thereby
   vary the timeouts, etc.  I wonder whether any of this can be adapted for "modem 
ppp".
  
  I've added it to my todo list.  I'll probably look at the BACP or MP+
  stuff first though, and then at the ``when to bring up another link''
  code all fun  games :-)
 
 Well? It's sunday... are you going through a slow week, for a
 change? :-)

No, I'm waiting for [EMAIL PROTECTED] to commit my i4b changes.  He's 
waiting for feedback from the development sources he released a few 
days ago.  I've only got as far as reading the BACP rfc, but ppp works 
multilink over ISDN now (but hasn't yet been committed).

 --
 Daniel C. Sobral  (8-DCS)
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]
 
   I'm one of those bad things that happen to good people.

-- 
Brian [EMAIL PROTECTED][EMAIL PROTECTED]
  http://www.Awfulhak.org   [EMAIL PROTECTED]
Don't _EVER_ lose your sense of humour !  [EMAIL PROTECTED]




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



Re: Budget on user-ppp

1999-07-11 Thread Gary Jennejohn

Brian Somers writes:
 Daniel C. Sobral wrote:
 Well? It's sunday... are you going through a slow week, for a
 change? :-)

No, I'm waiting for [EMAIL PROTECTED] to commit my i4b changes.  He's 
waiting for feedback from the development sources he released a few 
days ago.  I've only got as far as reading the BACP rfc, but ppp works 
multilink over ISDN now (but hasn't yet been committed).


The last I heard on the ISDN-developers' list was that you're working on
fixing bugs ?

HOW do I use i4b with user-ppp ? There's not the least hint of any
information in the latest developers' release regarding that. Whine.

I want to test it.

---
Gary Jennejohn
Home - [EMAIL PROTECTED]
Work - [EMAIL PROTECTED]




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



Re: Budget on user-ppp

1999-07-11 Thread Brian Somers

 Brian Somers writes:
  Daniel C. Sobral wrote:
  Well? It's sunday... are you going through a slow week, for a
  change? :-)
 
 No, I'm waiting for [EMAIL PROTECTED] to commit my i4b changes.  He's 
 waiting for feedback from the development sources he released a few 
 days ago.  I've only got as far as reading the BACP rfc, but ppp works 
 multilink over ISDN now (but hasn't yet been committed).
 
 
 The last I heard on the ISDN-developers' list was that you're working on
 fixing bugs ?
 
 HOW do I use i4b with user-ppp ? There's not the least hint of any
 information in the latest developers' release regarding that. Whine.
 
 I want to test it.

Fair 'nuff.

  ftp://ftp6.uk.FreeBSD.org/pub/PPPoISDN

at your own risk  all that stuff.  Read the i4b notes in the FreeBSD 
subdirectory if you're not on 0.81.12 or higher already.

 ---
 Gary Jennejohn
 Home - [EMAIL PROTECTED]
 Work - [EMAIL PROTECTED]

-- 
Brian [EMAIL PROTECTED][EMAIL PROTECTED]
  http://www.Awfulhak.org   [EMAIL PROTECTED]
Don't _EVER_ lose your sense of humour !  [EMAIL PROTECTED]




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



Re: Budget on user-ppp

1999-07-11 Thread Gary Jennejohn

Brian Somers writes:
 I want to test it.

Fair 'nuff.

  ftp://ftp6.uk.FreeBSD.org/pub/PPPoISDN

at your own risk  all that stuff.  Read the i4b notes in the FreeBSD 
subdirectory if you're not on 0.81.12 or higher already.

 ---
 Gary Jennejohn

Thanks heaps ! I am running 0.81.12, that is the latest developers' release.

---
Gary Jennejohn
Home - [EMAIL PROTECTED]
Work - [EMAIL PROTECTED]




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



Re: Budget on user-ppp

1999-07-11 Thread Daniel C. Sobral
Brian Somers wrote:
 
  The i4b stuff seems to have some sophisticated costing control code 
  (isdn.rates).
  It appears that you can define the costs at different times of day and 
  thereby
  vary the timeouts, etc.  I wonder whether any of this can be adapted for 
  modem ppp.
 
 I've added it to my todo list.  I'll probably look at the BACP or MP+
 stuff first though, and then at the ``when to bring up another link''
 code all fun  games :-)

Well? It's sunday... are you going through a slow week, for a
change? :-)

--
Daniel C. Sobral(8-DCS)
d...@newsguy.com
d...@freebsd.org

I'm one of those bad things that happen to good people.




To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-hackers in the body of the message



Re: Budget on user-ppp

1999-07-11 Thread Brian Somers
 Brian Somers wrote:
  
   The i4b stuff seems to have some sophisticated costing control code 
   (isdn.rates).
   It appears that you can define the costs at different times of day and 
   thereby
   vary the timeouts, etc.  I wonder whether any of this can be adapted for 
   modem ppp.
  
  I've added it to my todo list.  I'll probably look at the BACP or MP+
  stuff first though, and then at the ``when to bring up another link''
  code all fun  games :-)
 
 Well? It's sunday... are you going through a slow week, for a
 change? :-)

No, I'm waiting for h...@freebsd.org to commit my i4b changes.  He's 
waiting for feedback from the development sources he released a few 
days ago.  I've only got as far as reading the BACP rfc, but ppp works 
multilink over ISDN now (but hasn't yet been committed).

 --
 Daniel C. Sobral  (8-DCS)
 d...@newsguy.com
 d...@freebsd.org
 
   I'm one of those bad things that happen to good people.

-- 
Brian br...@awfulhak.orgbr...@freebsd.org
  http://www.Awfulhak.org   br...@openbsd.org
Don't _EVER_ lose your sense of humour !  br...@freebsd.org.uk




To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-hackers in the body of the message



Re: Budget on user-ppp

1999-07-11 Thread Gary Jennejohn
Brian Somers writes:
 Daniel C. Sobral wrote:
 Well? It's sunday... are you going through a slow week, for a
 change? :-)

No, I'm waiting for h...@freebsd.org to commit my i4b changes.  He's 
waiting for feedback from the development sources he released a few 
days ago.  I've only got as far as reading the BACP rfc, but ppp works 
multilink over ISDN now (but hasn't yet been committed).


The last I heard on the ISDN-developers' list was that you're working on
fixing bugs ?

HOW do I use i4b with user-ppp ? There's not the least hint of any
information in the latest developers' release regarding that. Whine.

I want to test it.

---
Gary Jennejohn
Home - ga...@muc.de
Work - ga...@fkr.dec.com




To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-hackers in the body of the message



Re: Budget on user-ppp

1999-07-11 Thread Brian Somers
 Brian Somers writes:
  Daniel C. Sobral wrote:
  Well? It's sunday... are you going through a slow week, for a
  change? :-)
 
 No, I'm waiting for h...@freebsd.org to commit my i4b changes.  He's 
 waiting for feedback from the development sources he released a few 
 days ago.  I've only got as far as reading the BACP rfc, but ppp works 
 multilink over ISDN now (but hasn't yet been committed).
 
 
 The last I heard on the ISDN-developers' list was that you're working on
 fixing bugs ?
 
 HOW do I use i4b with user-ppp ? There's not the least hint of any
 information in the latest developers' release regarding that. Whine.
 
 I want to test it.

Fair 'nuff.

  ftp://ftp6.uk.FreeBSD.org/pub/PPPoISDN

at your own risk  all that stuff.  Read the i4b notes in the FreeBSD 
subdirectory if you're not on 0.81.12 or higher already.

 ---
 Gary Jennejohn
 Home - ga...@muc.de
 Work - ga...@fkr.dec.com

-- 
Brian br...@awfulhak.orgbr...@freebsd.org
  http://www.Awfulhak.org   br...@openbsd.org
Don't _EVER_ lose your sense of humour !  br...@freebsd.org.uk




To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-hackers in the body of the message



Re: Budget on user-ppp

1999-07-11 Thread Gary Jennejohn
Brian Somers writes:
 I want to test it.

Fair 'nuff.

  ftp://ftp6.uk.FreeBSD.org/pub/PPPoISDN

at your own risk  all that stuff.  Read the i4b notes in the FreeBSD 
subdirectory if you're not on 0.81.12 or higher already.

 ---
 Gary Jennejohn

Thanks heaps ! I am running 0.81.12, that is the latest developers' release.

---
Gary Jennejohn
Home - ga...@muc.de
Work - ga...@fkr.dec.com




To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-hackers in the body of the message



Re: Budget on user-ppp

1999-07-07 Thread dannyman
On Tue, Jul 06, 1999 at 12:20:00AM +0200, Leif Neland wrote:
 It could be nice with some sort of budget control in ppp.
 A few days ago I found out bb caused a dialup every 5 minutes.
 Today I found I had been online 27 hours uninterrupted.
 Some dialup-routers allows a setup of max a connects/b minutes online over
 c hours.

I had things set up so that the users on my system could bring up ppp at will,
and bring it down.  I also had /etc/daily bring up ppp when it needed it.  The
problem being, of course, that the on-demand stuff gets pretty nasty at times
...

*shrug*

-- 
dannyman - http://www.dannyland.org/~dannyman/


To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-hackers in the body of the message



Re: Budget on user-ppp

1999-07-06 Thread Josef Karthauser
On Tue, Jul 06, 1999 at 04:11:39AM +0100, Brian Somers wrote:
 
 ?  How about under ``set redial'' in the man page ?
 

Brian,

The i4b stuff seems to have some sophisticated costing control code 
(isdn.rates).
It appears that you can define the costs at different times of day and thereby
vary the timeouts, etc.  I wonder whether any of this can be adapted for modem 
ppp.

Joe
-- 
Josef KarthauserFreeBSD: How many times have you booted today?
Technical Manager   Viagra for your server (http://www.uk.freebsd.org)
Pavilion Internet plc.  [...@pavilion.net, j...@uk.freebsd.org, j...@tao.org.uk]


To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-hackers in the body of the message



Re: Budget on user-ppp

1999-07-06 Thread Gary Jennejohn
Josef Karthauser writes:
On Tue, Jul 06, 1999 at 04:11:39AM +0100, Brian Somers wrote:
 
 ?  How about under ``set redial'' in the man page ?
 

Brian,

The i4b stuff seems to have some sophisticated costing control code (isdn.rate
s).
It appears that you can define the costs at different times of day and thereby
vary the timeouts, etc.  I wonder whether any of this can be adapted for mode
m ppp.


as I'm sure you're aware, there's a lot of hairy support in the kernel
for this mechanism. It wouldn't be exactly trivial to implement for
user-ppp, although it could probably be made to work in user space.

---
Gary Jennejohn
Home - ga...@muc.de
Work - ga...@fkr.dec.com




To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-hackers in the body of the message



Re: Budget on user-ppp

1999-07-06 Thread Brian Somers
 On Tue, Jul 06, 1999 at 04:11:39AM +0100, Brian Somers wrote:
  
  ?  How about under ``set redial'' in the man page ?
  
 
 Brian,
 
 The i4b stuff seems to have some sophisticated costing control code 
 (isdn.rates).
 It appears that you can define the costs at different times of day and thereby
 vary the timeouts, etc.  I wonder whether any of this can be adapted for 
 modem ppp.

I've added it to my todo list.  I'll probably look at the BACP or MP+ 
stuff first though, and then at the ``when to bring up another link'' 
code all fun  games :-)

 Joe
 -- 
 Josef Karthauser  FreeBSD: How many times have you booted today?
 Technical Manager Viagra for your server (http://www.uk.freebsd.org)
 Pavilion Internet plc.  [...@pavilion.net, j...@uk.freebsd.org, 
 j...@tao.org.uk]

-- 
Brian br...@awfulhak.orgbr...@freebsd.org
  http://www.Awfulhak.org   br...@openbsd.org
Don't _EVER_ lose your sense of humour !  br...@freebsd.org.uk




To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-hackers in the body of the message



Budget on user-ppp

1999-07-05 Thread Leif Neland
It could be nice with some sort of budget control in ppp.
A few days ago I found out bb caused a dialup every 5 minutes.
Today I found I had been online 27 hours uninterrupted.
Some dialup-routers allows a setup of max a connects/b minutes online over
c hours.

Also, I know it is possible to have a longer and longer retry wait between
unsuccessful calls, but this is (as far as I can see) not documented
anywhere.
(Except perhaps archives)

Leif




To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-hackers in the body of the message



Re: Budget on user-ppp

1999-07-05 Thread Brian Somers
 It could be nice with some sort of budget control in ppp.
 A few days ago I found out bb caused a dialup every 5 minutes.
 Today I found I had been online 27 hours uninterrupted.
 Some dialup-routers allows a setup of max a connects/b minutes online over
 c hours.

Patches are always welcome ;-)

 Also, I know it is possible to have a longer and longer retry wait between
 unsuccessful calls, but this is (as far as I can see) not documented
 anywhere.
 (Except perhaps archives)

?  How about under ``set redial'' in the man page ?

 set redial secs[+inc[-max]][.next] [attempts]
 ppp can be instructed to attempt to redial attempts times.  If
 more than one phone number is specified (see ``set phone''
 above), a pause of next is taken before dialing each number.  A
 pause of secs is taken before starting at the first number again.
 A literal value of ``random'' may be used here in place of secs
 and next, causing a random delay of between 1 and 30 seconds.

 If inc is specified, its value is added onto secs each time ppp
 tries a new number.  secs will only be incremented at most maxinc
 times.  maxinc defaults to 10.

 Note, the secs delay will be effective, even after attempts has
 been exceeded, so an immediate manual dial may appear to have
 done nothing.  If an immediate dial is required, a ``!'' should
 immediately follow the ``open'' keyword.  See the ``open'' de-
 scription above for further details.

(Hmm, I'd better change maxinc - max !)

 Leif

-- 
Brian br...@awfulhak.orgbr...@freebsd.org
  http://www.Awfulhak.org   br...@openbsd.org
Don't _EVER_ lose your sense of humour !  br...@freebsd.org.uk




To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-hackers in the body of the message