From owner-freebsd-isdn Sun Oct 31 0:42:34 1999 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 032CB14C23 for ; Sun, 31 Oct 1999 00:42:29 -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 IAA05898; Sun, 31 Oct 1999 08:37:39 +0100 (CET) Message-Id: <199910310737.IAA05898@peedub.muc.de> X-Mailer: exmh version 2.1.0 09/18/1999 To: Oren Sarig Cc: freebsd-isdn@FreeBSD.ORG Subject: Re: AVM Fritz PCI Reply-To: Gary Jennejohn In-reply-to: Your message of "Fri, 29 Oct 1999 20:13:21 +0200." <3.0.6.32.19991029201321.0079fb80@mail.bezeqint.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 31 Oct 1999 08:37:39 +0100 From: Gary Jennejohn Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Oren Sarig writes: >Whoops, the whole problem was that the device >wasn't configured for chap :) > [snip] >disconnect" (which threw me off). Anyways, if I do >`ifconfig isp0 debug` and examin the debug output, >I see that when it tries to connect, there are >numerous `/kernel: isp0: lcp parse opts: >auth-proto [not configured] magic send conf-rej', >which probably shows that the authentication >protocol was not set to chap. What did I do wrong >in the script for setting it to chap? I get an >error about `Invalid Argument' when I type the >command, but I also get it if I just type >`spppcontrol isp0` or even `spppcontrol lo0`, and >loopback does work. How do I set it to chap? > [snip] This is all a follow-on error from spppcontrol failing. Despite what Klaus Herrmann wrote in an earlier mail, you cannot just ignore it. spppcontrol must operate correctly in order to pass the configuration arguments to the kernel, as you've now discovered. This question has been asked and answered several times in the last few weeks. I'm inclined to point you at the mail archive at www.freebsd.org, but your sPPP link doesn't work, so I cannot. I recommend that you change /sys/net/if_sppp.h as follows - in the definition of struct spppreq change the ``int cmd;'' to ``unsigned long cmd;''. Copy the modified file to /usr/include/net. Edit spppcontrol.c and remove the ``#define SPPP_VJ'' line. Re-build spppcontrol and the kernel. Install the new spppcontrol and the new kernel and re-boot. This is a general problem in the release version of i4b. The inconsistent use of SPPP_VJ in the kernel and spppcontrol is leading to problems. I suggest that spppcontrol.c should be distributed with the ``#define SPPP_VJ'' line commented out. This option has virtually no effect on performance and SPPP_VJ is not defined in -current. --- Gary Jennejohn Home - garyj@muc.de Work - garyj@fkr.cpqcorp.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message