From owner-freebsd-isdn Thu Nov 30 12:34:12 2000 Delivered-To: freebsd-isdn@freebsd.org Received: from mailout04.sul.t-online.com (mailout04.sul.t-online.com [194.25.134.18]) by hub.freebsd.org (Postfix) with ESMTP id 7717637B402 for ; Thu, 30 Nov 2000 12:34:07 -0800 (PST) Received: from fwd06.sul.t-online.com by mailout04.sul.t-online.com with smtp id 141aP7-0004P0-01; Thu, 30 Nov 2000 21:34:05 +0100 Received: from t-online.de (520042202609-0001@[62.226.2.178]) by fwd06.sul.t-online.com with esmtp id 141aOr-2BgoGuC; Thu, 30 Nov 2000 21:33:49 +0100 Message-ID: <3A26ACD7.8F372FC4@t-online.de> Date: Thu, 30 Nov 2000 20:39:03 +0100 From: Alexander.Farber@t-online.de (Alexander Farber) Reply-To: farber@cpan.org X-Mailer: Mozilla 4.7 [en] (X11; U; OpenBSD 2.8 i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-isdn@FreeBSD.ORG Subject: How to use 2 channels on sundays? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Sender: 520042202609-0001@t-dialin.net Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi guys, I am using i4b with OpenBSD 2.8, USR Sportser ISA ISDN-card and userland ppp and it works okay (after I spent 3 weeks)... Since I have the german Telekom flatrate and the ISDN-xxl (which means that phone calls on sundays are freeeee), I'd like to use both ISDN-channels on sundays. How do I do it? I haven't found it in the i4b-documentation, "man isdnd" and "man isdnd.rc" yet. The second question is: if I let my computer running all the time, how would you handle it? Would you setup a cron job which kills the isdnd at 23:59 on saturdays and sundays or is there some nicer way? Thank you! Alex Here is my /etc/ppp/ppp.conf default: set device /dev/i4brbch0 set speed sync set login set hangup add! default HISADDR uni: set authname XXX set authkey XXX set phone 88721 ton: set authname XXX set authkey XXX set phone 0191011 Here is my /etc/isdn/isdnd.rc system # accounting # ---------- acctall = on # generate info for everything acctfile = /var/log/isdnd.acct # name & location of accounting file useacctfile = yes # generate accouting info to file # monitor # ------- monitor-allowed = off # global switch: monitor on/off # realtime priority section # ------------------------- rtprio = 25 # modify isdnd's process priority #============================================================================== # example of a configuration file for the isdn daemon and userland ppp. # (see the ppp setup examples in i4b's user-ppp dir and FAQ item 22 !) #============================================================================== entry name = uppp0 # name of entry usrdevicename = rbch # use the raw b channel access device usrdeviceunit = 0 # unit 0 isdncontroller = 0 # use isdn controller 0 isdnchannel = -1 # use any channel on this controller local-phone-incoming = 123456789 remote-phone-incoming = * local-phone-dialout = 123456789 remote-phone-dialout = * # ppp(8) will override this remdial-handling = first dialin-reaction = ignore # no dialins allowed dialout-type = normal b1protocol = hdlc # b channel layer 1 protocol idletime-incoming = 0 # Should be larger than ppps timeout idletime-outgoing = 0 # Should be larger than ppps timeout ratetype = 0 unitlength = 90 unitlengthsrc = rate dialretries = 1 dialrandincr = on recoverytime = 25 usedown = off downtries = 2 downtime = 30 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message