Date: Wed, 11 Mar 1998 11:47:42 +0100 From: Eric Feillant <Eric.Feillant@EUnet-Bretagne.fr> To: hm@hcs.de Cc: freebsd-isdn@FreeBSD.ORG Subject: Re: i4b patch Message-ID: <35066BCE.9EBC10CC@EUnet-Bretagne.fr> References: <m0yCRL2-0000cTC@hcswork.hcs.de>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi Helmut and ISDN/FreeBSD users! I'm not far for my system to work now... but i still have problem.... Here is my dmesg result: Copyright (c) 1992-1997 FreeBSD Inc. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 2.2.2-RELEASE #0: Tue Mar 10 18:52:44 CET 1998 root@asterix.EUnet-Bretagne.fr:/usr/src/sys/compile/ISDN CPU: i486DX (486-class CPU) real memory = 16777216 (16384K bytes) avail memory = 14708736 (14364K bytes) Probing for devices on the ISA bus: sc0 at 0x60-0x6f irq 1 on motherboard sc0: VGA color <16 virtual consoles, flags=0x0> ed0 at 0x280-0x29f irq 5 on isa ed0: address 08:00:17:0a:15:7d, type NE2000 (16 bit) sio0 at 0x3f8-0x3ff irq 4 on isa sio0: type 16550A sio1 at 0x2f8-0x2ff irq 3 on isa sio1: type 16550A fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa fdc0: NEC 765 fd0: 1.44MB 3.5in aha0 at 0x330-0x333 irq 11 drq 5 on isa (aha0:0:0): "MICROP 1588-15MB1036511 AS0C" type 0 fixed SCSI 1 sd0(aha0:0:0): Direct-Access 636MB (1304052 512 byte sectors) (aha0:5:0): "ARCHIVE Python 28388-XXX 5.45" type 1 removable SCSI 2 st0(aha0:5:0): Sequential-Access density code 0x13, 512-byte blocks, write-enabl ed (aha0:6:0): "SKJY C@)RKI C@Q)8003A " type 1 removable SCSI 2 st1(aha0:6:0): Sequential-Access density code 0x0, drive empty isic0 at 0x268 irq 12 flags 0x12 on isa isic0: USRobotics Sportster ISDN TA intern (IOM-2) isic0: ISAC 2085 Version A1/A2 or 2086/2186 Version 1.1 (Addr=0xc268) isic0: HSCX 82525 or 21525 Version 2.1 (AddrA=0x268, AddrB=0x4268) npx0 flags 0x1 on motherboard npx0: INT 16 interface apm0: disabled, not probed. changing root device to sd0a i4b: ISDN call control device attached i4bisppp: 4 ISDN SyncPPP device(s) attached i4bctl: ISDN system control port attached i4bipr: 4 IP over raw HDLC ISDN device(s) attached i4btel: 2 ISDN telephony interface device(s) attached i4brbch: 4 raw B channel access device(s) attached I use a US ROBOTICS ISDN TA CARD Here's my /etc/rc.isdn file ==> #!/bin/sh # output device for fullscreen mode out_dev=/dev/ttyv3 # terminal type for fullscreen mode out_typ=cons25 # Adresse de la machine ^` joindre ROUTEUR="193.107.122.7" # Mise en place de l'interface isppp0 pour ALTICA # Attention, il y a un mot de passe ici. # Ce fichier doit donc avoir les droits de lecture ad^iquats echo "configuring I4BISDN/PPP-interface isppp0 to ALTICA" ifconfig isppp0 link1 0.0.0.0 $ROUTEUR netmask 255.255.255.192 debug ifconfig isppp0 down spppcontrol isppp0 authproto=chap myauthname=XXX myauthsecret=XXXP ca llin hisauthproto=none echo 'adding default route to ALTICA' route add default $ROUTEUR if [ -f /var/log/isdnd.log ] echo "rotating /var/log/isdnd.log file ..." cd /var/log if [ -f isdnd.log4 ] ; then mv -f isdnd.log4 isdnd.log5 ; fi if [ -f isdnd.log3 ] ; then mv -f isdnd.log3 isdnd.log4 ; fi if [ -f isdnd.log2 ] ; then mv -f isdnd.log2 isdnd.log3 ; fi if [ -f isdnd.log1 ] ; then mv -f isdnd.log1 isdnd.log2 ; fi if [ -f isdnd.log0 ] ; then mv -f isdnd.log0 isdnd.log1 ; fi cp -pf isdnd.log isdnd.log0 cat /dev/null > isdnd.log fi # start the isdn daemon if [ -x /usr/local/bin/isdnd ] then if [ -f /var/run/isdnd.pid ] then echo 'Another isdnd is running as PID `cat /var/run/isdnd.pid`' else echo 'starting the isdn4bsd ISDN management daemon ...' /usr/local/bin/isdnd -d0xf9 -f -r $out_dev -t $out_typ if [ -x /usr/local/bin/isdntrace ] then echo 'starting the isdn4bsd ISDN tracing facility ...' nohup /usr/local/bin/isdntrace -f/var/tmp/isdn.trace >/dev/null 2>&1 & fi fi Here's my /etc/isdn/isdnd.rc file system ratesfile = /etc/isdn/isdnd.rates # name & location of rates file useacctfile = no # generate accouting info to file acctall = off # generate info for everything acctfile = /var/log/isdnd.acct # name & location of accounting file regexpr = "connected.*KTS" # look for matches in log messages regprog = connectKTS # execute program whan match is found rtprio = 25 # modify isdnd's priority #====================================================================== # example for sPPP #====================================================================== entry name = ALTICA usrdevicename = isppp usrdeviceunit = 0 isdncontroller = 0 isdnchannel = -1 local-phone-incoming = 36 remote-phone-incoming = * remote-phone-dialout = 02989XXXX remdial-handling = first dialin-reaction = accept dialout-type = normal b1protocol = hdlc idletime-incoming = 240 idletime-outgoing = 20 # delai d'inactivite' avant raccrochage ratetype = 0 unitlength = 180 unitlengthsrc = rate dialretries = 1 # nombre de reessais avant abandon dialrandincr = on recoverytime = 25 usedown = on # mettre l'interface down si ca ne marche pas downtries = 2 # au bout de combien d'essais ? downtime = 30 # combien de temps apres le dernier essai ? # EOF #########################-,############################################## When i run /etc/rc.isdn , all seems to be great except that the isppp0 interface stay down ...... here's here my ifconfig -a results => ed0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 inet 193.107.210.133 netmask 0xffffff00 broadcast 193.107.210.255 ether 08:00:17:0a:15:7d isppp0: flags=2814<DEBUG,POINTOPOINT,SIMPLEX,LINK1> mtu 1500 inet 0.0.0.0 --> 193.107.122.7 netmask 0xffffffc0 isppp1: flags=810<POINTOPOINT,SIMPLEX> mtu 1500 isppp2: flags=810<POINTOPOINT,SIMPLEX> mtu 1500 isppp3: flags=810<POINTOPOINT,SIMPLEX> mtu 1500 ipr0: flags=10<POINTOPOINT> mtu 1500 ipr1: flags=10<POINTOPOINT> mtu 1500 ipr2: flags=10<POINTOPOINT> mtu 1500 ipr3: flags=10<POINTOPOINT> mtu 1500 lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet 127.0.0.1 netmask 0xff000000 Here's the error message i got on my console: i4b-L1-isic_isac_irq: RPF, input buffer OVERFLOW! i4b-L1-isic_isac_irq: RME, error or input buffer overflow i4b-L1-isic_isac_irq: RPF, input buffer OVERFLOW! i4b-L1-F_ill: FSM function F_ill executing i4b-L1-isic_next_state: FSM Illegal State ERROR, oldstate = F6 Synchronizd, newstate = F3a Power Down, event = EV_DR Deactivate Req! thanx for trying to help me...... -- ========= ____ ===== Eric Feillant ======== / / / ___ ___ /_ ====== EUnet BRETAGNE ======= /---- / / / / /___/ / ======= 140, bd de Creach Gwen ====== /____ /___/ / / /___ /_ ======== 29000 QUIMPER, France ===== Bretagne ========= Tel:(+33) 298101620 Fax:(+33) 298101629 Eric.Feillant@EUnet.fr http://www.EUnet.fr Partenaire CISCO, CHECKPOINT (FIREWALL), BAY NETWORKS, NEWBRIDGE, SUN, CITRIX To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?35066BCE.9EBC10CC>