From: Marco Cavallini <koansoftware@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [PATCH 3/5] netbase: add tb5200l specific /etc/network/interfaces
Date: Sun, 18 Apr 2010 11:12:04 +0200 [thread overview]
Message-ID: <4BCACCE4.5040600@gmail.com> (raw)
In-Reply-To: <alpine.DEB.1.10.1004161852390.13187@vitus.devnet.local>
Vitus Jensen ha scritto, Il 16/04/2010 18:53:
> * eth0, usb for host connectivity
> * can0, can1 to control CAN devices
>
> Signed-off-by: Vitus Jensen <vjensen@gmx.de>
> ---
> recipes/netbase/netbase/tb5200l/interfaces | 33 ++++++++++++++++++++++++++++
> 1 files changed, 33 insertions(+), 0 deletions(-)
> create mode 100644 recipes/netbase/netbase/tb5200l/interfaces
>
> diff --git a/recipes/netbase/netbase/tb5200l/interfaces b/recipes/netbase/netbase/tb5200l/interfaces
> new file mode 100644
> index 0000000..9b27ef0
> --- /dev/null
> +++ b/recipes/netbase/netbase/tb5200l/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
> +
Acked-by: Marco Cavallini <m.cavallini@koansoftware.com>
Cordiali Saluti / Kindest Regards / mit freundlichen Grüssen
--
Marco Cavallini | KOAN sas | Bergamo - Italia
embedded and real-time software engineering
Atmel third party certified consultant
Phone:+39-035-255.235 - Fax:+39-178-22.39.748
http://www.KoanSoftware.com
http://www.KaeilOS.com
next prev parent reply other threads:[~2010-04-18 9:15 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-16 16:49 support for TQ tb5200l Vitus Jensen
2010-04-16 16:51 ` [PATCH 1/5] tb5200l: add machine configuration for TQ TB5200L 'tinyBox' Vitus Jensen
2010-04-18 8:19 ` Marco Cavallini
2010-04-16 16:52 ` [PATCH 2/5] base-files: tb5200l specific changes Vitus Jensen
2010-04-18 9:11 ` Marco Cavallini
2010-04-18 10:50 ` Koen Kooi
2010-04-19 11:37 ` Vitus Jensen
2010-04-16 16:53 ` [PATCH 3/5] netbase: add tb5200l specific /etc/network/interfaces Vitus Jensen
2010-04-18 9:12 ` Marco Cavallini [this message]
2010-04-16 16:54 ` [PATCH 4/5] linux_2.6.32: add tb5200l support Vitus Jensen
2010-04-18 9:09 ` Marco Cavallini
2010-04-19 11:58 ` Vitus Jensen
2010-04-16 16:55 ` [PATCH 5/5] linux_2.6.33: add recipe Vitus Jensen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4BCACCE4.5040600@gmail.com \
--to=koansoftware@gmail.com \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.