From owner-freebsd-isdn Thu Jan 4 4:26:53 2001 From owner-freebsd-isdn@FreeBSD.ORG Thu Jan 4 04:26:49 2001 Return-Path: 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 EAC7637B404 for ; Thu, 4 Jan 2001 04:26:48 -0800 (PST) Received: (qmail 31265 invoked by uid 0); 4 Jan 2001 12:26:46 -0000 Received: from p3e9bc1bc.dip.t-dialin.net (HELO forge.local) (62.155.193.188) by mail.gmx.net (mail07) with SMTP; 4 Jan 2001 12:26:46 -0000 Received: from thomas by forge.local with local (Exim 3.16 #1 (Debian)) id 14E9rh-0000HM-00 for ; Thu, 04 Jan 2001 13:51:33 +0100 Date: Thu, 4 Jan 2001 13:51:33 +0100 To: freebsd-isdn@freebsd.org Subject: Problems with ISDN SyncPPP in -CURRENT Message-ID: <20010104135132.A1052@crow.dom2ip.de> Mail-Followup-To: tmoestl@gmx.net, freebsd-isdn@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i From: Thomas Moestl Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, I am trying to set up ISDN SyncPPP on a very recently cvsupped -CURRENT box, but can not get it to work. I have got a AVM Fritz Card PCI, dmesg (sorry for over-long lines): ifpi0: port 0xcc 00-0xcc1f mem 0xefffeee0-0xefffeeff irq 12 at device 13.0 on pci0 ifpi0: ISAC 2085 Version A1/A2 or 2086/2186 Version 1.1 (IOM-2) ifpi0: passive stack unit 0 I use isp0 for SyncPPP: raven# ifconfig isp0 isp0: flags=a011 mtu 1500 inet 0.0.0.0 --> 0.0.0.1 netmask 0xff000000 ether 00:00:00:00:00:00 raven# ispppcontrol isp0 isp0: phase=dead myauthproto=pap myauthname="XXX" lcp timeout: 3.000 s enable_vj: on The ispppcontrol call to set the device up is: ispppcontrol myauthproto=pap myauthname='XXX' myauthsecret='YYY' hisauthproto=none Everytime I try to dial up isp0, the connection is established, the LCP negotiation seems to be OK, but there is just no answer received on the PAP authetication try: isp0: lcp open(initial) isp0: phase establish isp0: Up event isp0: lcp up(starting) isp0: lcp output isp0: lcp input(req-sent): isp0: lcp parse opts: mru auth-proto lcp/0x11 [rej] lcp/0x13 [rej] send conf-rej isp0: lcp output isp0: lcp input(req-sent): isp0: lcp input(ack-rcvd): isp0: lcp parse opts: mru auth-proto isp0: lcp parse opt values: mru 1524 auth-proto send conf-ack isp0: lcp output isp0: lcp tlu isp0: phase authenticate isp0: pap output isp0: pap peer TO isp0: pap output isp0: lcp down(opened) isp0: phase terminate isp0: Down event (carrier loss) isp0: lcp close(starting) isp0: phase dead , and so forth, all PAP tries time out (the timeouts are reasonably long). I have a -STABLE setup (on a different box) with a setup that is identical as much as possible. Dialup works with the same auth data. Toying with timeout and compression options does not help. My ISP is T-Online in Germany. I have not tried -STABLE on the same box, so I cannot confirm that this is not caused by flaky hardware. On some boots, I additionally get messages like: Jan 3 23:57:06 raven /boot/kernel/kernel: i4b-L1 ifpi_isac_exir_hdlr: EXIRQ Rx Frame Overflow But even on successful boots, I do not get past the PAP authentication. Has anyone experienced similar problems? I suppose that my ISP's PPP implementation may be somewhat flawed. Besides, there seems to be a small typo in usr.sbin/i4b/isdnd/rc_scan.l that breaks the ppp-expect-* options. This patch should fix it: *** usr.sbin/i4b/isdnd/rc_scan.l~ Mon Oct 9 16:22:39 2000 --- usr.sbin/i4b/isdnd/rc_scan.l Thu Jan 4 00:29:44 2001 *************** *** 149,155 **** ppp-auth-paranoid { return PPP_AUTH_PARANOID; } ppp-expect-auth { return PPP_EXPECT_AUTH; } ppp-expect-name { return PPP_EXPECT_NAME; } ! ppp-expect-password { return PPP_EXPECT_NAME; } ppp-send-auth { return PPP_SEND_AUTH; } ppp-send-name { return PPP_SEND_NAME; } ppp-send-password { return PPP_SEND_PASSWORD; } --- 149,155 ---- ppp-auth-paranoid { return PPP_AUTH_PARANOID; } ppp-expect-auth { return PPP_EXPECT_AUTH; } ppp-expect-name { return PPP_EXPECT_NAME; } ! ppp-expect-password { return PPP_EXPECT_PASSWORD; } ppp-send-auth { return PPP_SEND_AUTH; } ppp-send-name { return PPP_SEND_NAME; } ppp-send-password { return PPP_SEND_PASSWORD; } TIA, - thomas To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message