From owner-freebsd-arm@freebsd.org Thu Oct 15 11:34:52 2015 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 594F8A120E9 for ; Thu, 15 Oct 2015 11:34:52 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from raven.bwct.de (raven.bwct.de [85.159.14.73]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "raven.bwct.de", Issuer "BWCT" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 09673993 for ; Thu, 15 Oct 2015 11:34:51 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from mail.cicely.de ([10.1.1.37]) by raven.bwct.de (8.13.4/8.13.4) with ESMTP id t9FBQG11030869 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Thu, 15 Oct 2015 13:26:24 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (cicely7.cicely.de [10.1.1.9]) by mail.cicely.de (8.14.5/8.14.4) with ESMTP id t9FBQDpO094552 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 15 Oct 2015 13:26:13 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (localhost [127.0.0.1]) by cicely7.cicely.de (8.14.2/8.14.2) with ESMTP id t9FBQDuA048448; Thu, 15 Oct 2015 13:26:13 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: (from ticso@localhost) by cicely7.cicely.de (8.14.2/8.14.2/Submit) id t9FBQCOP048447; Thu, 15 Oct 2015 13:26:12 +0200 (CEST) (envelope-from ticso) Date: Thu, 15 Oct 2015 13:26:12 +0200 From: Bernd Walter To: Dmytro Dudenko Cc: freebsd-arm@freebsd.org Subject: Re: pi2+ natd issue and ipnat issue Message-ID: <20151015112612.GA48404@cicely7.cicely.de> Reply-To: ticso@cicely.de References: <20151002143835.GO65719@corpmail.liquidneon.com> <561BC242.6060205@vagner.com> <561F3F3B.7040106@laser.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <561F3F3B.7040106@laser.ru> X-Operating-System: FreeBSD cicely7.cicely.de 7.0-STABLE i386 User-Agent: Mutt/1.5.11 X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED=-1, BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 autolearn=ham version=3.3.0 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on spamd.cicely.de X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Oct 2015 11:34:52 -0000 On Thu, Oct 15, 2015 at 07:52:59AM +0200, Dmytro Dudenko wrote: > Dear Laszlo Vagner, > > I notice similar things with natd using FreeBSD-11.0 and a build-in > network card. > Natd is alive until a packet-flow starts. > I thought I have misconfigured my RPI2 (which might still be the case) > although I have absolutely the same settings on my working i386-machine. > > Hopefully I find a solution of my problem here, in case someone knows > the answer. Don't know how the story is these days, but around 6 years ago it was required to compile withr natd or libalias with -O0. A lot of things have changed since then however. > wbr, Dmytro. > > Am 12.10.2015 um 16:22 schrieb laszlo vagner: > >i just installed the 10/08 snapshot on my rasberry pi2+ board and was > >attempting to use it for a gateway by using a USB network card and the > >onboard card for routing. > > > >i successfully got both interfaces up and working and the firewall is up > >and working > >but if i try and run natd it dies with signal 10 almost immediately, if > >i try and run ipnat instead it also dies but nothing in messages telling > >me why. > > > >so i thought that maybe the USB network card was the issue and said ok, > >ill just use a wireless usb card, i configured the wireless card to > >connect up to my access point and got that working fine. tried to run > >natd crash again signal 10 bus error. > > > >anyone know if the kernel was built with ipdivert option or if that is > >the problem? > > > >the interfaces are ue0 and ue1 and i tried to swap them as the inside > >and outside net cards with same problem. > > > >im at a loss as to why natd wont run and it makes my PI useless as a > >router. > > > > > > > >Oct 11 18:04:17 rpi2 kernel: ifa_maintain_loopback_route: deletion > >failed for interface ue0: 3 > >Oct 11 18:05:29 rpi2 kernel: pid 1195 (natd), uid 0: exited on signal 10 > >(core d > >Oct 11 18:06:53 rpi2 kernel: pid 1557 (natd), uid 0: exited on signal 10 > >(core d > > > > > >_______________________________________________ > >freebsd-arm@freebsd.org mailing list > >https://lists.freebsd.org/mailman/listinfo/freebsd-arm > >To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" > _______________________________________________ > freebsd-arm@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" -- B.Walter http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm.