From owner-freebsd-isdn Tue Jun 18 0:46:31 2002 Delivered-To: freebsd-isdn@freebsd.org Received: from jhs.muc.de (pD9EB700A.dip.t-dialin.net [217.235.112.10]) by hub.freebsd.org (Postfix) with ESMTP id B3D0437B416 for ; Tue, 18 Jun 2002 00:46:03 -0700 (PDT) Received: (from jhs@localhost) by jhs.muc.de (8.11.6/8.11.6) id g5HJHpD16088; Mon, 17 Jun 2002 21:17:52 +0200 (MET DST) (envelope-from jhs) Date: Mon, 17 Jun 2002 21:17:52 +0200 (MET DST) Message-Id: <200206171917.g5HJHpD16088@jhs.muc.de> To: freebsd-isdn@freebsd.org Subject: beepconnect syntax error on FreeBSD-4.5 From: "Julian Stacey" Organization: Vector Systems Ltd - Munich Unix & Internet consultancy X-Web: http://bim.bsn.com/~jhs/ http://bsd.bsn.com/~jhs/ Fcc: sent-mail Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I just(*) upgraded (world) from FreeBSD-4.1.1 to 4.5-RELEASE & noticed /usr/sbin/isdnd -f -l rejects an isdnd.rc with beepconnect = on find . -type f | xargs grep -i -l beepconnect | sort ./usr.sbin/i4b/isdnd/isdnd.rc.5 documents it as available ./usr.sbin/i4b/isdnd/rc_config.c ./usr.sbin/i4b/isdnd/rc_parse.y ./usr.sbin/i4b/isdnd/rc_scan.l but isdnd doesnt start (config file syntax error). So I commented it out in my isdnd.rc for now. Does it work for others ? My error or a bug ? Fixed in newer maybe ? Please cc me (jhs@bim.bsn.com) any reply, as I fell off freebsd lists, & am just now resubscribing freebsd-isdn. Thanks. PS (*) I know FreeBSD-4.6 was released Sunday, but I've not built 4.6 yet. I haven't even been doing isdn data transfer lately, as I now have flat rate DSL, so main use of i4b here has been to display in an xterm, the names of people phoning me. Julian Stacey Munich Unix Consultant (inc. BSD+Linux) http://bim.bsn.com/jhs/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Tue Jun 18 0:46:55 2002 Delivered-To: freebsd-isdn@freebsd.org Received: from jhs.muc.de (pD9EB700A.dip.t-dialin.net [217.235.112.10]) by hub.freebsd.org (Postfix) with ESMTP id 9E26D37B40E for ; Tue, 18 Jun 2002 00:45:56 -0700 (PDT) Received: (from jhs@localhost) by jhs.muc.de (8.11.6/8.11.6) id g5HMEdi17092; Tue, 18 Jun 2002 00:14:43 +0200 (MET DST) (envelope-from jhs) Date: Tue, 18 Jun 2002 00:14:43 +0200 (MET DST) Message-Id: <200206172214.g5HMEdi17092@jhs.muc.de> To: freebsd-isdn@freebsd.org Subject: SIOCGIFGENERIC(SPPPIOGDEFS): Bad address on FreeBSD-4.5 From: "Julian Stacey" Organization: Vector Systems Ltd - Munich Unix & Internet consultancy X-Web: http://bim.bsn.com/~jhs/ http://bsd.bsn.com/~jhs/ Fcc: sent-mail Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On FreeBSD_4.5-RELEASE as root spppcontrol isp0 myauthproto=pap hisauthproto=none \ myauthname=my_name myauthsecret=my_password callin produces: spppcontrol: SIOCGIFGENERIC(SPPPIOGDEFS): Bad address Originally ifconfig isp0 showed isp0: flags=a051 mtu 1500 inet6 fe80::240:5ff:fe5b:63a9%isp0 prefixlen 64 scopeid 0x3 inet 193.149.49.84 --> 193.149.48.12 netmask 0xffffff00 so I changed netmask to 0xffff0000, but the error remained. Isdnd starts after, I but haven't tried it with data yet. Is the error significant ? Any hints what's wrong ? Kernel config appended. I also built new kernel & all bins from a vanilla 4.5 src/, but the error remained. Please also cc me (jhs@bim.bsn.com) as I'm not yet back on freebsd-isdn@, thanks. options INCLUDE_CONFIG_FILE machine i386 cpu "I586_CPU" ident JHS_Park maxusers 0 options INET options INET6 options FFS options FFS_ROOT options SOFTUPDATES options UFS_DIRHASH options MFS options MD_ROOT options NFS options NFS_ROOT options CD9660 options CD9660_ROOT options PROCFS options COMPAT_43 options SC_DISABLE_REBOOT options USERCONFIG options VISUAL_USERCONFIG options SYSVSHM options SYSVMSG options SYSVSEM options P1003_1B options _KPOSIX_PRIORITY_SCHEDULING options ICMP_BANDLIM options KBD_INSTALL_CDEV options IPFIREWALL options IPFIREWALL_VERBOSE device isa device pci device fdc0 at isa? port IO_FD1 irq 6 drq 2 device fd0 at fdc0 drive 0 device ata0 at isa? port IO_WD1 irq 14 device ata1 at isa? port IO_WD2 irq 15 device ata device atadisk device atapicd device atapifd options ATA_STATIC_ID device scbus device da device atkbdc0 at isa? port IO_KBD device atkbd0 at atkbdc? irq 1 flags 0x1 device vga0 at isa? device sc0 at isa? flags 0x100 device npx0 at nexus? port IO_NPX irq 13 device sio0 at isa? port IO_COM1 flags 0x10 irq 4 device sio1 at isa? port IO_COM2 irq 3 device ppc0 at isa? irq 7 device ppbus device lpt device plip device ppi device miibus device ed0 at isa? port 0x300 irq 5 iomem 0xd8000 pseudo-device loop pseudo-device ether pseudo-device sl 1 pseudo-device ppp 2 pseudo-device vn pseudo-device tun pseudo-device pty pseudo-device md pseudo-device gif pseudo-device faith 1 pseudo-device speaker pseudo-device bpf device usb device umass options "AVM_A1" device isic0 at isa? port 0x340 irq 5 flags 4 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" 6 options IPR_VJ pseudo-device "i4bisppp" 4 pseudo-device sppp 2 Julian Stacey Munich Unix Consultant (inc. BSD+Linux) http://bim.bsn.com/jhs/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Tue Jun 18 0:57:17 2002 Delivered-To: freebsd-isdn@freebsd.org Received: from stargate.sse-erfurt.de (stargate.sse-erfurt.de [62.132.15.253]) by hub.freebsd.org (Postfix) with SMTP id EB27637B401 for ; Tue, 18 Jun 2002 00:57:13 -0700 (PDT) Received: (1789 bytes) by stargate.sse-erfurt.de via sendmail with P:stdio/R:inet_hosts/T:smtp (sender: ) id for ; Tue, 18 Jun 2002 09:59:13 +0200 (MET DST) (Smail-3.2.0.101 1997-Dec-17 #7 built DST-Jul-30) Received: from (master [192.105.75.4]) by stargate.sse-erfurt.de via smap (V2.1) id xma014218; Tue, 18 Jun 02 09:59:11 +0200 Received: (from kittler@localhost) by master.sse-erfurt.de (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id JAA06067; Tue, 18 Jun 2002 09:57:05 +0200 From: Lutz Kittler MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15630.59345.419462.28181@master.sse-erfurt.de> Date: Tue, 18 Jun 2002 09:57:05 +0200 (MEST) To: "Julian Stacey" Cc: freebsd-isdn@freebsd.org Subject: SIOCGIFGENERIC(SPPPIOGDEFS): Bad address on FreeBSD-4.5 In-Reply-To: <200206172214.g5HMEdi17092@jhs.muc.de> References: <200206172214.g5HMEdi17092@jhs.muc.de> X-Mailer: VM 6.75 under 21.1 (patch 7) "Biscayne" XEmacs Lucid Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Julian Stacey writes: > On FreeBSD_4.5-RELEASE as root > spppcontrol isp0 myauthproto=pap hisauthproto=none \ > myauthname=my_name myauthsecret=my_password callin > produces: > spppcontrol: SIOCGIFGENERIC(SPPPIOGDEFS): Bad address > Originally > ifconfig isp0 > showed > isp0: flags=a051 mtu 1500 > inet6 fe80::240:5ff:fe5b:63a9%isp0 prefixlen 64 scopeid 0x3 > inet 193.149.49.84 --> 193.149.48.12 netmask 0xffffff00 > so I changed netmask to 0xffff0000, but the error remained. > Isdnd starts after, I but haven't tried it with data yet. > Is the error significant ? Any hints what's wrong ? > Hi you have to use ispppcontrol : ispppcontrol isp0 myauthproto=pap hisauthproto=none \ myauthname=my_name myauthsecret=my_password callin lutz To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Tue Jun 18 15: 9:16 2002 Delivered-To: freebsd-isdn@freebsd.org Received: from smtp1.workbenelux.nl (smtp1.workbenelux.nl [212.203.8.130]) by hub.freebsd.org (Postfix) with ESMTP id E75CC37B406 for ; Tue, 18 Jun 2002 15:09:12 -0700 (PDT) Received: from lon (unknown [212.203.6.95]) by smtp1.workbenelux.nl (Postfix) with SMTP id 2950E1A7330 for ; Wed, 19 Jun 2002 00:07:56 +0200 (CEST) From: "M Bergman" To: Subject: Date: Wed, 19 Jun 2002 00:08:10 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org hello all. After upgrading to 4.6-stable dmegs gave me this ! now i can't get a connection to my isp anymore.. has anyone got a clue or even a hint ? Thanks already. .......(part of dmesg)..... i4btrc: 16 ISDN trace device(s) attached i4bisppp: 4 ISDN SyncPPP device(s) attached i4b: ISDN call control device attached i4btel: 2 ISDN telephony interface device(s) attached i4brbch: 4 raw B channel access device(s) attached i4bipr: 4 IP over raw HDLC ISDN device(s) attached (VJ header compression) i4bctl: ISDN system control port attached IP Filter: v3.4.27 initialized. Default = pass all, Logging = enabled ad0: 2457MB [4994/16/63] at ata0-master BIOSPIO Mounting root from ufs:/dev/ad0s1a i4b-L2 i4b_T202_timeout: unit 0, N202 = 3 i4b-L3 T303_timeout: SETUP not answered, cr = 21 i4b-L3 next_l3state: FSM illegal state, state = ST_OW - Out Wait EST, event = EV_T303EXP - T303 timeout! jolette# To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Wed Jun 19 2:28:16 2002 Delivered-To: freebsd-isdn@freebsd.org Received: from mailout06.sul.t-online.com (mailout06.sul.t-online.com [194.25.134.19]) by hub.freebsd.org (Postfix) with ESMTP id 3D3CD37B40B for ; Wed, 19 Jun 2002 02:28:11 -0700 (PDT) Received: from fwd01.sul.t-online.de by mailout06.sul.t-online.com with smtp id 17Kbl3-0006aS-04; Wed, 19 Jun 2002 11:28:09 +0200 Received: from peedub.jennejohn.org (520017439985-0001@[217.235.121.71]) by fmrl01.sul.t-online.com with esmtp id 17Kbki-2IGKkiC; Wed, 19 Jun 2002 11:27:48 +0200 Received: from peedub.jennejohn.org (localhost [127.0.0.1]) by peedub.jennejohn.org (8.12.4/8.11.6) with ESMTP id g5J9SM0q003658; Wed, 19 Jun 2002 11:28:27 +0200 (CEST) (envelope-from garyj@peedub.jennejohn.org) Message-Id: <200206190928.g5J9SM0q003658@peedub.jennejohn.org> X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.3 To: "M Bergman" Cc: freebsd-isdn@FreeBSD.ORG Subject: Re: Reply-To: Gary Jennejohn In-reply-to: Your message of "Wed, 19 Jun 2002 00:08:10 +0200." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 19 Jun 2002 11:28:22 +0200 From: Gary Jennejohn X-Sender: 520017439985-0001@t-dialin.net Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org "M Bergman" writes: > hello all. > > After upgrading to 4.6-stable dmegs gave me this ! > > now i can't get a connection to my isp anymore.. has anyone got a clue or > even a hint ? > > Thanks already. > > .......(part of dmesg)..... > i4btrc: 16 ISDN trace device(s) attached > i4bisppp: 4 ISDN SyncPPP device(s) attached > i4b: ISDN call control device attached > i4btel: 2 ISDN telephony interface device(s) attached > i4brbch: 4 raw B channel access device(s) attached > i4bipr: 4 IP over raw HDLC ISDN device(s) attached (VJ header compression) > i4bctl: ISDN system control port attached > IP Filter: v3.4.27 initialized. Default = pass all, Logging = enabled > ad0: 2457MB [4994/16/63] at ata0-master BIOSPIO > Mounting root from ufs:/dev/ad0s1a > i4b-L2 i4b_T202_timeout: unit 0, N202 = 3 > i4b-L3 T303_timeout: SETUP not answered, cr = 21 > i4b-L3 next_l3state: FSM illegal state, state = ST_OW - Out Wait EST, event > = EV_T303EXP - T303 timeout! > jolette# > Turn on debugging on the interface, e.g. ``ifconfig isp0 debug'' and look at the log output from the connect. And try putting a subject on your mails in the future. --- Gary Jennejohn / garyj@jennejohn.org gj@freebsd.org gj@denx.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Wed Jun 19 5:39:30 2002 Delivered-To: freebsd-isdn@freebsd.org Received: from guinness.syncrontech.com (guinness.syncrontech.com [62.71.8.19]) by hub.freebsd.org (Postfix) with ESMTP id B59B637B405 for ; Wed, 19 Jun 2002 05:39:26 -0700 (PDT) Received: from linux (coffee.syncrontech.com [62.71.8.37]) by guinness.syncrontech.com (8.12.3/8.12.3) with ESMTP id g5JCdO4G098731 for ; Wed, 19 Jun 2002 15:39:25 +0300 (EEST) (envelope-from ari@suutari.iki.fi) Content-Type: text/plain; charset="us-ascii" From: Ari Suutari To: isdn@freebsd.org Subject: connection (isp device) does not after dial failure Date: Wed, 19 Jun 2002 15:39:48 +0300 User-Agent: KMail/1.4.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200206191539.48253.ari@suutari.iki.fi> Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, I have a box with multiple outgoing isdn connections using 5 isp devices. If I get a situation where two of them are already connected and another one tries to connect (I'm using isp devices with LINK1 qualifier so they dial out when packet arrives) then isp device enters 'establish' state (as shown by spppcontrol). However as there are no ISDN channels free, I get from isdnd: Jun 19 15:25:39 test isdnd[71]: DBG msg_dialout: dial req from isp, unit = 3 Jun 19 15:25:39 test isdnd[71]: DBG setup_dialout: entry xxxx, no channel= free Jun 19 15:25:39 test isdnd[71]: DBG find_by_device_for_dialout: entry 3,=20 setup_dialout() failed! Jun 19 15:25:39 test isdnd[71]: DBG msg_dialout: config entry reserved or= no=20 mat The connection fails, but isp device stays in 'establish' mode. Now,=20 after I while the other connections close and there are free isdn channe= ls. However, when new packets arrive to isp device (when it is in establish m= ode) it doesn't seem to cause dialing again. Executing ifconfig ispX down and ifconfig ispX up makes it work again. Could the problem be in isdnd, namely in msghdl.c function=20 msg_dialout ? It calls find_by_device_for_dialout, which returns NULL in this case. However, the problem is not reported back to isp device, it is just logged. Would it help to add=20 a call to dialresponse before returning ? =09Ari S. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message