Date: Mon, 24 Jul 2000 14:42:23 +0200 From: "Miklos Niedermayer" <mico@bsd.hu> To: "Roberto Nunnari, AGIE" <roberto.Nunnari@agie.ch> Cc: nimrodm@bezeqint.net, isdn@freebsd.org, questions <freebsd-questions@freebsd.org> Subject: Re: kernel ppp vs. user ppp Message-ID: <20000724144223.E314@bsd.hu> In-Reply-To: <397C25F1.32E814EE@agie.ch>; from roberto.Nunnari@agie.ch on Mon, Jul 24, 2000 at 12:18:09PM %2B0100 References: <397822F7.275EF796@agie.ch> <20000721130100.A689@bsd.hu> <397C25F1.32E814EE@agie.ch>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000724144223.E314>