PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : ISDN unter FreeBSD, läuft nicht richtig...



KillerGurke
28.09.02, 17:10
Hallo,
ich bekomme irgendwie meine Frtitz Card PCI (nicht Version 2) nicht so richtig zum laufen. Die oft angegebene Kernel-Konfiguration (options AVM_A1_PCI, device isic0) funktionierte nicht richtig, erst mit "device ifpi0" funktionierte es, diese Möglichkeit habe ich irgendwo in Internet gefunden. Der ISDN-relevante Teil meiner Kernel-Konfigurationsdatei sieht nun also so auch und scheint auch richtig zu sein:



device ifpi0
pseudo-device "i4bq921"
pseudo-device "i4bq931"
pseudo-device "i4b"
pseudo-device "i4btrc" 4
pseudo-device "i4bctl"
pseudo-device "i4brbch" 4
pseudo-device "i4btel" 2
pseudo-device "i4bipr" 4
pseudo-device "i4bisppp" 4
pseudo-device sppp
options IPR_VJ
options IPR_LOG=32


Soweit so gut, meine isdnd.rc sieht folgendermaßen aus:



#================================================= =============================
# 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: PPP example
#================================================= =====================
entry
name = I4BPPP
usrdevicename = isp
usrdeviceunit = 0
isdncontroller = 0
isdnchannel = -1
local-phone-incoming = 1234
remote-phone-incoming = 5678
local-phone-dialout = 14622 #
remote-phone-dialout = 019160
remdial-handling = first
dialin-reaction = reject
dialout-type = normal
b1protocol = hdlc
idletime-outgoing = 120
ratetype = 0
unitlength = 180
unitlengthsrc = conf
dialretries = 3
dialrandincr = on
recoverytime = 25
usedown = off
downtries = 2
downtime = 30


Ich poste jetzt auch gerade nochmal meine ppp.conf:



default:
set log Phase LCP IPCP CCP tun command
set device /dev/i4brbch0
set speed sync
enable dns
set phone 019160
set login
set authname Benutzername
set authkey Kennwort
set ifaddr 0.0.0.0/0 0.0.0.1/0 255.255.255.0 0.0.0.0
add default HISADDR
set timeout 300
dial


Zuerst einmal fragte ich mich, wie unter FreeBSD überhaupt eine Einwahl ausgelöst wird, sowas wie isdnctrl scheints ja wohl nicht zu geben. Naja, einmal bevolgte ich weiter die Anleitung, in der stand, man solle "ppp -auto -default" aufrufen. Mir gefällt diese Auto-Geschichte nicht, weil ich eigentlich nicht automatisch bei Bedarf eingewählt werden will, aber erstmal wollte ich sehen, obs überhaupt funktioniert. Aber: Das tut es nicht! Irgendwie heisst es "default route already exists" oder so, wenn ichs einfach nochmal probiere, dann funktioniert das Kommando ohne Fehlermdeldung. Wenn ich das richtig verstanden habe, soll ja nun bei Bedard eine Einwahl erfolgen, also habe ich auf einer anderen Konsole einen Ping abgesetzt der Fehlschlug. Es kam "Host unreacheable" oder sowas, es tat sich einfach garnichts...nach ein oder zwei Minuten habe ich den Pink-Versuch dann abgebrochen. Irgendwie scheint also der Wurm drin zu sein...nur wo?

Tja, ich hoffe mir kann hier jemand helfen, als absolut BSD-Unkundiger Linux-Umsteiger bin ich mit meinem Latein am Ende.

mfg

KillerGurke

tomes
28.09.02, 18:45
-----snip-----
default:
set device /dev/i4brbch0
set speed sync
set login
set hangup
add default HISADDR

isp:
set authname ...
set authkey ...
set phone ....
-----snap-----

Dann kann man mit mit # ppp -auto isp
versuchen eine Verbindung aufzubauen.
Allerdings muss vorher der isdn- Daemon gestartet werden
z.B. /PATH/zu/isdnd -d0xf9 -s 18

Ansonsten sieht es eigendlich gut aus.

T;o)Mes

KillerGurke
28.09.02, 19:20
Danke erstmal für die Antwort. Deine Variante ist ja von meiner nicht weit entfernt, bei mir stand halt alles unter default, so daß ich versuchte mit "ppp -auto defaukt" die Verbindung aufzubauen, was nicht funktionierte, auch deine Version verhält sich leider genauso. Ich habe irgendwo in den Tiefen des Internets gefunden, man könne mit folgenden Kommandos eine Verbindung aufbauen:


ifconfig isp0 link1 0.0.0.0 193.158.76.64 netmask 0xffffff00 debug
ifconfig isp0 down
spppcontrol isp0 myauthproto=pap myauthname=xxxxx myauthsecret="xxxxx" hisauthsecret=none
ifconfig isp0 up
route add default -interface isp0

doch hierbei hagelt es bei mir Fehlermdeldungen, mal ein kurzer Auszug:



ep 28 19:43:42 /kernel: isp0: lcp open(initial)
Sep 28 19:43:42 /kernel: isp0: phase establish
Sep 28 19:43:44 /kernel: isp0: Up event
Sep 28 19:43:44 /kernel: isp0: lcp up(starting)
Sep 28 19:43:44 /kernel: isp0: lcp output <conf-req id=0x8 len=10 05-06-52-d4-be-1b>
Sep 28 19:43:44 /kernel: isp0: lcp input(req-sent): <conf-req id=0x1 len=25 01-04-05-ea-03-04-c0-23-05-06-81-a8-b7-88-11-04-05-ea-13-03-00>
Sep 28 19:43:44 /kernel: isp0: lcp parse opts: mru auth-proto magic lcp/0x11 [rej] lcp/0x13 [rej] send conf-rej
Sep 28 19:43:44 /kernel: isp0: lcp output <conf-rej id=0x1 len=11 11-04-05-ea-13-03-00>
Sep 28 19:43:44 /kernel: isp0: lcp input(req-sent): <conf-ack id=0x8 len=10 05-06-52-d4-be-1b>
Sep 28 19:43:44 /kernel: isp0: lcp input(ack-rcvd): <conf-req id=0x2 len=18 01-04-05-ea-03-04-c0-23-05-06-81-a8-b7-88>
Sep 28 19:43:44 /kernel: isp0: lcp parse opts: mru auth-proto magic
Sep 28 19:43:44 /kernel: isp0: lcp parse opt values: mru 1514 auth-proto magic 0x81a8b788 send conf-ack
Sep 28 19:43:44 /kernel: isp0: lcp output <conf-ack id=0x2 len=18 01-04-05-ea-03-04-c0-23-05-06-81-a8-b7-88>
Sep 28 19:43:44 /kernel: isp0: lcp tlu
Sep 28 19:43:44 /kernel: isp0: phase authenticate
Sep 28 19:43:44 /kernel: isp0: pap output <req id=0x3 len=41 1c-63-77-65-69-64-6d-61-6e-6e-38-32-40-63-6f-6d-70-75-73-65-72-76-65-70-72-6f-2e-64-65-07-6d-61-69-62-61-6
3-68>
Sep 28 19:43:44 /kernel: isp0: lcp input(opened): <conf-req id=0x1 len=19 01-04-05-78-03-05-c2-23-05-05-06-00-01-91-b6>
Sep 28 19:43:44 /kernel: isp0: lcp parse opts: mru auth-proto magic
Sep 28 19:43:44 /kernel: isp0: lcp parse opt values: mru 1400 auth-proto [mine proto/0x0 != his chap] magic 0x191b6 send conf-nak
Sep 28 19:43:44 /kernel: isp0: lcp output <conf-nak id=0x1 len=9 03-05-c0-23-05>
Sep 28 19:43:44 /kernel: isp0: phase terminate
Sep 28 19:43:44 /kernel: isp0: lcp output <conf-req id=0x9 len=10 05-06-52-d4-be-1b>
Sep 28 19:43:45 /kernel: isp0: lcp input(req-sent): <conf-req id=0x2 len=19 01-04-05-78-03-05-c2-23-05-05-06-00-01-91-b6>
Sep 28 19:43:45 /kernel: isp0: lcp parse opts: mru auth-proto magic
Sep 28 19:43:45 /kernel: isp0: lcp parse opt values: mru 1400 auth-proto [mine proto/0x0 != his chap] magic 0x191b6 send conf-nak
Sep 28 19:43:45 /kernel: isp0: lcp output <conf-nak id=0x2 len=9 03-05-c0-23-05>
Sep 28 19:43:45 /kernel: isp0: lcp input(req-sent): <conf-nak id=0x9 len=10 02-06-00-00-00-00>
Sep 28 19:43:45 /kernel: isp0: lcp nak opts: async-map
Sep 28 19:43:45 /kernel: isp0: lcp output <conf-req id=0xa len=10 05-06-52-d4-be-1b>
Sep 28 19:43:45 /kernel: isp0: lcp input(req-sent): <conf-req id=0x3 len=19 01-04-05-78-03-05-c2-23-05-05-06-00-01-91-b6>
Sep 28 19:43:45 /kernel: isp0: lcp parse opts: mru auth-proto magic
Sep 28 19:43:45 /kernel: isp0: lcp parse opt values: mru 1400 auth-proto [mine proto/0x0 != his chap] magic 0x191b6 send conf-nak
Sep 28 19:43:45 /kernel: isp0: lcp output <conf-nak id=0x3 len=9 03-05-c0-23-05>
Sep 28 19:43:45 /kernel: isp0: lcp input(req-sent): <conf-ack id=0xa len=10 05-06-52-d4-be-1b>
Sep 28 19:43:45 /kernel: isp0: lcp input(ack-rcvd): <conf-req id=0x4 len=19 01-04-05-78-03-05-c2-23-05-05-06-00-01-91-b6>
Sep 28 19:43:45 /kernel: isp0: lcp parse opts: mru auth-proto magic
Sep 28 19:43:45 /kernel: isp0: lcp parse opt values: mru 1400 auth-proto [mine proto/0x0 != his chap] magic 0x191b6 send conf-nak
Sep 28 19:43:45 /kernel: isp0: lcp output <conf-nak id=0x4 len=9 03-05-c0-23-05>
Sep 28 19:43:45 /kernel: isp0: lcp input(ack-rcvd): <conf-req id=0x5 len=19 01-04-05-78-03-05-c2-23-05-05-06-00-01-91-b6>
Sep 28 19:43:45 /kernel: isp0: lcp parse opts: mru auth-proto magic
Sep 28 19:43:45 /kernel: isp0: lcp parse opt values: mru 1400 auth-proto [mine proto/0x0 != his chap] magic 0x191b6 send conf-nak


Jetzt bin ich völlig ratlos....

mfg

KillerGurke

Grifter
30.09.02, 14:05
ich hab zwar kein freebsd (mehr), hatte es aber auch mal mit isdn am laufen.

ich habs immer so gemacht:

- isdnd starten mit "isdnd -f" (in nem xterm vorzugsweise)
- ppp starten mit ppp default (glaub ich) und dann bei der eingabeaufforderung >connect eingeben (oder wars dial?). jedenfalls kann man so manuell eine verbindung aufbauen.

viel glück
wenns nicht klapp kann ich ja noch meine kernel-config (freebsd 4.6.2) und meine isdn und ppp konfiguration posten (hab die dateien noch irgendwo).