From owner-freebsd-mips@FreeBSD.ORG Sat Aug 31 18:46:37 2013 Return-Path: <owner-freebsd-mips@FreeBSD.ORG> Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 03D9392D for <freebsd-mips@freebsd.org>; Sat, 31 Aug 2013 18:46:37 +0000 (UTC) (envelope-from harm@vevida.nl) Received: from net3-nl-smtp-02.vevida.net (net3-nl-smtp-02.vevida.net [IPv6:2a00:f60::1:26]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id BAA272F22 for <freebsd-mips@freebsd.org>; Sat, 31 Aug 2013 18:46:36 +0000 (UTC) Received: from net3-nl-proxy-07.vevida.net (net3-nl-proxy-07.vevida.net [IPv6:2a00:f60::1:55]) by net3-nl-smtp-02.vevida.net (Postfix) with ESMTP id 581419C84F1 for <freebsd-mips@freebsd.org>; Sat, 31 Aug 2013 20:46:34 +0200 (CEST) Received: from [IPv6:2001:470:d2a7:1492:e2f8:47ff:fe43:1764] (manbearpig.wifi.weites.net [IPv6:2001:470:d2a7:1492:e2f8:47ff:fe43:1764]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: harm@vevida.com) by net3-nl-proxy-07.vevida.net (Postfix) with ESMTPSA id 9027DD58027 for <freebsd-mips@freebsd.org>; Sat, 31 Aug 2013 20:46:33 +0200 (CEST) Message-ID: <1377974793.2748.33.camel@manbearpig> Subject: Re: TP-Link 1043ND - its tme :) From: Harm Weites <harm@vevida.nl> To: freebsd-mips@freebsd.org Date: Sat, 31 Aug 2013 20:46:33 +0200 In-Reply-To: <29fffe4d56621c3b61e64a4e37dbae50.squirrel@arroway.org> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.8.4 (3.8.4-2.fc19) Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to MIPS <freebsd-mips.freebsd.org> List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-mips>, <mailto:freebsd-mips-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-mips> List-Post: <mailto:freebsd-mips@freebsd.org> List-Help: <mailto:freebsd-mips-request@freebsd.org?subject=help> List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-mips>, <mailto:freebsd-mips-request@freebsd.org?subject=subscribe> X-List-Received-Date: Sat, 31 Aug 2013 18:46:37 -0000 Hi, For what its worth, this is my setup. I'm running 2 of the TP Link units configured as Quagga routers, though the kernel is already running behind quite a bit: FreeBSD 10.0-CURRENT #5 r249821M Mem: 10M Active, 2368K Inact, 11M Wired, 916K Cache, 1504K Buf, 1340K Free (yes, I also installed top) Processes: - dropbear - dhcprelya - ospfd - zebra - ospf6d - hostapd - dhclient The other unit is running bgpd (which is a massive binary) instead of hostapd. I'm not using USB on either one them and I've removed several of the binaries from the rootfs created by Adrian's scripts. I also left out newfs stuff and the ability to do nfs mounts. Make sure you have MALLOC_PRODUCTION=YES in make.conf and configure bin/build_freebsd to use it: __MAKE_CONF=/etc/tplinkmake.conf SRCCONF=/dev/null Some changes to the TP-Link kernel config (sys/mips/conf/TP-WN1043ND): +options NBUF=128 +nooptions INVARIANTS +nooptions INVARIANT_SUPPORT +nooptions WITNESS +nooptions WITNESS_SKIPSPIN +nooptions IEEE80211_DEBUG +nooptions IEEE80211_SUPPORT_MESH +nooptions IEEE80211_SUPPORT_TDMA +nooptions IEEE80211_ALQ +nooptions ATH_DEBUG +nooptions ATH_DIAGAPI +nooption ATH_ENABLE_11N +nooption AH_DEBUG_ALQ +nooptions AH_DEBUG +nooption AH_DEBUG_ALQ Regards, Harm