From owner-freebsd-questions Mon Jul 24 5:40:35 2000 Delivered-To: freebsd-questions@freebsd.org Received: from internet.digitel2002.hu (internet.digitel2002.hu [213.163.0.65]) by hub.freebsd.org (Postfix) with ESMTP id 8F59337B547 for ; Mon, 24 Jul 2000 05:40:28 -0700 (PDT) (envelope-from mico@bsd.hu) Received: from fmdb.c3.hu (dial-132.digitel2002.hu [213.163.2.132]) by internet.digitel2002.hu (8.8.8/8.8.8) with SMTP id OAA02926 for ; Mon, 24 Jul 2000 14:40:18 +0200 (MET DST) Received: (qmail 730 invoked by uid 1004); 24 Jul 2000 12:42:23 -0000 From: "Miklos Niedermayer" Date: Mon, 24 Jul 2000 14:42:23 +0200 To: "Roberto Nunnari, AGIE" Cc: nimrodm@bezeqint.net, isdn@freebsd.org, questions Subject: Re: kernel ppp vs. user ppp Message-ID: <20000724144223.E314@bsd.hu> Mail-Followup-To: Niedermayer Miklos , "Roberto Nunnari, AGIE" , nimrodm@bezeqint.net, isdn@freebsd.org, questions References: <397822F7.275EF796@agie.ch> <20000721130100.A689@bsd.hu> <397C25F1.32E814EE@agie.ch> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <397C25F1.32E814EE@agie.ch>; from roberto.Nunnari@agie.ch on Mon, Jul 24, 2000 at 12:18:09PM +0100 X-Operating-System: FreeBSD 4.0 - The Power to Serve Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, Roberto Nunnari, AGIE: > Any hint on how to modify ppp.conf? What should I use > instead of > set device = /dev/cuaa0 > > How can I use both channel B1 and B2? Please take a look at /usr/share/examples/ppp, you can find there some good examples. First, you have to tell isdnd that you want to use the raw B channels: isdnd.rc: [...] entry name = userppp # name for reference. This name will # be used in the logfile to identfy # this entry. # the network or telephone device # the data traffic should be routed to: usrdevicename = rbch # ipr, isp, tel, rbch usrdeviceunit = 0 # unit number # the ISDN controller number to be # used for this entry: isdncontroller = 0 # contoller to use or -1 to use any isdnchannel = -1 # channel (1/2) to use or 0 or -1 for any [...] Please read the isdn4bsd documentation if you don't know what to do, or ask clever people :) In ppp.conf, you should use set device = /dev/i4brbch0 /dev/i4brbch1 This uses both B channels (only one of them by default; this is the preferred method if the line is used by other telephones, etc.) If you want multilink PPP, try something like this: # Multilink mode please set mrru 1500 # Two new links clone 1,2 # And get rid of the old one with the crusty name link deflink rm # Automatically manage the second link link * set mode auto set autoload 10 100 30 And again, please take a look at /usr/share/examples/ppp.conf.isdn and ppp.conf.sample > Do I have to start ppp like before: > ppp -auto -nat myisp-isdn > > and then > isdnd -f (to see what's going on) Please start isdnd first, then PPP. You should use rc.conf to start isdnd & ppp: ppp_enable="yes" ppp_profile="myisdn" # default settings are: ppp_nat="yes" and ppp_mode="auto" isdn_enable="yes" isdn_fsdev="no" #or a terminal name if you need for eg /dev/ttyva Good luck with i4b! -- mico@bsd.hu It is easier to fix Unix than to live with NT. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message