Hello! I need really help! I want to configure i4b. In fact i use it from
FreeBSD in version 4.2-RELEASE. I've compiled my modules into the kernel,
like my config-file shows.
Here my KERNEL (only the needed parts for i4b)
--------------> snipp <---------------------------
# Pseudo devices - the number indicates how many units to allocated.
pseudo-device loop # Network loopback
pseudo-device ether # Ethernet support
pseudo-device sl 1 # Kernel SLIP
pseudo-device sppp # Generic Sync PPP
pseudo-device ppp 1 # Kernel PPP
pseudo-device tun # Packet tunnel.
pseudo-device pty # Pseudo-ttys (telnet etc)
pseudo-device md # Memory "disks"
pseudo-device gif 4 # IPv6 and IPv4 tunneling
pseudo-device faith 1 # IPv6-to-IPv4 relaying (translation)
# ISDN - isdn4bsd - read it in the LINT File
# AVM Fritz!Card PCI
options AVM_A1_PCI
device isic
# ISDN - Protocols
pseudo-device "i4bq921"
pseudo-device "i4bq931"
# ISDN - driver handling
pseudo-device "i4b"
# ISDN
pseudo-device "i4btrc" 4
pseudo-device "i4bctl"
pseudo-device "i4brbch" 4
pseudo-device "i4btel" 2
pseudo-device "i4bipr" 4
# LOG-Files
options IPR_VJ
options IPR_LOG=32
# SyncPPP over ISDN
pseudo-device "i4bisppp" 4
--------> snapp <----------
After that compiling i configured my isdnd.rc under /etc/isdn
Here my file:
------------> snipp <--------------------------
system
acctall = on # generate info for everything
acctfile = /var/log/isdnd.acct # name & location of accounting file
useacctfile = yes # generate accouting info to file
monitor-allowed = no # global switch: monitor on/off
monitor-port = 451 # default monitor TCP port
monitor = "/var/run/isdn-monitor"
monitor-access = fullcmd
monitor-access = channelstate, logevents
monitor-access = callin, callout
monitor = "192.168.0.1"
monitor-access = restrictedcmd, channelstate, callin, callout
monitor = "192.168.0.1/24"
monitor-access = restrictedcmd, channelstate, callin, callout
monitor = "rumolt"
monitor-access = restrictedcmd, channelstate, callin, callout
monitor = "up-vision-net/24"
monitor-access = restrictedcmd, channelstate, callin, callout
ratesfile = /etc/isdn/isdnd.rates # name & location of rates file
rtprio = 25 # modify isdnd's process priority
#=======================================================================
# entry section: PPP example
#======================================================================
entry
name = T-Online
usrdevicename = isp
usrdeviceunit = 0
isdncontroller = 0
isdnchannel = -1
local-phone-incoming = *
remote-phone-incoming = *
local-phone-dialout = 55768
remote-phone-dialout = 0101911
remdial-handling = first
dialin-reaction = ignore
dialout-type = normal
b1protocol = hdlc
idletime-incoming = 240
idletime-outgoing = 30
ratetype = 0
unitlength = 90
unitlengthsrc = aocd
dialretries = 3
dialrandincr = on
recoverytime = 25
usedown = off
downtries = 2
downtime = 30
At least I configured my rc.local file in this way:
isdnd
echo -n 'Configuring ISP to T-Online:'
echo -n ' spppcontrol';
spppcontrol isp0 myauthname="xxxxxxxxxxxxxxxx#0001" \
myauthproto=pap \
myauthsecret="xxxxxxxxxxxxxxx"
echo -n ' up';
ifconfig isp0 up
echo '.'