diff options
author | Cliff Brake <cbrake@bec-systems.com> | 2010-11-12 00:00:20 -0500 |
---|---|---|
committer | Cliff Brake <cbrake@bec-systems.com> | 2010-11-12 00:00:20 -0500 |
commit | 3c6efe8f8abc16668ca5e9cdf7a46665dac87172 (patch) | |
tree | 642c13416b99e80f0871cdc6668e832e635dfb48 /recipes/netbase/netbase/bluepro/interfaces | |
parent | c400c874f2ac9233b8a43a73309b6e7907289c54 (diff) | |
parent | 13fbe7253c95881ede787004a4c3a1c31502e5c6 (diff) | |
download | openembedded-3c6efe8f8abc16668ca5e9cdf7a46665dac87172.tar.gz |
Merge branch 'master' into testing-nexttested_2010-11-12testing
Diffstat (limited to 'recipes/netbase/netbase/bluepro/interfaces')
-rw-r--r-- | recipes/netbase/netbase/bluepro/interfaces | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/recipes/netbase/netbase/bluepro/interfaces b/recipes/netbase/netbase/bluepro/interfaces new file mode 100644 index 0000000000..9b27ef0557 --- /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 + |