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:
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
# 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
> 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:
# default settings are: ppp_nat="yes" and ppp_mode="auto"
isdn_fsdev="no" #or a terminal name if you need for eg /dev/ttyva
Good luck with i4b!
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