Received: from out2.smtp.messagingengine.com ([66.111.4.26]) by linuxtogo.org with esmtp (Exim 4.69) (envelope-from ) id 1O2p57-0008Og-07 for openembedded-devel@lists.openembedded.org; Fri, 16 Apr 2010 19:11:56 +0200 Received: from compute1.internal (compute1.internal [10.202.2.41]) by gateway1.messagingengine.com (Postfix) with ESMTP id CF137EAC09 for ; Fri, 16 Apr 2010 13:08:24 -0400 (EDT) Received: from heartbeat2.messagingengine.com ([10.202.2.161]) by compute1.internal (MEProxy); Fri, 16 Apr 2010 13:08:24 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=messagingengine.com; h=date:from:to:subject:in-reply-to:message-id:references:mime-version:content-type; s=smtpout; bh=6NplQZw8NsaUO3sGzZAxRlFL0wE=; b=qlBfIt3GnLwsgSYI/ps5GVVNJ0UPjsJ4FZ3lucfPN83KWh1RKMYSeq6AOsjvAXlmnQIA9hj43of+TNy6Ic05m1U30EkueApQMD9MeVbZVARjQ1X7bjZy+vrkOmNdXKAxrq01Mvy/tGVynR4C8Rbfs4SKXvZDDrqZWOssuS7NRxk= X-Sasl-enc: ie6hk+EeIYmpKP+8Y3zFex4KH0vefnoPQqoRnlefSl+M 1271437704 Received: from vitus.devnet.local (unknown [212.144.247.210]) by mail.messagingengine.com (Postfix) with ESMTPSA id 50CF31E440 for ; Fri, 16 Apr 2010 13:08:24 -0400 (EDT) Date: Fri, 16 Apr 2010 19:08:23 +0200 (CEST) From: Vitus Jensen To: openembedded-devel@lists.openembedded.org In-Reply-To: Message-ID: References: User-Agent: Alpine 1.10 (DEB 962 2008-03-14) Jabber-ID: vitus_jensen@gmx.de X-Accepted-File-Formats: ASCII rtf ps pdf - *NO* MS Office files please X-Message-Flag: Worried about bugs & viruses? Switch to Mac/Unix/PC Pine! Info @ www.ii.com MIME-Version: 1.0 X-SA-Exim-Connect-IP: 66.111.4.26 X-SA-Exim-Mail-From: vjensen@gmx.de X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on discovery X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=AWL,BAYES_00, RCVD_IN_DNSWL_LOW,SPF_FAIL autolearn=ham version=3.2.5 X-SA-Exim-Version: 4.2.1 (built Wed, 25 Jun 2008 17:20:07 +0000) X-SA-Exim-Scanned: Yes (on linuxtogo.org) Subject: [PATCH 2/4] netbase: add bluepro specific /etc/network/interfaces X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: openembedded-devel@lists.openembedded.org List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Apr 2010 17:11:57 -0000 Content-Type: TEXT/PLAIN; charset=US-ASCII * eth0, usb for host connectivity * can0, can1 to control CAN devices Signed-off-by: Vitus Jensen --- recipes/netbase/netbase/bluepro/interfaces | 33 ++++++++++++++++++++++++++++ 1 files changed, 33 insertions(+), 0 deletions(-) create mode 100644 recipes/netbase/netbase/bluepro/interfaces diff --git a/recipes/netbase/netbase/bluepro/interfaces b/recipes/netbase/netbase/bluepro/interfaces new file mode 100644 index 0000000..9b27ef0 --- /dev/null +++ b/recipes/netbase/netbase/bluepro/interfaces @@ -0,0 +1,33 @@ +# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8) + +# The loopback interface +auto lo +iface lo inet loopback + + +# Wired ethernet interface of "tiny box" +auto eth0 +iface eth0 inet dhcp + + +# Ethernet/RNDIS gadget (g_ether) +# ... or on host side, usbnet and random hwaddr +iface usb0 inet static + address 192.168.0.202 + netmask 255.255.255.0 + network 192.168.0.0 + gateway 192.168.0.200 + +# CAN interfaces +auto can0 +iface can0 inet manual + pre-up ip link set $IFACE type can bitrate 125000 listen-only off + up /sbin/ifconfig $IFACE up + down /sbin/ifconfig $IFACE down + +auto can1 +iface can1 inet manual + pre-up ip link set $IFACE type can bitrate 125000 listen-only off + up /sbin/ifconfig $IFACE up + down /sbin/ifconfig $IFACE down + -- 1.5.6.5