From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 0C630138CA3 for ; Fri, 6 Mar 2015 11:30:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0CF2CE08A2; Fri, 6 Mar 2015 11:30:04 +0000 (UTC) Received: from mail-we0-f170.google.com (mail-we0-f170.google.com [74.125.82.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D9B3DE088D for ; Fri, 6 Mar 2015 11:30:02 +0000 (UTC) Received: by wevm14 with SMTP id m14so58841785wev.8 for ; Fri, 06 Mar 2015 03:30:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=DDXqGpTatJJFWSQrN7qwopYZKuZAfYquzfifMzpXcoE=; b=D1J5Vmq1QgYLogt8QhdXZBP1VSjPeNs38PB3jYssCpuxewMiiL6gPKAtTW0RZB+ujd LblRhu/JMlxPRqCGSXxgHqCweGQIr4WCbvykzE1v81OQVCXi1e4BCrMPXFFf/ogoCpq8 1g1JHSz9jEua/d31vKnK1rwYykkJXU2EX1I2CsGQ6Mc4wlt66/At+ffGYp+EdoSTbkHT HIkE7Q90Tpw7PODBwjihqvYcSrjKw0U2Otuve+STC4hzn/H3WamtfN8H/gcsSuwyLT8U JCsaH+KB7gP2hx1WeN2wai7HxjanKKKgkea6yXIZIXOq5aB3dsmuZReX+pbIqqoy6AzU EsVg== X-Received: by 10.180.206.98 with SMTP id ln2mr74442775wic.94.1425641401437; Fri, 06 Mar 2015 03:30:01 -0800 (PST) Received: from vidovic.ultras.lan (243.141.89.92.rev.sfr.net. [92.89.141.243]) by mx.google.com with ESMTPSA id dz6sm1855507wib.0.2015.03.06.03.30.00 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 06 Mar 2015 03:30:00 -0800 (PST) Sender: Nicolas Sebrecht Date: Fri, 6 Mar 2015 12:29:58 +0100 From: Nicolas Sebrecht To: gentoo-user@lists.gentoo.org Cc: Nicolas Sebrecht Subject: [gentoo-user] Re: new linux router Message-ID: <20150306112958.GB2459@vidovic.ultras.lan> References: <20150305185912.GC2219@vidovic.ultras.lan> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-Archives-Salt: 4fc005b1-38c4-43d2-a4bc-d3b8a216cac2 X-Archives-Hash: 5280988b1be8eeafd5fb12503772dd6c On Fri, Mar 06, 2015 at 02:03:48AM +0000, James wrote: > > For the distribution, I'd recommend Alpine: > > http://www.alpinelinux.org/about > > Why would that be better than putting lilblue (gentoo) on > the board. Maybe somebody who has success with booting off > of usb (and that definitely is not me) could test lilblue > on an alix2d3 board? I don't know much Lilblue but it looks like a somewhat recent project. Alpine started back in 2005. It's based on portage to build the distribution but uses the apk-tools that fit better for embedded systems, IMHO. Also, Alpine comes with a very lightweight minimal installation, reliable toolchain to build the distribution and uses openrc. The well known debian-like configuration files allow new maintainers to quickly be comfortable with the device. The recent move to musl over uClibc is a good thing too, FMPOV. I expect Alpine to have a wider community than Lilblue. > How did you have your make.conf files (or similar under Alpine) set up? You don't have make.conf on the target. Embedded devices are bad at compiling. With Alpine, you cross-compile the target from your desktop/server/VM. > If I go this route, I'd really rather run gentoo or something > quite similar, rather than a distro I not familiar with. On the target device, apk-tools are very easy to use and requires MUCH less time/ressources than emerge. Quiet frankly, Alpine doesn't require specific skills. I've started with the binary provided by the maintainers and never had to compile any package myself. > > That's the combo I used in a recent past and it worked quiet fine > > (802.1q VLAN, traffic shaping with tc, advanced firewall with scripted > > iptables rules, ethernet cards controlled with ethtool (I could fix > > speed/duplex for incompatible network hardware), ssh, etc). > > I'm not familiar with Alpine linux. How many of your scripts would be > useful on gentoo? If what you did is sensitive, just drop to me privately..... Sorry, I can't. I don't have them anymore while I'm sure they are still used in production. It's something easy to do, though. The scripts themselves are distribution agnostic. E.g. my ipfilter service only used $IPTABLES. The only thing to update are the service files for openrc, systemd, upstart, whatever. -- Nicolas Sebrecht