From owner-freebsd-isdn Sun Jan 16 5:29:23 2000 Delivered-To: freebsd-isdn@freebsd.org Received: from csmd2.cs.uni-magdeburg.de (csmd2.CS.Uni-Magdeburg.De [141.44.22.2]) by hub.freebsd.org (Postfix) with ESMTP id A9FB414F1F for ; Sun, 16 Jan 2000 05:29:19 -0800 (PST) (envelope-from jesse@mail.CS.Uni-Magdeburg.De) Received: from knecht.cs.uni-magdeburg.de (jesse@knecht [141.44.21.3]) by csmd2.cs.uni-magdeburg.de (8.9.3/8.9.3) with ESMTP id OAA26004 for ; Sun, 16 Jan 2000 14:29:14 +0100 (MET) Received: (from jesse@localhost) by knecht.cs.uni-magdeburg.de (8.8.8+Sun/8.8.8) id OAA05565; Sun, 16 Jan 2000 14:28:48 +0100 (MET) X-Authentication-Warning: knecht.cs.uni-magdeburg.de: jesse set sender to jesse@cs.uni-magdeburg.de using -f To: freebsd-isdn@FreeBSD.ORG Subject: Re: ifconfig error when setting up isp0 References: <20000115185036.A2360@birne-atm.cs.uni-magdeburg.de> <005001bf601c$98cd37c0$0200000a@arends.hobby.nl> From: Roland Jesse In-Reply-To: "Richard Arends"'s message of "Sun, 16 Jan 2000 13:24:07 +0100" Date: 16 Jan 2000 14:28:48 +0100 Message-ID: <0viu0u2lin.fsf@cs.uni-magdeburg.de> Lines: 139 User-Agent: Gnus/5.0803 (Gnus v5.8.3) Emacs/20.4 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org "Richard Arends" writes: > Try this... > > ifconfig isp0 0.0.0.0 0.0.0.1 netmask 0xffffffff link1 > route delete default > route add default -interface isp0 Thanks, I will try that out as soon as I am back at home. This morning I was investigating a bit more into it. When trying to open a connection with 'telnet 141.44.10.1', I get the following syslog messages: ------- snip ------- Jan 16 10:53:24 arthur /kernel: i4b-L1-timer3_expired: state = F4 Awaiting Signal Jan 16 10:53:24 arthur /kernel: i4b-L1-isic_recover: HSCX B: ISTA = 0x0 Jan 16 10:53:24 arthur /kernel: i4b-L1-isic_recover: ISAC: ISTA = 0x0 Jan 16 10:53:24 arthur /kernel: i4b-L1-isic_recover: HSCX B: IMASK = 0x0 Jan 16 10:53:24 arthur /kernel: i4b-L1-isic_recover: HSCX A: IMASK = 0x0 Jan 16 10:53:24 arthur /kernel: i4b-L1-isic_recover: ISAC: IMASK = 0x2a Jan 16 10:53:24 arthur /kernel: i4b-L2-i4b_T202_timeout: unit 0, N202 = 3 Jan 16 10:53:24 arthur /kernel: i4b-L1-ph_data_req: still in state F3! Jan 16 10:53:26 arthur /kernel: i4b-L3-T303_timeout: SETUP not answered, cr = 69 Jan 16 10:53:26 arthur /kernel: i4b-L3-next_l3state: FSM illegal state, state = ST_OW - Out Wait EST, event = EV_T303EXP - T303 timeout! Jan 16 10:53:26 arthur /kernel: i4b-L1-timer3_expired: state = F4 Awaiting Signal Jan 16 10:53:26 arthur /kernel: i4b-L1-isic_recover: HSCX B: ISTA = 0x0 Jan 16 10:53:26 arthur /kernel: i4b-L1-isic_recover: ISAC: ISTA = 0x0 Jan 16 10:53:26 arthur /kernel: i4b-L1-isic_recover: HSCX B: IMASK = 0x0 Jan 16 10:53:26 arthur /kernel: i4b-L1-isic_recover: HSCX A: IMASK = 0x0 Jan 16 10:53:26 arthur /kernel: i4b-L1-isic_recover: ISAC: IMASK = 0x2a ------- snap ------- What confuses me are the timeout messages above and the following: root.arthur # ifconfig isp0 inet 0.0.0.0 141.44.10.1 netmask 255.255.255.255 link1 ifconfig: ioctl (SIOCAIFADDR): File exists Checking what might be wrong here using ktrace gives: ------- snip ------- 411 ktrace NAMI "/sbin/ifconfig" 411 ifconfig RET execve 0 411 ifconfig CALL __sysctl(0xbfbfd544,0x6,0,0xbfbfd540,0,0) 411 ifconfig RET __sysctl 0 411 ifconfig CALL readlink(0x8069ccc,0xbfbfd49c,0x3f) 411 ifconfig NAMI "/etc/malloc.conf" 411 ifconfig RET readlink -1 errno 2 No such file or directory 411 ifconfig CALL mmap(0,0x1000,0x3,0x1002,0xffffffff,0,0,0) 411 ifconfig RET mmap 671526912/0x2806b000 411 ifconfig CALL break(0x8079000) 411 ifconfig RET break 0 411 ifconfig CALL break(0x807a000) 411 ifconfig RET break 0 411 ifconfig CALL __sysctl(0xbfbfd544,0x6,0x8079000,0xbfbfd540,0,0) 411 ifconfig RET __sysctl 0 411 ifconfig CALL socket(0x2,0x2,0) 411 ifconfig RET socket 3 411 ifconfig CALL ioctl(0x3,SIOCGIFFLAGS,0x8075bc0) 411 ifconfig RET ioctl 0 411 ifconfig CALL ioctl(0x3,SIOCSIFFLAGS,0x8075bc0) 411 ifconfig RET ioctl 0 411 ifconfig CALL ioctl(0x3,SIOCDIFADDR,0x8075be0) 411 ifconfig RET ioctl 0 411 ifconfig CALL ioctl(0x3,SIOCAIFADDR,0x8075b80) 411 ifconfig RET ioctl -1 errno 17 File exists ------- snap ------- Honestly, that doesn't tell me much. ioctl(2) doesn't mention the possibility of an "File exists" error. That's how my /etc/isdn/isdnd.rc looks: ------- snip ------- system acctall = on # generate info for everything acctfile = /var/log/isdnd.acct # name & location of accounting file useacctfile = on # generate accouting info to file monitor-allowed = off # global switch: monitor on/off ratesfile = /etc/isdn/isdnd.rates # name & location of rates file mailer = /usr/bin/mail mailto = root rtprio = 25 # modify isdnd's process priority isdntime = on entry name = RJPC usrdevicename = isp # ipr, tel, rbch usrdeviceunit = 0 # unit number isdncontroller = 0 # controller to use or -1 to use any isdnchannel = -1 # channel to use or -1 to use any # numbers used to verify at DIAL IN local-phone-incoming = 7318677 # we take calls for this local number remote-phone-incoming = 536200 # we take calls from this remote machine remote-phone-dialout = 536200 # I did try adding the area code local-phone-dialout = 7318677 # here. Doesn't change a thing. # used next on dial fail or retry: remdial-handling = first # first, last or next # what happenes if someone dials in: dialin-reaction = ignore # accept, reject, ignore, answer, callback # normal dialout or do i call back: dialout-type = normal # normal / calledback b1protocol = hdlc # hdlc, raw idletime-incoming = 240 # incoming call idle timeout idletime-outgoing = 30 # outgoing call idle timeout ratetype = 0 # city rate unitlength = 90 # default unit length unitlengthsrc = rate # none, rate, cmdl, conf, aocd dialretries = 3 # no of retries dialrandincr = on # increase time between dials recoverytime = 25 # wait between dails usedown = off # do not use soft up/down downtries = 2 downtime = 30 # EOF ######################################################################### ------- snap ------- The content of /var/tmp/isdntrace0: ------- snip ------- =========== isdntrace controller #0 =========== started Sun Jan 16 10:51:35 2000 -- TE->NT - unit:0 - frame:000001 - time:16.01 10:53:22.316926 - length:8 ------ Dump:000 fc ff 03 0f c3 58 01 ff .....X.. Q921: SAP=63 (TEI-Management), C, TEI=127, Ri=0x58c3, IdRequest, Ai=127 -- TE->NT - unit:0 - frame:000002 - time:16.01 10:53:24.316952 - length:8 ------ Dump:000 fc ff 03 0f b6 78 01 ff .....x.. Q921: SAP=63 (TEI-Management), C, TEI=127, Ri=0x78b6, IdRequest, Ai=127 ------- snap ------- Any additional pointers of where to look at to get the connection up and running are very much appreciated. Roland To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message