isdn problem

billi

Member
tja irgendwie bekomm ich das net hin mit dem isdn , trotz der ganzen howto's und beispiel configs

also die isdn karte scheint zu funktionieren und ich nutze t-online

meine isdnd.rc config lautet :
--------------------------
system

acctall = on
acctfile = /var/log/isdnd.acct
useacctfile = yes
isdntime = on
monitor-allowed = no

entry

name = I4BPPP
usrdevicename = rbch
usrdeviceunit = 0
isdncontroller = 0
isdnchannel = -1
local-phone-incoming = <meine nummer>
remote-phone-incoming = *
local-phone-dialout = <meine nummer>
remote-phone-dialout = 0191011
dialout-type = normal
b1protocol = hdlc
---------------------------

die ppp.conf lautet:

------------------------
default:
set device /dev/i4brbch0
set dial
set hangup
set login
set proctitle ppp-isdn
set speed sync

account:
set phone 0191011
set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
enable dns
set authname <meine tonline nummern>
set authkey <mein tonline passwort>
-----------------

so und in der resolv.conf steht
nameserver 194.25.2.129

und dann versuch ich mit ppp zu connecten und geb dann dial account ein
aber ppp zeigt nix an , weis jetzt aber nicht ob das normal ist

wenn ich dann aber mit opera zu www.google.de connecten will passiert nix

dann hab ich mal in die /var/log/ppp.log geschaut und da steht :

Oct 29 18:31:20 billi ppp[145]: Phase: Using interface: tun0
Oct 29 18:31:20 billi ppp[145]: Phase: deflink: Created in closed state
Oct 29 18:31:20 billi ppp[145]: Phase: PPP Started (interactive mode).
Oct 29 18:31:23 billi ppp[145]: Phase: bundle: Establish
Oct 29 18:31:23 billi ppp[145]: Phase: deflink: closed -> opening
Oct 29 18:31:23 billi ppp[145]: Phase: deflink: Connected!
Oct 29 18:31:23 billi ppp[145]: Phase: deflink: opening -> dial
Oct 29 18:31:23 billi ppp[145]: Phase: deflink: dial -> carrier
Oct 29 18:34:25 billi ppp[145]: Phase: deflink: /dev/i4brbch0: No carrier (increase ``set cd'' from 180 ?)
Oct 29 18:34:25 billi ppp[145]: Phase: deflink: Disconnected!
Oct 29 18:34:25 billi ppp[145]: Phase: deflink: carrier -> hangup
Oct 29 18:34:25 billi ppp[145]: Phase: deflink: Connect time: 182 secs: 0 octets in, 0 octets out
Oct 29 18:34:25 billi ppp[145]: Phase: deflink: 0 packets in, 0 packets out
Oct 29 18:34:25 billi ppp[145]: Phase: total 0 bytes/sec, peak 0 bytes/sec on Wed Oct 29 18:31:23 2003
Oct 29 18:34:25 billi ppp[145]: Phase: deflink: hangup -> closed
Oct 29 18:34:25 billi ppp[145]: Phase: bundle: Dead
Oct 29 18:44:08 billi ppp[145]: Phase: PPP Terminated (normal).


also so langsam verliere ich die lust und ich weis nicht mehr was ich machen soll
also bitte helft mir :P
danke
 
Oct 29 18:34:25 billi ppp[145]: Phase: deflink: /dev/i4brbch0: No carrier (increase ``set cd'' from 180 ?)
In meiner pppd.conf steht z.B. das hier:
Code:
default:
 set cd 180
 set device /dev/i4brbch0
 set dial
 set hangup
 set login
 set proctitle ppp-isdn
 set speed sync

tonline:
 set phone "0191011"
 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
 add default HISADDR
 set authname <anschlusskennung><t-onlinenummer><0001>
 set authkey <password>

und meine isdnd.rc sieht so aus:
Code:
#==============================================================================
# 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

rtprio          = 25
beepconnect     = on

# monitor
# -------


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

# name                  = I4BIP         # name for reference. This name will
                                        # be used in the logfile to identfy
                                        # this entry.
name                    = I4BPPP
                                        # the network or telephone device
                                        # the data traffic should be routed to:
usrdevicename           = rbch  #ipr            # 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    = xx        # this is my number
remote-phone-incoming   = 0123456789    # this one can call in

                                        # numbers used at DIAL OUT time:
local-phone-dialout     = xx        # this is my number
remote-phone-dialout    = xx       # i call this remote number

                                        # in case i have several remote
                                        # telephone numbers specified, this
                                        # is used to specify which one is
                                        # used next on dial fail or retry:
remdial-handling        = first         # first, last or next

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

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

callbackwait            = 1             # no of secs to wait before calling back

                                        # type of protocol on the B-channel:
                                        # hdlc must be specified for IP (the
                                        # ipr and isp drivers), raw must be
                                        # specified for telephone answering
b1protocol              = hdlc          # hdlc, raw

                                        # shorthold mode and idle time
                                        # configuration:
ratetype                = 0             # ratesfile entry to use
unitlength              = 130           # unitlength to assume
unitlengthsrc           = none #rate            # none, rate, cmdl, conf, aocd
idletime-incoming       = 120           # incoming call idle timeout
idletime-outgoing       = 120           # 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            = off           # random dial increment time
recoverytime            = 5             # time to wait between 2 dial tries
usedown                 = off           # set i/f down
downtries               = 5             # retry cycles before set down
downtime                = 30            # time to be in down before going up
dialin-reaction         = ignore #callback      # accept, reject, ignore, answer, callback

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

callbackwait            = 1             # no of secs to wait before calling back

                                        # type of protocol on the B-channel:
                                        # hdlc must be specified for IP (the
                                        # ipr and isp drivers), raw must be
                                        # specified for telephone answering
b1protocol              = hdlc          # hdlc, raw

                                        # shorthold mode and idle time
                                        # configuration:
ratetype                = 0             # ratesfile entry to use
unitlength              = 130           # unitlength to assume
unitlengthsrc           = none #rate            # none, rate, cmdl, conf, aocd
idletime-incoming       = 120           # incoming call idle timeout
idletime-outgoing       = 120           # 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            = off           # random dial increment time
recoverytime            = 5             # time to wait between 2 dial tries
usedown                 = off           # set i/f down
downtries               = 5             # retry cycles before set down
downtime                = 30            # time to be in down before going up

connectprog             = "ip-up"       # run /etc/isdn/ip-up when an interface
                                        # has established its network connection.
                                        # example parameters are:
                                        # /etc/isdn/ip-up -d isp0 -f up -a 192.110.12.14
#disconnectprog         = "ip-down"     # like connectprog, but run after the connection
                                        # is closed (ISDN layer down). The actual
                                        # interface address might not be known
                                        # any more. example parameters are:
                                        # /etc/isdn/ip-up -d isp0 -f down -a 0.0.0.0

Damit funktionierts, allerdings hört es sich bei dir so an, als ob der pppd kein Freizeichen (no carrier) bekommt. Ein funktionierender Verbindungsaufbau sieht so in den logs aus:
Code:
Oct 30 19:15:51 undercover ppp[735]: Phase: Using interface: tun0
Oct 30 19:15:51 undercover ppp[735]: Phase: deflink: Created in closed state
Oct 30 19:15:51 undercover ppp[736]: Phase: PPP Started (background mode).
Oct 30 19:15:51 undercover ppp[736]: Phase: bundle: Establish
Oct 30 19:15:51 undercover ppp[736]: Phase: deflink: closed -> opening
Oct 30 19:15:51 undercover ppp[736]: Phase: deflink: Connected!
Oct 30 19:15:51 undercover ppp[736]: Phase: deflink: opening -> dial
Oct 30 19:15:51 undercover ppp[736]: Phase: deflink: dial -> carrier
Oct 30 19:15:52 undercover ppp[736]: Phase: deflink: /dev/i4brbch0: CD detected
Oct 30 19:15:52 undercover ppp[736]: Phase: deflink: carrier -> login
Oct 30 19:15:52 undercover ppp[736]: Phase: deflink: login -> lcp
Oct 30 19:15:54 undercover ppp[736]: Phase: bundle: Authenticate
Oct 30 19:15:54 undercover ppp[736]: Phase: deflink: his = PAP, mine = none
Oct 30 19:15:54 undercover ppp[736]: Phase: Pap Output: xxx ***
Oct 30 19:15:54 undercover ppp[736]: Phase: Pap Input: SUCCESS ()
Oct 30 19:15:54 undercover ppp[736]: Phase: deflink: lcp -> open
Oct 30 19:15:54 undercover ppp[736]: Phase: bundle: Network
Oct 30 19:15:54 undercover ppp[735]: Phase: Parent: PPP enabled

Also konntest du dich garnicht einwählen und folglich auch nicht mit Opera ect. surfen.

Sorry, wurden etwas viele <code>s.
 
grr , habs jetzt genau so gemacht , aber es kommt immer noch dieser "no carrier (increase set cd from 180 ) " fehler

dat kann doch nicht wahr sein :(
 
auf jeden fall musst du mal gucken ob du in der ppp.conf folgendes drinnen hast das ist wichtig:


default:
set cd 180
set device /dev/i4brbch0
set dial
set hangup
set login
set proctitle ppp-isdn
set speed sync

tonline:
set phone "0191011"
set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
add default HISADDR
set authname <anschlusskennung><t-onlinenummer><0001>
set authkey <password>

und bitte beachte das der abstand vor den zeilen sein MUSS!!!!
 
Hatte den Fehler auch mal, weiss aber leider nicht mehr genau, wie ich ihn gelöst habe. Jedenfalls hat das glaub sehr wahrscheinlich nichts mit der ppp.conf zu tun, da das Modem überhaupt nicht erst zum Wählen kommt aufgrund des fehlenden Carrier.
Vielleicht auch mal den anderen B-Kanal als Device nehmen. Was ich dir noch sagen kann ist, dass bei mir (entgegen der Empfehlung in der Fehlermeldung) eine Veränderung des cd-Werts exakt nichts gebracht hat.
 
Zuletzt bearbeitet:
hab alles exakt so drin stehen , aber dat carrier problem hat ich schon bei linux nicht hinbekommen

nur bei redhat und knoppix gehts , weil die machen das irgendwie automatisch , is aber echt mist so abhaengig zu sein , nur wegen so einem dummen carrier problem :mad:
 
Hast du die Karte auch mal in einem anderen Slot probiert bzw. mal ein bisschen an den IRQs im BIOS rumgespielt? Bei mir wars beim Einrichten von ISDN unter FreeBSD auch so, dass ich kurz vor dem Aufgeben war. Keine Verbindung hat geklappt, auch nach x HowTos. Meine Karte lief auch unter versch. Linuxen bzw. Windows problemlos, nur unter BSD nicht. Letztendlich hat ein Umstecken in einen anderen Slot und Ändern der IRQ-Zuordnung das Problem gelöst. Vielleicht funktionierts ja auch bei dir. Zum Abschluss poste ich auch mal meine ppp.conf:
default:
allow users inet i2
set cd 180
set device /dev/i4brbch0 /dev/i4brbch1 # Beide ISDN Kanaelen initialisieren
set dial
set hangup
set login
set proctitle ppp-isdn
set speed sync
disable ipv6cp
tonline:
set timeout 480
set redial 3 0
set phone "0191011" # Nummer des Internetproviders
set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.255 0.0.0.0
add default HISADDR
enable dns
set authname "...........................#0001"
set authkey "......................."

Das mit den allow users musst du halt bei dir dann entsprechend weglassen oder anpassen.
 
Hmm,
dann könntest du höchstens noch eine andere Karte ausprobieren, wenn du evtl. noch eine zweite rumfliegen hast. Wobei davon aber auch nicht viel zu erwarten ist. :(
 
Hallo billi,

mach doch einfach mal folgenden Test:
(1) Schließ mal an das ISDN-Kabel, das in Deinem Rechner steckt, ein ISDN-Telefon an und rufe jemand an.
Während des Gesprächs mal das Kabel bewegen. Falls Du Knackgeräusche oder Aussetzer hörst, mußt Du das Kabel tauschen.
(2) Hast Du eine ISDN-Anlage? Falls ja, schau doch mal die Konfiguration durch.
(3) Besorg DIr mal eine andere zu dem Treiber passende Karte.
(4) Was sagt denn dmesg? Vielleicht gibt es bei der Initialisierung der Karte ein Problem.
(5) Sonst fällt mir nichts weiter ein.

Vielleicht bringt es Dich/Uns auf eine Spur, wie Dir geholfen werden kann.

Viele Grüße

Jürgen
 
Weitere Lösungsvorschläge:
- Den Rechner mit einem so kurzen Kabel wie möglich direkt an den NTBA anschließen (wenn möglich)
- Mal eine andere Leitung nehmen (anderen S0-Bus)

Ein Telefon anschließen dürfte nicht viel Aussagen immerhin geht es ja mit anderen Betriebssystemen an der gleichen Leitung. Ich denke das BSD da recht Störungsempfindlich ist, bzw. sich recht streng an Grenzwerte hält.

Als ich Probleme mit meiner AVM-Karte hatte, hab ich mir bei EBay für 1,- EUR ne Teles gekauft. Seit dem läufts problemlos.
 
Original geschrieben von XPectIT
Als ich Probleme mit meiner AVM-Karte hatte, hab ich mir bei EBay für 1,- EUR ne Teles gekauft. Seit dem läufts problemlos.
Seltsam, meine AVM wollte unter BSD auch nicht so recht. Hab mir dann ebenfalls bei Ebay eine recht günstige Elsa gekauft und seitdem läufts auch.
 
ich hab jetzt eine elsa microlink pci bei ebay erstanden
nur kommt der fehler immernoch :(
kann jetzt aber auch am kernel liegen , da beim booten irgendwie die isdn karte net angezeigt wird

welche kernel optionen brauch ich denn fuer die microlink pci ?
und welche meldung zeigt er dann beim booten ?

danke
 
Soweit ich mich erinnere, stehen die Kernel-Optionen unter /usr/share/examples/isdn bzw. im ISDN-Howto auf der Seite von Hellmuth Michaelis:
http://people.freebsd.org/~hm/i4b-1001/node29.html
Wie das mit der Elsa Microlink beim Booten aussieht kann ich dir frühestens am WE sagen, da ich dann erst wieder an meinem ISDN-Rechner sitze. Bei mir funktioniert sie jedenfalls einwandfrei.
 
Mal zum Mut machen:
Ich hatte damals so ziemlich die gleichen Fehler und heute läufts auch! :)
Hast du mal eine andere Buchse probiert? Bei mir verhielt sich BSD in der Beziehung glaub ziemlich zickig, obwohl die Buchse unter Win und Linux ging.
 
ob n isdn router was bringen koennte ?
und nutzt man bei nen isdn router n anderes protocol ? , weil man is ja per lan dann verbunden oder ?
 
ob n isdn router was bringen koennte
Kann schon sein.

Aber dann benutzt dein Rechner ja praktisch kein ISDN mehr. Sondern hat den ISDN-Router als Gateway eingestellt und schickt die Pakete ganz "normal" als über die Netzwerkkarte. Die Umsetzung vom LAN ins Internet, Autentifizierung beim Provider, etc. macht dann alles der Router. So gesehen musst du nur den Router zum laufen bringen, dann klappts auch mit dem PC.
 
Zurück
Oben