From owner-freebsd-isdn Sun Jul 30 2: 9:31 2000 Delivered-To: freebsd-isdn@freebsd.org Received: from magicdoor.deam.org (magicdoor.deam.org [62.156.171.17]) by hub.freebsd.org (Postfix) with ESMTP id 3487F37B550 for ; Sun, 30 Jul 2000 02:09:26 -0700 (PDT) (envelope-from mac@deam.org) Received: from [10.10.10.11] (ppc.deam.org [10.10.10.11]) by magicdoor.deam.org (8.9.3/8.9.3) with ESMTP id LAA12210 for ; Sun, 30 Jul 2000 11:09:23 +0200 (CEST) (envelope-from mac@deam.org) User-Agent: Microsoft Outlook Express Macintosh Edition - 5.0 (1513) Date: Sun, 30 Jul 2000 11:09:17 +0200 Subject: howto for fritz and ppp From: DEAMmac To: isdn Message-ID: Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org hi there, i searched the webinterface but couldn't find a howto for my "special" case. i need to set up a freebsd-box (4.1-STABLE) as a gateway for a small network. i got a NE2000-networkcard configured with a private net (10.10.10.0) and those firewall/ipdivert stuff in the kernel. until now i didn't activate the natd but the firewall with "open". my isdn-card is a fritz-card but i got this error-message on boottime: isic0: HSCX VSTR test failed for AVM A1/Fritz isic0: HSC0: VSTR: 0xff isic0: HSC1: VSTR: 0xff i set up the card with this default stuff from LINT options AVM_A1 device isic0 at isa? port 0x340 irq 5 flags 4 (btw. i am not sure that my card is isa, because the machine is from a friend and he didn't know about this.... but the AVM_A1_PCI with isic0 didn't work and so i think it is isa. maybe i should open the box :) but the real thing i am looking for is: how to set up all this firewall-nat-ppp-stuff to get the dialup running? because i need some scripting for dialup on ip-request and close after a specific time of no transfer..... any links or ready documents? thanks in advance klaus - DaMac@irc: #team23.org PGP-ID#: 0x6F28F58E PGP-Type: DH/DSS | 2048/1024 -------------------------------------> http://mac.deam.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Sun Jul 30 9: 0:59 2000 Delivered-To: freebsd-isdn@freebsd.org Received: from fmdb.c3.hu (dial-178.digitel2002.hu [213.163.2.178]) by hub.freebsd.org (Postfix) with SMTP id CC4E037B64F for ; Sun, 30 Jul 2000 09:00:41 -0700 (PDT) (envelope-from mico@bsd.hu) Received: (qmail 3172 invoked by uid 1004); 30 Jul 2000 14:52:34 -0000 From: "Miklos Niedermayer" Date: Sun, 30 Jul 2000 16:52:34 +0200 To: DEAMmac Cc: isdn Subject: Re: howto for fritz and ppp Message-ID: <20000730165234.A3137@bsd.hu> Mail-Followup-To: Niedermayer Miklos , DEAMmac , isdn References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: ; from mac@deam.org on Sun, Jul 30, 2000 at 11:09:17AM +0200 X-Operating-System: FreeBSD 4.0 - The Power to Serve Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hello, DEAMmac: > i set up the card with this default stuff from LINT > options AVM_A1 > device isic0 at isa? port 0x340 irq 5 flags 4 > (btw. i am not sure that my card is isa, because the machine is from a > friend and he didn't know about this.... but the AVM_A1_PCI with isic0 > didn't work and so i think it is isa. maybe i should open the box :) Are you sure that you have an AVM A1? Yes, you should open the box to see what kind of fritz you have. > but the real thing i am looking for is: how to set up all this > firewall-nat-ppp-stuff to get the dialup running? > because i need some scripting for dialup on ip-request and close after a > specific time of no transfer..... You don't need kernel firewall code to do NAT with ISDN, when user-level PPP is used. Please take a look at /usr/share/examples/ppp. I am also going to forward you some mails of the last weeks. -- ______ o _. __ / / / (_(_(__(_) @ bsd.hu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Sun Jul 30 10:49: 9 2000 Delivered-To: freebsd-isdn@freebsd.org Received: from magicdoor.deam.org (magicdoor.deam.org [62.156.171.17]) by hub.freebsd.org (Postfix) with ESMTP id BA84C37B515 for ; Sun, 30 Jul 2000 10:48:37 -0700 (PDT) (envelope-from mac@deam.org) Received: from [10.10.10.11] (ppc.deam.org [10.10.10.11]) by magicdoor.deam.org (8.9.3/8.9.3) with ESMTP id TAA16186 for ; Sun, 30 Jul 2000 19:48:38 +0200 (CEST) (envelope-from mac@deam.org) User-Agent: Microsoft Outlook Express Macintosh Edition - 5.0 (1513) Date: Sun, 30 Jul 2000 19:48:31 +0200 Subject: more "howto fritz and ppp" From: DEAMmac To: isdn Message-ID: Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org hi there again, first: thank you miklos for the mails. i think the "normal" ppp could go faster to a success. in general: i am really new to ppp, because i got my router an a adsl without any big configuration problems ;-) so far: i attached my isdn-card, witch _is_ a isa one, to the system with this message at boot-time: isic0 at port 0x1b00-0x1b1f,0x16e0-0x16ff,0x6e0-0x6ff,0xee0-0xeff,0x1300-0x131f,0x300-0x31 f,0xb00-0xb1f irq 11 flags 0x4 on isa0 isic0: AVM A1 or Fritz!Card Classic 2. i changed the isdnd.rc from the /usr/share/examples/ppp and put it in /etc/isdn 3. i changed the ppp.conf from the /usr/share/examples/ppp and put it in /etc/ppp now i got the problem with this ppp-stuff: at boottime i got many warnings like "Waring: set phone: No context (use the 'link' command). in my /var/log/ppp.log there is always this, if i try to dial: Jul 30 21:33:50 lolita ppp[96]: Phase: 1: hangup -> opening Jul 30 21:33:50 lolita ppp[96]: Phase: 1: Enter pause (3) for redialing. Jul 30 21:33:53 lolita ppp[96]: Phase: 1: Connected! Jul 30 21:33:53 lolita ppp[96]: Phase: 1: opening -> dial Jul 30 21:33:53 lolita ppp[96]: Phase: 1: dial -> carrier Jul 30 21:33:59 lolita ppp[96]: Phase: 1: /dev/i4brbch0: No carrier (increase ``set cd'' from 6 ?) Jul 30 21:33:59 lolita ppp[96]: Phase: 1: Disconnected! Jul 30 21:33:59 lolita ppp[96]: Phase: 1: carrier -> hangup Jul 30 21:33:59 lolita ppp[96]: Phase: 1: Connect time: 6 secs: 0 octets in, 0 octets out Jul 30 21:33:59 lolita ppp[96]: Phase: total 0 bytes/sec, peak 0 bytes/sec on Sun Jul 30 21:33:59 2000 the isdntrace0 puts out some cryptic-stuff i don't understand.... in the kernel-config i activated pseudo-device ppp pseudo-device "i4bq921" pseudo-device "i4bq931" pseudo-device "i4b" pseudo-device "i4btrc" 4 pseudo-device "i4bctl" pseudo-device "i4brbch" 4 and the card itself :) it maybe help if i put the configs in here: ---------------------------- start ppp.conf default: # Replace this with your ISPs phone number set phone 123456789 # Replace these with your login name & password. This profile assumes # you're using PAP or CHAP. set authname somename@okay.net set authkey password # Assuming you have a LAN: set enddisc mac enable lqr set reconnect 3 5 set redial 3 10 set lqrperiod 45 disable pred1 deflate deny pred1 deflate # Our minimum charge period is 5 minutes, so don't hangup before then set timeout 60 300 # We have no chat scripts in the ISDN world (yet) set dial set login set hangup # Use the raw B-channel devices # set device /dev/i4brbch0 /dev/i4brbch1 set device /dev/i4brbch0 set speed sync set bandwidth 65536 # How long does it take to connect with ISDN ? link * set cd 6 # Ask the peer what to put in resolv.conf enable dns # Take a wild guess and let the other side decide set ifaddr 172.16.0.1/0 212.0.0.0/0 add! default hisaddr # Multilink mode please set mrru 1500 # Two new links clone 1,2 # And get rid of the old one with the crusty name link deflink rm # Automatically manage the second link link * set mode auto set autoload 10 100 30 # Otherwise, do things via the diagnostic port set server /tmp/pavilion "" 0177 ---------------------------- end ppp.conf ---------------------------- start isdnd.rc #=========================================================================== === # SYSTEM section: isdnd global configuration parameters #=========================================================================== === system # accounting # ---------- acctall = on # generate info for everything acctfile = /etc/isdn/isdnd.acct # name & location of accounting file useacctfile = yes # generate accouting info to file isdntime = on monitor-allowed = no # global switch: monitor on/off #================================================================= # User-ppp example #================================================================= entry name = userppp0 usrdevicename = rbch usrdeviceunit = 0 isdncontroller = 0 isdnchannel = -1 local-phone-incoming = * remote-phone-incoming = * local-phone-dialout = 123456789 remote-phone-dialout = 1234567 # ppp(8) will override this remdial-handling = first dialin-reaction = ignore dialout-type = normal b1protocol = hdlc idletime-incoming = 900 # Should be larger than ppps timeout idletime-outgoing = 900 # Should be larger than ppps timeout ratetype = 0 unitlength = 90 unitlengthsrc = rate dialretries = 3 dialrandincr = on recoverytime = 1 # Should be smaller than ppps redial usedown = off downtries = 2 downtime = 30 ---------------------------- end isdnd.rc ---------------------------- start rc.conf ifconfig_ed0="inet 10.10.10.100 netmask 255.255.255.0" hostname="lolita.deam.org" saver="star" font8x8="iso-8x8" font8x14="iso-8x14" font8x16="iso-8x16" scrnmap="iso-8859-1_to_cp437" keyrate="fast" keymap="german.iso" pccard_ifconfig="NO" pccard_mem="DEFAULT" sshd_enable="YES" isdn_enable="YES" isdn_trace="YES" ppp_enable="YES" ppp_profile="default" ---------------------------- end rc.conf sorry, but i am really new to ppp and i don't know where to start. thanks in advance klaus - DaMac@irc: #team23.org PGP-ID#: 0x6F28F58E PGP-Type: DH/DSS | 2048/1024 -------------------------------------> http://mac.deam.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Sun Jul 30 18:16:48 2000 Delivered-To: freebsd-isdn@freebsd.org Received: from mail.gmx.net (pop.gmx.net [194.221.183.20]) by hub.freebsd.org (Postfix) with SMTP id 8FD6137B8C8 for ; Sun, 30 Jul 2000 18:16:42 -0700 (PDT) (envelope-from pirol9999@gmx.net) Received: (qmail 27655 invoked by uid 0); 31 Jul 2000 01:16:41 -0000 Received: from p3e9efd85.dip0.t-ipconnect.de (HELO gmx.net) (62.158.253.133) by mail.gmx.net with SMTP; 31 Jul 2000 01:16:41 -0000 Date: Mon, 31 Jul 2000 03:18:49 +0200 From: Jens Sauer Reply-To: Jens Sauer To: freebsd-isdn@FreeBSD.ORG, freebsd-questions@FreeBSD.ORG Subject: Where to put a command? X-Mailer: Jens Sauer's registered AK-Mail 3.1 publicbeta2a [ger] Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20000731011642.8FD6137B8C8@hub.freebsd.org> Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hello, can anybody tell me, where to put a command, that shall be executed every time my ISDN-Card dials out again ("on demand" - and gets a new IP-address). I have to refresh my firewall-rules at every change of the outside-ip-address Is "isdnd.rc" the right one ( /etc/rc is only executed at boot-time, right?) I'm so bloody new to BSD, please help..... Thanks in advance Jens To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Mon Jul 31 2:43:46 2000 Delivered-To: freebsd-isdn@freebsd.org Received: from mout1.freenet.de (mout1.freenet.de [194.97.50.132]) by hub.freebsd.org (Postfix) with ESMTP id 0F59837B8CC; Mon, 31 Jul 2000 02:43:39 -0700 (PDT) (envelope-from netchild@leidinger.net) Received: from [194.97.50.144] (helo=mx1.freenet.de) by mout1.freenet.de with esmtp (Exim 3.16 #1) id 13JC6f-0004rp-00; Mon, 31 Jul 2000 11:43:33 +0200 Received: from a3188.pppool.de ([213.6.49.136] helo=Magelan.Leidinger.net) by mx1.freenet.de with esmtp (Exim 3.16 #1) id 13JC6e-0001bq-00; Mon, 31 Jul 2000 11:43:33 +0200 Received: from Leidinger.net (netchild@localhost [127.0.0.1]) by Magelan.Leidinger.net (8.9.3/8.9.3) with ESMTP id LAA01248; Mon, 31 Jul 2000 11:42:32 +0200 (CEST) (envelope-from netchild@Leidinger.net) Message-Id: <200007310942.LAA01248@Magelan.Leidinger.net> Date: Mon, 31 Jul 2000 11:42:31 +0200 (CEST) From: Alexander Leidinger Subject: Re: Where to put a command? To: pirol9999@gmx.net Cc: freebsd-isdn@FreeBSD.ORG, freebsd-questions@FreeBSD.ORG In-Reply-To: <20000731011642.8FD6137B8C8@hub.freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On 31 Jul, Jens Sauer wrote: > can anybody tell me, where to put a command, > that shall be executed every time my ISDN-Card > dials out again ("on demand" - and gets a new IP-address). > I have to refresh my firewall-rules at every > change of the outside-ip-address > > Is "isdnd.rc" the right one ( /etc/rc is only executed > at boot-time, right?) In isdnd.rc you have to add: ---snip--- connectprog = "your_prog_or_shell_script" ---snip--- (there's also a "disconnectprog") to your dial on demand entry. After that you can put everything you want into /etc/isdn/your_prog_or_shell_script, e.g.: ---snip--- #!/bin/sh # $1 = -d # $2 = # $3 = -f # $4 = # $5 = -a # $6 = if [ "X$1" != "X-d" -o "X$3" != "X-f" -o "X$5" != "X-a" -o "X$6" = "X" ]; then # I'm awaiting the correct commandline! logger -t ISDN connectprog called without correct commandline! exit 1 fi if [ "X$4" != "Xup" ]; then # what shall I do? logger -t ISDN connectprog called with param4 = $4 exit 1 fi # do your stuff here ---snip--- Bye, Alexander. -- I believe the technical term is "Oops!" http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = 7423 F3E6 3A7E B334 A9CC B10A 1F5F 130A A638 6E7E To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Mon Jul 31 2:51:28 2000 Delivered-To: freebsd-isdn@freebsd.org Received: from fmdb.c3.hu (dial-055.digitel2002.hu [213.163.2.55]) by hub.freebsd.org (Postfix) with SMTP id D99E337BBFF for ; Mon, 31 Jul 2000 02:51:17 -0700 (PDT) (envelope-from mico@bsd.hu) Received: (qmail 916 invoked by uid 1004); 31 Jul 2000 06:34:12 -0000 From: "Miklos Niedermayer" Date: Mon, 31 Jul 2000 08:34:12 +0200 To: Jens Sauer Cc: freebsd-isdn@FreeBSD.ORG, freebsd-questions@FreeBSD.ORG Subject: Re: Where to put a command? Message-ID: <20000731083412.A895@bsd.hu> Mail-Followup-To: Niedermayer Miklos , Jens Sauer , freebsd-isdn@FreeBSD.ORG, freebsd-questions@FreeBSD.ORG References: <20000731011642.8FD6137B8C8@hub.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <20000731011642.8FD6137B8C8@hub.freebsd.org>; from pirol9999@gmx.net on Mon, Jul 31, 2000 at 03:18:49AM +0200 X-Operating-System: FreeBSD 4.0 - The Power to Serve Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hello, Jens Sauer: > can anybody tell me, where to put a command, > that shall be executed every time my ISDN-Card > dials out again ("on demand" - and gets a new IP-address). > I have to refresh my firewall-rules at every > change of the outside-ip-address If you are using user-level PPP, you can use its ppp.linkup features, otherwise man isdnd.rc: connectprog specifies a program run everytime after a connec- tion is established and address negotiation is complete (i.e.: the connection is useable). Isdnd expects to find the program below the path /etc/isdn which is prepended to the string speci- fied as a parameter to this keyword. The programs specified by connect and disconnect will get the following command line arguments: -d (device) -f (flag) [ -a (addr) ] where device is the name of device, e.g. "isp0", flag will be "up" if connec- tion just got up, or "down" if interface changed to down state and addr the address that got as- signed to the interface as a dotted-quad ip ad- dress (optional, only if it can be figured out by isdnd). (optional) If you are dealing with the packet filter you should deal with it a bit more, it would be better if it wouldn't need refresh every time. You should specify your tun0 or isp0 interface, not their IP address. If you are using user-level PPP, please take a look at its filtering features. Good luck. -- ______ o _. __ / / / (_(_(__(_) @ bsd.hu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Mon Jul 31 2:51:30 2000 Delivered-To: freebsd-isdn@freebsd.org Received: from fmdb.c3.hu (dial-055.digitel2002.hu [213.163.2.55]) by hub.freebsd.org (Postfix) with SMTP id AE2EC37BB47 for ; Mon, 31 Jul 2000 02:51:17 -0700 (PDT) (envelope-from mico@bsd.hu) Received: (qmail 802 invoked by uid 1004); 31 Jul 2000 06:09:03 -0000 From: "Miklos Niedermayer" Date: Mon, 31 Jul 2000 08:09:03 +0200 To: DEAMmac Cc: isdn Subject: Re: more "howto fritz and ppp" Message-ID: <20000731080903.A763@bsd.hu> Mail-Followup-To: Niedermayer Miklos , DEAMmac , isdn References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: ; from mac@deam.org on Sun, Jul 30, 2000 at 07:48:31PM +0200 X-Operating-System: FreeBSD 4.0 - The Power to Serve Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, DEAMmac: > 2. i changed the isdnd.rc from the /usr/share/examples/ppp and put it in > /etc/isdn It may need some further customization. > now i got the problem with this ppp-stuff: at boottime i got many warnings > like "Waring: set phone: No context (use the 'link' command). Have you set yout phone number(s) in isdnd.rc carefully? ppp.conf: > # Use the raw B-channel devices > # set device /dev/i4brbch0 /dev/i4brbch1 > set device /dev/i4brbch0 You should use rbch1, too. It won't use both channels at the same time (unless you want multilink), but makes the connection possible if you are hanging on the other channel talking with your favourite girlfriend. > # Multilink mode please > set mrru 1500 > > # Two new links > clone 1,2 > > # And get rid of the old one with the crusty name > link deflink rm > > # Automatically manage the second link > link * set mode auto > set autoload 10 100 30 You only need these if you want multilink PPP, on both B channels. However, with this setup you can't make a multilink connection because you specified only rbch0 (with 'set device'). isdnd.rc: > local-phone-incoming = * > remote-phone-incoming = * > local-phone-dialout = 123456789 > remote-phone-dialout = 1234567 # ppp(8) will override this You should set these ones to their correct values. Good luck. -- ______ o _. __ / / / (_(_(__(_) @ bsd.hu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Mon Jul 31 9:19:19 2000 Delivered-To: freebsd-isdn@freebsd.org Received: from cool.coolfactor.org (cool.coolfactor.org [212.25.240.39]) by hub.freebsd.org (Postfix) with ESMTP id AC3BE37B541 for ; Mon, 31 Jul 2000 09:19:14 -0700 (PDT) (envelope-from gavan@coolfactor.org) Received: from localhost ([127.0.0.1] helo=paper.durnsford.net ident=gavan) by cool.coolfactor.org with esmtp (Exim 3.03 #1) id 13JIHY-00011W-00 for freebsd-isdn@freebsd.org; Mon, 31 Jul 2000 17:19:12 +0100 Received: from gavan (helo=localhost) by paper.durnsford.net with local-esmtp (Exim 3.03 #1) id 13JIEh-0002lL-00 for freebsd-isdn@freebsd.org; Mon, 31 Jul 2000 17:16:15 +0100 Date: Mon, 31 Jul 2000 17:16:14 +0100 (BST) From: Gavan Fantom To: freebsd-isdn@freebsd.org Subject: established sppp connection confused by incoming call Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I use sppp on one channel to maintain a connection to my ISP. This works fine until I receive an incoming call, at which point the sppp connection stops sending or receiving packets, but remains in the 'network' state. I'm using BT Home Highway (so we only get to see calls to the 'ISDN' number), and a BT Speedway PCI (which is to most of you an AVM Fritz card) on NetBSD with i4b 0.90. I had to patch i4b to fix the problem of leaking mbufs after voice hangup. I have an 'answerphone' script, which uses dtmfdecode to receive commands to play mp3s, put the machine online etc. When a call comes in, the answerphone script picks up, everything works fine, call clears normally. However, this leaves the sppp connection confused. I *think* this happens at the beginning of the incoming call. This is obviously quite irritating, not least because I get occasional wrong numbers on that line, thanks to BT reallocating numbers too quickly. Has anybody experienced or heard of similar problems, or does anybody have any idea where to look to further diagnose this problem? I don't really want to have to disable the answerphone script, as I use it on a regular basis to put the machine online so that I can log in to it. Thanks for your time, and I hope you have at least some idea of the problem here. ;-) -- Gillette - the best a man can forget To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Mon Jul 31 12:28:24 2000 Delivered-To: freebsd-isdn@freebsd.org Received: from widukind.bi.teuto.net (widukind.bi.teuto.net [212.8.197.28]) by hub.freebsd.org (Postfix) with ESMTP id 66CA937BBE0 for ; Mon, 31 Jul 2000 12:28:19 -0700 (PDT) (envelope-from martin@rumolt.teuto.de) Received: from rumolt.teuto.de (IDENT:root@rumolt.teuto.de [212.8.203.81]) by widukind.bi.teuto.net (8.9.3/8.9.3) with ESMTP id VAA10525; Mon, 31 Jul 2000 21:28:14 +0200 Received: (from martin@localhost) by rumolt.teuto.de (8.11.0/8.10.2) id e6VJQSu20224; Mon, 31 Jul 2000 21:26:28 +0200 (MEST) From: Martin Husemann Message-Id: <200007311926.e6VJQSu20224@rumolt.teuto.de> Subject: Re: established sppp connection confused by incoming call In-Reply-To: from Gavan Fantom at "Jul 31, 2000 05:16:14 pm" To: gavan@coolfactor.org (Gavan Fantom) Date: Mon, 31 Jul 2000 21:26:28 +0200 (MEST) Cc: freebsd-isdn@FreeBSD.ORG Organization: Crusaders Catering Services Inc. ;-) X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > I use sppp on one channel to maintain a connection to my ISP. This works > fine until I receive an incoming call, at which point the sppp connection > stops sending or receiving packets, but remains in the 'network' state. I use NetBSD (both 1.5_Alpha and -current), i4b 0.90 and isp as a connection to my provider. I do have incoming calls (using ipr) during this and the connection does not get confused. I would try to manually trigger the problem, put the isp interface in debug mode and see what happenes. Martin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Mon Jul 31 13:15:11 2000 Delivered-To: freebsd-isdn@freebsd.org Received: from cool.coolfactor.org (cool.coolfactor.org [212.25.240.39]) by hub.freebsd.org (Postfix) with ESMTP id 1AD0937BCCE for ; Mon, 31 Jul 2000 13:15:00 -0700 (PDT) (envelope-from gavan@coolfactor.org) Received: from localhost ([127.0.0.1] helo=paper.durnsford.net ident=gavan) by cool.coolfactor.org with esmtp (Exim 3.03 #1) id 13JLxh-0001DY-00 for freebsd-isdn@freebsd.org; Mon, 31 Jul 2000 21:14:57 +0100 Received: from gavan (helo=localhost) by paper.durnsford.net with local-esmtp (Exim 3.03 #1) id 13JLuj-0002p3-00; Mon, 31 Jul 2000 21:11:53 +0100 Date: Mon, 31 Jul 2000 21:11:53 +0100 (BST) From: Gavan Fantom To: Martin Husemann Cc: freebsd-isdn@FreeBSD.ORG Subject: Re: established sppp connection confused by incoming call In-Reply-To: <200007311926.e6VJQSu20224@rumolt.teuto.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Mon, 31 Jul 2000, Martin Husemann wrote: > > I use sppp on one channel to maintain a connection to my ISP. This works > > fine until I receive an incoming call, at which point the sppp connection > > stops sending or receiving packets, but remains in the 'network' state. > > I use NetBSD (both 1.5_Alpha and -current), i4b 0.90 and isp as a connection > to my provider. I do have incoming calls (using ipr) during this and the > connection does not get confused. OK, I'm using i4btel > I would try to manually trigger the problem, put the isp interface in debug > mode and see what happenes. Absolutely bugger all: [call setup stuff, indicating that isp0 is in fact in debug mode] [at this point I phoned frog] Jul 31 21:00:11 frog isdnd[338]: CHD 00624 I4BTEL answering: incoming call from NotAvailable to MyNumber () Jul 31 21:00:11 frog isdnd[338]: CHD 00624 I4BTEL incoming call active (ctl 0, ch 1, tel0) Jul 31 21:00:22 frog isdnd[338]: CHD 00624 I4BTEL incoming call disconnected (remote) Jul 31 21:00:22 frog isdnd[338]: CHD 00624 I4BTEL cause 16: Normal call clearing (Q.850) Jul 31 21:00:22 frog isdnd[338]: CHD 00624 I4BTEL connected 11 seconds [at this point I could no longer ping anything on the remote end of the link, yet spppcontrol isp0 reported that the connection was in the network phase. This does not automatically resolve even after a few minutes] [Then, a few minutes later, I brought the link down] Jul 31 21:07:30 frog /netbsd: isp0: lcp close(opened) Jul 31 21:07:30 frog /netbsd: isp0: phase terminate Jul 31 21:07:30 frog /netbsd: isp0: ipcp down(opened) Jul 31 21:07:30 frog /netbsd: isp0: ipcp close(starting) Jul 31 21:07:30 frog /netbsd: isp0: lcp output Jul 31 21:07:33 frog /netbsd: isp0: lcp TO(closing) rst_counter = 2 Jul 31 21:07:33 frog /netbsd: isp0: lcp output Jul 31 21:07:35 frog /netbsd: isp0: lcp close(closing) Jul 31 21:07:35 frog last message repeated 2 times Jul 31 21:07:35 frog /netbsd: isp0: lcp open(closing) Jul 31 21:07:38 frog /netbsd: isp0: lcp TO(stopping) rst_counter = 1 Jul 31 21:07:38 frog /netbsd: isp0: lcp output Jul 31 21:07:41 frog isdnd[338]: CHD 00623 I4BPPP1 outgoing call disconnected (local) Jul 31 21:07:41 frog isdnd[338]: CHD 00623 I4BPPP1 cause 0: normal call clearing (I4B) Jul 31 21:07:41 frog isdnd[338]: CHD 00623 I4BPPP1 charging: 0 units, 475 seconds Jul 31 21:07:41 frog isdnd[338]: CHD 00623 I4BPPP1 accounting: in 9630, out 22159 (in 3292094, out 22159) [then I brought the link up again and everything was fine - until the next phone call] Am I right in understanding that these logs show a timeout sending an LCP close request? If so, which layers sit below LCP, and what's the best way to debug this? -- Gillette - the best a man can forget To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Mon Jul 31 14:14:14 2000 Delivered-To: freebsd-isdn@freebsd.org Received: from widukind.bi.teuto.net (widukind.bi.teuto.net [212.8.197.28]) by hub.freebsd.org (Postfix) with ESMTP id 0F8EA37BD06 for ; Mon, 31 Jul 2000 14:14:09 -0700 (PDT) (envelope-from martin@rumolt.teuto.de) Received: from rumolt.teuto.de (IDENT:root@rumolt.teuto.de [212.8.203.81]) by widukind.bi.teuto.net (8.9.3/8.9.3) with ESMTP id XAA15804; Mon, 31 Jul 2000 23:14:04 +0200 Received: (from martin@localhost) by rumolt.teuto.de (8.11.0/8.10.2) id e6VLC2K10142; Mon, 31 Jul 2000 23:12:02 +0200 (MEST) From: Martin Husemann Message-Id: <200007312112.e6VLC2K10142@rumolt.teuto.de> Subject: Re: established sppp connection confused by incoming call In-Reply-To: from Gavan Fantom at "Jul 31, 2000 09:11:53 pm" To: gavan@coolfactor.org (Gavan Fantom) Date: Mon, 31 Jul 2000 23:12:02 +0200 (MEST) Cc: freebsd-isdn@FreeBSD.ORG Organization: Crusaders Catering Services Inc. ;-) X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Am I right in understanding that these logs show a timeout sending an LCP > close request? No, these logs seem to show there is no B-channel activity going on after your tel0 call came in. Could you check if this happens after the incoming call is accepted (case 1) or after the tel0 call is disconnected (case 2)? Simply try to bring the isp link down while the tel0 call is still active - this should show the details. I have no idea why a tel0 connection should mess with your B-channel assigned to the isp0 connection. You could try another one: Phone in (to get B channel 0 assigned to the phone connection), dial out via isp, then terminate the tel0 call (now isp0 should be at B channel 1), then test if another incoming phone call messes isp0 up. Martin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Tue Aug 1 4: 4:20 2000 Delivered-To: freebsd-isdn@freebsd.org Received: from smtp01.wxs.nl (smtp01.wxs.nl [195.121.6.61]) by hub.freebsd.org (Postfix) with ESMTP id 3275637B84E for ; Tue, 1 Aug 2000 04:04:18 -0700 (PDT) (envelope-from frits.lichtenbelt@planet.nl) Received: from menf ([195.121.176.205]) by smtp01.wxs.nl (Netscape Messaging Server 3.61) with SMTP id AAE3C49 for ; Tue, 1 Aug 2000 13:04:14 +0200 Message-ID: <000401bffba7$d3ec4450$0100000a@menf> From: "Frits Lichtenbelt" To: Subject: ISDNMonitor NewBie Question Date: Tue, 1 Aug 2000 09:33:59 +0200 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_005A_01BFFB9B.9F32EA40" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org This is a multi-part message in MIME format. ------=_NextPart_000_005A_01BFFB9B.9F32EA40 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello, I'm not sure I understand the concept of the ISDNmonitor. How can I use = this to remote monitor the isdnd status ? "isdnmonitor -h localhost" = works fine, but I can telnet to isdnmonitor without getting only = garbage.=20 Thanks, Frits ------=_NextPart_000_005A_01BFFB9B.9F32EA40 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hello,
 
I'm not sure I understand the concept = of the=20 ISDNmonitor. How can I use this to remote monitor the isdnd status ?=20 "isdnmonitor -h localhost" works fine, but I can telnet to isdnmonitor = without=20 getting only garbage.
 
Thanks, = Frits
------=_NextPart_000_005A_01BFFB9B.9F32EA40-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Tue Aug 1 4:31: 7 2000 Delivered-To: freebsd-isdn@freebsd.org Received: from widukind.bi.teuto.net (widukind.bi.teuto.net [212.8.197.28]) by hub.freebsd.org (Postfix) with ESMTP id 72A5337B98B for ; Tue, 1 Aug 2000 04:31:04 -0700 (PDT) (envelope-from martin@rumolt.teuto.de) Received: from rumolt.teuto.de (IDENT:root@rumolt.teuto.de [212.8.203.81]) by widukind.bi.teuto.net (8.9.3/8.9.3) with ESMTP id NAA31820; Tue, 1 Aug 2000 13:31:02 +0200 Received: (from martin@localhost) by rumolt.teuto.de (8.11.0/8.10.2) id e71BPKa04226; Tue, 1 Aug 2000 13:25:20 +0200 (MEST) From: Martin Husemann Message-Id: <200008011125.e71BPKa04226@rumolt.teuto.de> Subject: Re: ISDNMonitor NewBie Question In-Reply-To: <000401bffba7$d3ec4450$0100000a@menf> from Frits Lichtenbelt at "Aug 1, 2000 09:33:59 am" To: frits.lichtenbelt@planet.nl (Frits Lichtenbelt) Date: Tue, 1 Aug 2000 13:25:19 +0200 (MEST) Cc: freebsd-isdn@FreeBSD.ORG Organization: Crusaders Catering Services Inc. ;-) X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > I'm not sure I understand the concept of the ISDNmonitor. How can I use this > to remote monitor the isdnd status ? "isdnmonitor -h localhost" works fine, > but I can telnet to isdnmonitor without getting only garbage. (Could you please send readable e-mails by breaking after, say, 77 characters?) If you have host "mygateway" running isdnd with appropriate monitor connections configured, try "isdnmonitor -h mygateway". No, you can not telnet to that port, the same way you can't telnet to an X-windows server port or your local SMB port. It's not telnet protocol. Martin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Tue Aug 1 13:30:57 2000 Delivered-To: freebsd-isdn@freebsd.org Received: from peedub.muc.de (peedub.muc.de [193.149.49.109]) by hub.freebsd.org (Postfix) with ESMTP id 286D437B69C for ; Tue, 1 Aug 2000 13:30:54 -0700 (PDT) (envelope-from garyj@peedub.muc.de) Received: from peedub.muc.de (localhost [127.0.0.1]) by peedub.muc.de (8.9.3/8.6.9) with ESMTP id WAA20890; Tue, 1 Aug 2000 22:23:34 +0200 (CEST) Message-Id: <200008012023.WAA20890@peedub.muc.de> X-Mailer: exmh version 2.1.1 10/15/1999 To: Gavan Fantom Cc: Martin Husemann , freebsd-isdn@FreeBSD.ORG Subject: Re: established sppp connection confused by incoming call Reply-To: Gary Jennejohn In-reply-to: Your message of "Mon, 31 Jul 2000 21:11:53 BST." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 01 Aug 2000 22:23:34 +0200 From: Gary Jennejohn Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Gavan Fantom writes: > On Mon, 31 Jul 2000, Martin Husemann wrote: > > > > I use sppp on one channel to maintain a connection to my ISP. This works > > > fine until I receive an incoming call, at which point the sppp connection > > > stops sending or receiving packets, but remains in the 'network' state. [big snip] > Am I right in understanding that these logs show a timeout sending an LCP > close request? If so, which layers sit below LCP, and what's the best way > to debug this? > Turn on ALL kernel trace using isdndebug and show us the results. You stated in your first mail that you patched the Fritz!PCI driver to avoid the hang wgich can result when a raw channel is shutdown. Are you sure you did it right ? Can I see a diff between your version and the unpatched version ? (I wrote the driver BTW). --- Gary Jennejohn / garyj@muc.de gj@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Wed Aug 2 6:38:52 2000 Delivered-To: freebsd-isdn@freebsd.org Received: from tuminfo2.informatik.tu-muenchen.de (tuminfo2.informatik.tu-muenchen.de [131.159.0.81]) by hub.freebsd.org (Postfix) with ESMTP id AC0A237BA3E for ; Wed, 2 Aug 2000 06:38:50 -0700 (PDT) (envelope-from rath@informatik.tu-muenchen.de) Received: from sunhalle27.informatik.tu-muenchen.de ([131.159.4.163] HELO sunhalle27.informatik.tu-muenchen.de ident: rath [port 34737]) by tuminfo2.informatik.tu-muenchen.de with SMTP id <111205-229>; Wed, 2 Aug 2000 15:38:03 +0000 From: Oliver Rath Reply-To: Oliver Rath Subject: Support for Eicon Diva Pro 2.0 To: freebsd-isdn@freebsd.org MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii Content-MD5: aDK/L0RnUSQINOkeineEMw== X-Mailer: dtmail 1.3.0 @(#)CDE Version 1.3.5 SunOS 5.7 sun4u sparc Message-Id: <20000802133803Z111205-229+590@tuminfo2.informatik.tu-muenchen.de> Date: Wed, 2 Aug 2000 15:38:02 +0000 Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi there, exists some support for this card in FreeBSD ? I didnt found the Name in the list. It is an "semiactiv" ISDN-Card with DSP onboard. Thanks in advance, best regards, Oliver Rath To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Wed Aug 2 10:50:28 2000 Delivered-To: freebsd-isdn@freebsd.org Received: from ns1.eds.ch (ns1.eds.ch [194.235.48.8]) by hub.freebsd.org (Postfix) with ESMTP id C8A3E37BCA2 for ; Wed, 2 Aug 2000 10:50:19 -0700 (PDT) (envelope-from roberto.Nunnari@agie.ch) Received: from onyx.eds.ch (onyx.eds.ch [206.122.128.224]) by ns1.eds.ch (8.9.3/8.9.3) with ESMTP id TAA14774 for ; Wed, 2 Aug 2000 19:58:57 +0200 (MET DST) Received: from mailsrv.eds.ch (mailsrv.eds.ch [206.122.128.226]) by onyx.eds.ch (8.9.3/8.9.3) with ESMTP id TAA17283 for ; Wed, 2 Aug 2000 19:54:21 +0200 (MET DST) Received: from agie.ch ([198.132.159.194]) by mailsrv.eds.ch (Netscape Messaging Server 3.6) with ESMTP id AAA594A; Wed, 2 Aug 2000 19:46:06 +0200 Message-ID: <39886D18.5C52F840@agie.ch> Date: Wed, 02 Aug 2000 19:48:56 +0100 From: "Roberto Nunnari, AGIE" Organization: AGIE X-Mailer: Mozilla 4.7 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: Udo Schweigert Cc: Miklos Niedermayer , isdn@freebsd.org Subject: Re: AVM Fritz!Card pnp References: <390EB6D8.1089A80A@agie.ch> <20000502122511.A66256@alaska.cert.siemens.de> <390EBD65.2EBDDEFA@agie.ch> <20000502124235.A66656@alaska.cert.siemens.de> <392CF53E.DE8CC0B4@agie.ch> <20000525112228.A53021@alaska.cert.siemens.de> <397C2D82.76A4F9DC@agie.ch> <20000724130727.A94126@alaska.cert.siemens.de> <20000724145702.F314@bsd.hu> <20000724214909.A1223@alaska.cert.siemens.de> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org OK. I just took my sound card out and every thing went just fine! I have not yet made a kernel with support for the sound card, and that may be why there surely was a resource conflict. Now I only need some fine tuning... A far away day, when rain will be hitting my window, I may decide to give that little box a voice... and you'll hear in the deepest cyberspace a voice... BE THE SOUND!!! (# cd /usr/src/sys/i386/conf; /usr/sbin/config TALKIE; cd ../../compile/TALKIE; make;make install; shutdown -r now) 'and the sound was...' Best regards. -- Roberto Nunnari -software engineer- mailto:roberto.nunnari@agie.ch AGIE - http://www.agie.com Via dei pioppi 16 tel: +41-91-8069138 6616 Losone """ Switzerland (o o) =======================oOO==(_)==OOo======================== MY OPNIONS ARE NOT NECESSARELY THOSE OF MY EMPLOYER > On Wed, Jul 26, 2000 at 16:51:02 +0200, Udo Schweigert wrote: > > This is odd. Something seems to be wrong, class 0xff and Revision 255 should > > be Class 0x9 (if I remember right, don't have the right value here) and > > Revision 1. These values are read from registers in the card, so this first > > read commands from the card were wrong and the whole thing won't work. > > > > I think there is a resource conflict. Please check your interupts and I/O mem > > settings in the BIOS. > > > > I just had a look into my dmesg. Here is what you should see when booting: > > ifpnp0: at port 0x240-0x25f irq 10 on isa0 > ifpnp0: AVM Fritz!Card PnP Class 0x9 Revision 1 > ifpnp0: ISAC 2085 Version A1/A2 or 2086/2186 Version 1.1 (IOM-2) > ifpnp0: passive stack unit 0 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Wed Aug 2 14:38: 1 2000 Delivered-To: freebsd-isdn@freebsd.org Received: from widukind.bi.teuto.net (widukind.bi.teuto.net [212.8.197.28]) by hub.freebsd.org (Postfix) with ESMTP id 327F337BC43 for ; Wed, 2 Aug 2000 14:37:54 -0700 (PDT) (envelope-from martin@rumolt.teuto.de) Received: from rumolt.teuto.de (IDENT:root@rumolt.teuto.de [212.8.203.81]) by widukind.bi.teuto.net (8.9.3/8.9.3) with ESMTP id XAA31486; Wed, 2 Aug 2000 23:37:49 +0200 Received: (from martin@localhost) by rumolt.teuto.de (8.11.0/8.10.2) id e72LVct00629; Wed, 2 Aug 2000 23:31:38 +0200 (MEST) From: Martin Husemann Message-Id: <200008022131.e72LVct00629@rumolt.teuto.de> Subject: Re: Support for Eicon Diva Pro 2.0 In-Reply-To: <20000802133803Z111205-229+590@tuminfo2.informatik.tu-muenchen.de> from Oliver Rath at "Aug 2, 2000 03:38:02 pm" To: rath@tuminfo2.informatik.tu-muenchen.de (Oliver Rath) Date: Wed, 2 Aug 2000 23:31:38 +0200 (MEST) Cc: freebsd-isdn@FreeBSD.ORG Organization: Crusaders Catering Services Inc. ;-) X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > exists some support for this card in FreeBSD ? I didnt found the Name in the > list. It is an "semiactiv" ISDN-Card with DSP onboard. Several people failed (although trying realy hard) to get documentation for this card. The manufacturer didn't offer test cards for driver implementors and none happened to already have one. So: no, not supported. No realistic chance this will change unless you take care of some or all of the above circumstances. Personally I do avoid cards like this. There are cards with documentation available and even helpful manufacturers/distributors. Support these by buing their cards! Martin P.S.: funny anectode: I do have a realy old Diehl active card and documentation for it. I'll finish my I4B driver for this card *sometime* - but noone will be able to buy that card any more :-( To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Thu Aug 3 3:26:31 2000 Delivered-To: freebsd-isdn@freebsd.org Received: from www14.gmx.net (www.gmx.net [194.221.183.54]) by hub.freebsd.org (Postfix) with SMTP id 5309137B8A5 for ; Thu, 3 Aug 2000 03:25:58 -0700 (PDT) (envelope-from jean.peindray@gmx.net) Received: (qmail 15172 invoked by uid 0); 3 Aug 2000 10:25:51 -0000 Date: Thu, 3 Aug 2000 12:25:51 +0200 (MEST) From: jean.peindray@gmx.net To: freebsd-isdn@freebsd.org MIME-Version: 1.0 Subject: i4b 0.90 and 4.1-RELEASE X-Priority: 3 (Normal) X-Authenticated-Sender: #0000939926@gmx.net X-Authenticated-IP: [193.26.143.106] Message-ID: <15165.965298351@www14.gmx.net> X-Mailer: WWW-Mail 1.5 (Global Message Exchange) X-Flags: 0001 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi out there, I newly installed 4.1-RELEASE. As I run /usr/local/src/i4b/overinstall.sh, it stops while trying to patch /usr/src/sys/i386/conf/files.i386 I had a short look around and found out that files.i386 is located under /usr/src/sys/conf/ and not under /usr/src/sys/i386/conf/. I tried to 1) modify overinstall.sh 2) move files.i386 onto /usr/src/sys/i386/conf/, but on both cases while building a new kernel 'make depend' also fails (with something like "Don't know how to make i4b_usr_sti.c). I think that there already exists a patch for overinstall.sh (and overuninstall.sh) but I don't know where to get it. Can someone help me? Thanks in advance Jean -- Sent through GMX FreeMail - http://www.gmx.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Thu Aug 3 4:39:57 2000 Delivered-To: freebsd-isdn@freebsd.org Received: from hcshh.hcs.de (hcshh.hcs.de [194.123.40.1]) by hub.freebsd.org (Postfix) with SMTP id C11A037B8F8 for ; Thu, 3 Aug 2000 04:39:54 -0700 (PDT) (envelope-from hm@hcs.de) Received: from hcswork.hcs.de([192.76.124.5]) (1399 bytes) by hcshh.hcs.de via sendmail with P:smtp/R:inet_hosts/T:smtp (sender: ) id for ; Thu, 3 Aug 2000 13:39:53 +0200 (CEST) (Smail-3.2.0.104 1998-Nov-20 #1 built 1998-Dec-11) Received: by hcswork.hcs.de (Postfix, from userid 200) id C08B9483B; Thu, 3 Aug 2000 13:39:53 +0200 (METDST) Subject: Re: i4b 0.90 and 4.1-RELEASE In-Reply-To: <15165.965298351@www14.gmx.net> from "jean.peindray@gmx.net" at "Aug 3, 0 12:25:51 pm" To: jean.peindray@gmx.net Date: Thu, 3 Aug 2000 13:39:53 +0200 (METDST) Cc: freebsd-isdn@FreeBSD.ORG Reply-To: hm@hcs.de Organization: HCS Hanseatischer Computerservice GmbH X-Mailer: ELM [version 2.4ME+ PL39 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 555 Message-Id: <20000803113953.C08B9483B@hcswork.hcs.de> From: hm@hcs.de (Hellmuth Michaelis) Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > I newly installed 4.1-RELEASE. > > As I run /usr/local/src/i4b/overinstall.sh, it stops while trying to patch > /usr/src/sys/i386/conf/files.i386 There is no need to over- or reinstall i4b because the versions are identical. hellmuth -- Hellmuth Michaelis Tel +49 40 55 97 47-70 HCS Hanseatischer Computerservice GmbH Fax +49 40 55 97 47-77 Oldesloer Strasse 97-99 Mail hm [at] hcs.de D-22457 Hamburg WWW http://www.hcs.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Thu Aug 3 8:34:34 2000 Delivered-To: freebsd-isdn@freebsd.org Received: from unity.copyleft.no (unity.copyleft.no [212.71.72.23]) by hub.freebsd.org (Postfix) with ESMTP id 4946337B603 for ; Thu, 3 Aug 2000 08:34:30 -0700 (PDT) (envelope-from vegard@unity.copyleft.no) Received: from vegard (helo=localhost) by unity.copyleft.no with local-esmtp (Exim 3.03 #1) id 13KN0p-0002uS-00 for freebsd-isdn@FreeBSD.ORG; Thu, 03 Aug 2000 17:34:23 +0200 Date: Thu, 3 Aug 2000 17:34:23 +0200 (CEST) From: Vegard Munthe To: freebsd-isdn@FreeBSD.ORG Subject: ADSL In-Reply-To: <20000803113953.C08B9483B@hcswork.hcs.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Since ISDN and ADSL are related, I hoped someone could help me: Where can I find information on ADSL support for *BSD? Are there any drivers for ADSL cards? Is it possible to set upo and ADSL router with current *BSD software? -- Vegard Munthe Copyleft Software Tel: 22443695 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Fri Aug 4 3: 4: 4 2000 Delivered-To: freebsd-isdn@freebsd.org Received: from morannon.fido.de (morannon.faho.RWTH-Aachen.DE [134.130.57.8]) by hub.freebsd.org (Postfix) with ESMTP id 2C28737BA6A for ; Fri, 4 Aug 2000 03:03:58 -0700 (PDT) (envelope-from tobi@bland.fido.de) Received: from gate.fido.de (news@localhost) by morannon.fido.de (8.9.3/8.9.3/redhat6-morannon-4.4a) with FIDOGATE id MAA10425; Fri, 4 Aug 2000 12:01:02 +0200 Received: by sungate-ftn.fido.de (FIDOGATE 4.3.6) id AA10423; Fri, 04 Aug 2000 12:01:02 +0200 Date: Fri, 04 Aug 2000 11:44:34 +0200 From: tobi@bland.fido.de (Tobias Ernst) Subject: hangup bug in i4b / ppp code Message-ID: To: freebsd-isdn@freebsd.org Organization: Fido.DE domain gateway (Moving Bits e.V. / IN e.V.) Lines: 97 X-Gateway: FIDO morannon.fido.de [FIDOGATE 4.3.6] X-FTN-From: Tobias Ernst @ 242:7600/1.0 X-FTN-To: UUCP @ 242:4900/99.0 X-FTN-Via: 242:7600/0@fido.de @20000804.120206 CFR-OS/2 20000703-devel X-FTN-Via: FIDOGATE/ftntoss 242:1000/1.0, Fri Aug 04 2000 at 12:01:01 CEST X-FTN-Domain: Z242@fidode MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hallo! In February, under the subject "early hangup causing exorbitant telecom fees", I reported a problem with i4b/sppp, where every connection was closed with "normal call clearing" right after it had been established, causing an endless number of failed connection attemps, each being charged with DM 0.12, which caused me over 2000 DM of telecom fees just for 6 hours of fruitless connnection attempts. At that time, the conclusion was that I must have been hit by the "lcp loop bug" in sppp. Consequently, I switched to user ppp. Today I have been hit by the problem again (but now I use a flatrate, so at least no problem with the fees ...), so now I thinkg that it must be a bug in i4b. Here is the logfile from isdnd: 04.08.2000 10:38:41 CHD 01949 userppp0 dialing out from 8700334 to 0192071 04.08.2000 10:38:42 CHD 01949 userppp0 outgoing call proceeding (ctl 0, ch 0) 04.08.2000 10:38:42 CHD 01949 userppp0 outgoing call active (ctl 0, ch 0, rbch0) 04.08.2000 10:38:45 CHD 01949 userppp0 outgoing call disconnected (local) 04.08.2000 10:38:45 CHD 01949 userppp0 cause 0: normal call clearing (I4B) 04.08.2000 10:38:45 CHD 01949 userppp0 charging: 1 units, 3 seconds 04.08.2000 10:38:48 CHD 01950 userppp0 rate 1000 sec/unit (conf) And here the one from ppp: Aug 4 10:38:41 romulus ppp[1035]: tun0: Phase: Phone: 0192071 Aug 4 10:38:41 romulus ppp[1035]: tun0: Phase: deflink: Connected! Aug 4 10:38:41 romulus ppp[1035]: tun0: Phase: deflink: opening -> dial Aug 4 10:38:41 romulus ppp[1035]: tun0: Chat: deflink: Dial attempt 1 of 2 Aug 4 10:38:41 romulus ppp[1035]: tun0: Phase: deflink: dial -> carrier Aug 4 10:38:43 romulus ppp[1035]: tun0: Phase: deflink: /dev/i4brbch0: CD detected Aug 4 10:38:43 romulus ppp[1035]: tun0: Phase: deflink: carrier -> login Aug 4 10:38:43 romulus ppp[1035]: tun0: Phase: deflink: login -> lcp Aug 4 10:38:44 romulus ppp[1035]: tun0: Phase: bundle: Authenticate Aug 4 10:38:44 romulus ppp[1035]: tun0: Phase: deflink: his =3D CHAP 0x05, mine =3Dnone Aug 4 10:38:44 romulus ppp[1035]: tun0: Phase: Chap Input: CHALLENGE (16 bytes from stgdiinternet) Aug 4 10:38:44 romulus ppp[1035]: tun0: Phase: Chap Output: RESPONSE (tobias.ernst) Aug 4 10:38:44 romulus ppp[1035]: tun0: Phase: Chap Input: SUCCESS Aug 4 10:38:44 romulus ppp[1035]: tun0: Phase: mpserver: can't connect to bundle socket /var/run/ppp--01-7374676469696e7465726e6574 (Connection refused) Aug 4 10:38:44 romulus ppp[1035]: tun0: Phase: Has the previous server died badly ? Aug 4 10:38:45 romulus ppp[1035]: tun0: Phase: deflink: Disconnected! Aug 4 10:38:45 romulus ppp[1035]: tun0: Phase: deflink: lcp -> logout Aug 4 10:38:45 romulus ppp[1035]: tun0: Phase: deflink: logout -> hangup Aug 4 10:38:45 romulus ppp[1035]: tun0: Phase: deflink: Disconnected! The interesting point is the error message with the "bundle socket". This socket file name is the same on each fruitless attempt. I tried restarting ppp and also isdnd, but it did not help. However, I also had another provider configured in ppp.conf, and switching to this provider worked (ppp was using a differentd bundle socket filename then), but when I switched back to the old provider, it did not work (ppp was then again using the bad bundle socket filename). At first I thought it was a problem at the provider side, but then their hotline talked me into setting up the account on a Windows machine, and there, everything worked. The only cure I found was to reboot the FreeBSD machine (admittedly, at that time I had not yet inspected ppp.log, only isdnd.log). After that, ppp was still using the same socket filename, but there were no more errors. Question a: What was happening there? Could it be the same bug that hit me in February? Question b: Could I have fixed it without rebooting? Question c: Given that ppp obviously detects a problem on the local side, why does ppp retry endlessly? Can ppp configured to stop trying to connect for some hours after n numbers of failed login attempts? Now that I have a flatrate I don't really mind any more, but other users could be safed from trouble if the default behaviour of ppp would be changed into this direction. BTW, the system is FreeBSD 3.4-STABLE, but not cvsupped for some months now. Viele Gr=FC=DFe, Tobias To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Fri Aug 4 9:46: 8 2000 Delivered-To: freebsd-isdn@freebsd.org Received: from storm.FreeBSD.org.uk (storm.freebsd.org.uk [194.242.139.170]) by hub.freebsd.org (Postfix) with ESMTP id E786537BA1B for ; Fri, 4 Aug 2000 09:46:02 -0700 (PDT) (envelope-from markk@knigma.org) Received: from lap.knigma.org (lapbsd.nat.Awfulhak.org [172.31.0.22]) by storm.FreeBSD.org.uk (8.9.3/8.9.3) with ESMTP id RAA78069 for ; Fri, 4 Aug 2000 17:45:59 +0100 (BST) (envelope-from markk@knigma.org) Message-ID: Date: Fri, 4 Aug 2000 17:45:45 +0100 To: freebsd-isdn@freebsd.org From: Mark Knight Subject: Re: hangup bug in i4b / ppp code References: In-Reply-To: MIME-Version: 1.0 X-Mailer: Turnpike Integrated Version 5.01 U Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Whilst I have not had the opportunity to perform a good investigation, I also have some (perhaps similar), odd behaviour with user ppp/i4b (AVM PCI). In my case, often when I disconnect, I find that without a reboot I have trouble using one or both of the B channels for subsequent calls. For example, if I pick up two analogue phones, connected via a TA, I get no dial tone on one of them. If I busy one analogue line, I can not establish new connections with PPP, or my router. It's as if the previous connection has not been released correctly. Just using my router I have no problem. It's only when I use i4b that these problems occur. Sorry - not much use without any log files - but I haven't quite worked out how to reliably reproduce the problem - it doesn't happen every time, but only a reboot clears the problem. Even removing the ISDN connection for a few seconds from the PC does not help. -- Mark Knight PGP Public Key: finger mkn@knigma.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Sat Aug 5 0:54:34 2000 Delivered-To: freebsd-isdn@freebsd.org Received: from mailout01.sul.t-online.com (mailout01.sul.t-online.com [194.25.134.80]) by hub.freebsd.org (Postfix) with ESMTP id E42CC37B608 for ; Sat, 5 Aug 2000 00:54:30 -0700 (PDT) (envelope-from martian@t-online.de) Received: from fwd05.sul.t-online.com by mailout01.sul.t-online.com with smtp id 13Kymr-0005Xq-00; Sat, 5 Aug 2000 09:54:29 +0200 Received: from laptop (320075607657-0001@[62.224.102.145]) by fwd05.sul.t-online.com with smtp id 13Kymg-0Gc5CqC; Sat, 5 Aug 2000 09:54:18 +0200 Message-ID: <008001bffeae$804ae5e0$0301a8c0@laptop> From: martian@t-online.de (Martin Moeller) To: Subject: Kernel traps during boot Date: Sat, 5 Aug 2000 09:26:40 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3110.5 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 X-Sender: 320075607657-0001@t-dialin.net Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I got a problem with the kernel support for a ELSA Microlink ISDN/PCI card. I have configured the kernel as told in the I4B manual, but the new kernel traps with this message: isic0: Error, IPAC version 2 unknown! Fatal trap 12: page fault while in kernel mode Has anyone an idea what I'm doing wrong?? Greetings, Martin. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Sat Aug 5 5:11:35 2000 Delivered-To: freebsd-isdn@freebsd.org Received: from golf.dax.net (golf.dax.net [193.216.69.103]) by hub.freebsd.org (Postfix) with ESMTP id 8691537B9BF for ; Sat, 5 Aug 2000 05:11:31 -0700 (PDT) (envelope-from hselasky@c2i.net) Received: from c2i.net (mp-217-242-190.daxnet.no [193.217.242.190]) by golf.dax.net (8.9.3/8.9.3) with ESMTP id OAA22704; Sat, 5 Aug 2000 14:10:52 +0200 (MET DST) Message-ID: <398C0485.EC4F48FE@c2i.net> Date: Sat, 05 Aug 2000 14:11:49 +0200 From: Hans Petter Selasky Organization: None X-Mailer: Mozilla 4.51 [en] (Win95; I) X-Accept-Language: no,en,de MIME-Version: 1.0 To: Mark Knight , freebsd-isdn@FreeBSD.ORG Subject: Re: hangup bug in i4b / ppp code References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org When you get no dialtone on one of them, try calling yourself (using both lines), do you hear any distortion or noise on the line? Mark Knight wrote: > Whilst I have not had the opportunity to perform a good investigation, I > also have some (perhaps similar), odd behaviour with user ppp/i4b (AVM > PCI). > > In my case, often when I disconnect, I find that without a reboot I have > trouble using one or both of the B channels for subsequent calls. > > For example, if I pick up two analogue phones, connected via a TA, I get > no dial tone on one of them. If I busy one analogue line, I can not > establish new connections with PPP, or my router. It's as if the > previous connection has not been released correctly. > > Just using my router I have no problem. It's only when I use i4b that > these problems occur. > > Sorry - not much use without any log files - but I haven't quite worked > out how to reliably reproduce the problem - it doesn't happen every > time, but only a reboot clears the problem. Even removing the ISDN > connection for a few seconds from the PC does not help. > -- > Mark Knight PGP Public Key: finger mkn@knigma.org > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-isdn" in the body of the message -- Hans Petter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Sat Aug 5 7:29:43 2000 Delivered-To: freebsd-isdn@freebsd.org Received: from worker.thw-IP.NET (worker.thw-IP.NET [192.76.134.35]) by hub.freebsd.org (Postfix) with ESMTP id 1278F37B8CD for ; Sat, 5 Aug 2000 07:29:41 -0700 (PDT) (envelope-from kts.org!hm@worker.thw-IP.NET) Received: from localhost (1605 bytes) by worker.thw-IP.NET via rmail with P:stdio/R:inet_mx_hosts/T:inet_zone_smtp (sender: ) (ident using unix) id for ; Sat, 5 Aug 2000 16:29:39 +0200 (CEST) (Smail-3.2.0.111 2000-Feb-17 #12 built 2000-May-16) Received: from bert.kts.org (bert.kts.org [194.55.156.2]) by ernie.kts.org (Postfix) with ESMTP id 258B052A59; Sat, 5 Aug 2000 14:33:32 +0200 (CEST) Received: by bert.kts.org (Postfix, from userid 100) id 6711D1F1C; Sat, 5 Aug 2000 14:33:16 +0200 (CEST) Subject: Re: Kernel traps during boot In-Reply-To: <008001bffeae$804ae5e0$0301a8c0@laptop> from Martin Moeller at "Aug 5, 2000 9:26:40 am" To: martian@t-online.de (Martin Moeller) Date: Sat, 5 Aug 2000 14:33:16 +0200 (CEST) Cc: freebsd-isdn@FreeBSD.ORG Organization: Kitchen Table Systems Reply-To: hm@kts.org X-Mailer: ELM [version 2.4ME+ PL43 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 649 Message-Id: <20000805123316.6711D1F1C@bert.kts.org> From: hm@kts.org (Hellmuth Michaelis) Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Martin Moeller wrote: > I got a problem with the kernel support for a ELSA Microlink ISDN/PCI card. > I have configured the kernel as told in the I4B manual, but the new kernel > traps with this message: > > isic0: Error, IPAC version 2 unknown! > Fatal trap 12: page fault while in kernel mode > > Has anyone an idea what I'm doing wrong?? Its a bug in the driver. A patch has been posted to this mailing list, please scan the ISDN mailing list archive on www.freebsd.org! hellmuth -- Hellmuth Michaelis hm@kts.org Hamburg, Europe We all live in a yellow subroutine, yellow subroutine, yellow subroutine ... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message