(no subject)

From: Markus Knorr <m.knorr(at)juliusspital.de>
Date: Thu, 08 Aug 2002 10:23:38 +0200

Hallo an alle,

nachdem die Telekom mir nach einem Umzug mitleidslos mitgeteilt hat, das ich
mein DSL abschreiben kann, versuche ich nun schon seit längerem einen
ISDN-Router mit FBSD aufzusetzen (..nachdem OBSD das ganze nur in 2.8
unterstützt!).

Ich möchte meine Maschine als ISDN-Router für mein kleines Netzwerk nutzen und
habe deshalb beim installieren die Routerfunktion aktiviert....

Ein Fehler????

Flugs das i4b-096-packet ausm Netz gelutscht und schon gings los!

1. Ausführen des Scripts Overinstall.sh im FBSD-Directory um den alten
Schmodder zu backup&acute;en
2. cd .. und make depend && make && make install
3. die config ausm i4b/FBSD DIR dem Kernel angehängt und auf meine Fritz! PCI
konfiguriert
4. Kernel kompiliert und - siehe da - er erkennt meine Karte!

Soweit dürfte also alles passen....

Hier habe ich euch die relevanten Info&acute;s der Bootmessages gecutet:

------------------- schnipp schnapp --------------------
ifpi0: port 0x6200-0x621f mem 0xe1003000-0xe100301f irq 11 at device 10.0 on
pci0
ifpi0: ISAC 2085 Version A1/A2 or 2086/2186 Version 1.1 (IOM-2)
ifpi0: passive stack unit 0

und

i4btrc: 4 ISDN trace device(s) attached
i4bisppp: 4 ISDN SyncPPP device(s) attached (VJ header compression)
i4b: ISDN call control device attached
i4btel: 2 ISDN telephony interface device(s) attached
i4brbch: 4 raw B channel access device(s) attached
i4bipr: 4 IP over raw HDLC ISDN device(s) attached (VJ header compression)
i4bctl: ISDN system control port attached

als Fehlermeldung kommt bei mir

Aug 4 22:02:21 isdnd[51]: ERR configuration error: syntax error at line 103,
token "ifconfig"
Aug 4 22:02:21 isdnd[51]: ERR there were 1 error(s) in the configuration file,
terminating!
-------------------- schnipp schnapp ---------------------

5. Die isdnd.rc im /etc/isdn Verzeichniss hat bei mir folgende einträge:

#==============================================================================
# SYSTEM section: isdnd global configuration parameters
#==============================================================================
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 = no # global switch: monitor on/off

# realtime priority section
# -------------------------

rtprio = 25 # modify isdnd's process priority

#==============================================================================
# entry section: IP over ISDN example - i call back the remote end
#==============================================================================
entry

name = freenet # 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 = isp # ipr, isp, tel, rbch
usrdeviceunit = 0 # unit number

# the ISDN controller number to be
# used for this entry:
isdncontroller = 0 # controller to use or -1 to use any
isdnchannel = -1 # channel (1/2) to use or 0 or -1 for any

# incoming only, outgoing only or both:
direction = out # in, out, inout

# numbers used to verify a DIAL IN:
#local-phone-incoming = xxxxxxxxxx # this is my number
#remote-phone-incoming = xxxxxxxxxx # this one can call in

# numbers used at DIAL OUT time:
local-phone-dialout = xxxxxxxxxx # this is my number
remote-phone-dialout = 01019019231760 # Freenet Call by Call

remdial-handling = first # first, last or next

# what happenes if someone dials in:
dialin-reaction = ignore # accept, reject, ignore, answer, callback

# normal dialout or do i call back:
dialout-type = normal # normal / calledback

b1protocol = hdlc # hdlc, raw

ratetype = 0 # ratesfile entry to use
unitlength = 180 # unitlength to assume
unitlengthsrc = conf # none, rate, cmdl, conf, aocd
idletime-outgoing = 180 # outgoing call idle timeout
earlyhangup = 5 # time to hangup before an expected
# next charging unit will occur

# retry and recovery parameters
dialretries = 3 # # of dial retries
dialrandincr = on # random dial increment time
recoverytime = 5 # time to wait between 2 dial tries
usedown = off # set i/f down
downtries = 2 # retry cycles before set down
downtime = 30 # time to be in down before going up

ifconfig isp0 delete -link1 down
ifconfig isp0 0.0.0.0 0.0.0.1 netmask 0xffffffff link1 debug

# EOF #########################################################################

Der Webmaster möge mir für den langen Eintrag verzeihen.

Aber nun wird es interessant:

Da ich dial on demand verwenden möchte (von meinem rl0-Interface) habe ich wie
im FBSD-Buch die beiden Zeilen (ifconfig) an das Ende der isdnd.rc angefügt.
Er moniert mir beim booten aber einen Error in der letzten Zeile der isdnd.rc.
<-Satzzeichen

Muss ich in der letzten Zeile einen Router angeben?
In der Mailinglist hat selbst Helmuth Michaelis das verwenden von 0.0.0.1
empfohlen......

Durch den Befehl: add route default -interface isp0 habe ich doch meine
Routingtabelle dauerhaft editiert, oder muss den Befehl mit
defaultrouter="-interface isp0" in der rc.conf eintragen?

Dort habe ich auch zum starten des isdnd isdn_enable="yes" eingetragen.

Ich beschäftige mich nun schon seit vier tagen mit diesem Problem und komm
einfach nicht weiter. Bitte net flamen, da ich RTFM nach der Lektüre
verschiedenster Sourcen, auch das Manual von Helmuth, eigentlich gemacht
habe...

Hat jemand Erfahrungen mit dem Perl-Script von Juraj Sipos gemacht?
Beim durchsehen habe ich als einzigsten Unterschied aber die isppp-Einträge
feststellen können, und der Wechsel auf ppp soll ja nicht nötig sein....

Danke schonmal für eure Mithilfe.

so long

Leon

-- 
Sent
To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Thu 08 Aug 2002 - 10:24:13 CEST

search this site