From ac8e3fe96e5c449bc53000fe94b7e9155941188c Mon Sep 17 00:00:00 2001 From: Jesse Gilles Date: Thu, 19 Dec 2013 17:00:54 -0600 Subject: config: add network/interfaces bridge example --- multitech/recipes/multitech/config/network/interfaces | 9 +++++++++ multitech/recipes/multitech/config_1.0.bb | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/multitech/recipes/multitech/config/network/interfaces b/multitech/recipes/multitech/config/network/interfaces index e34c39c..546fd29 100644 --- a/multitech/recipes/multitech/config/network/interfaces +++ b/multitech/recipes/multitech/config/network/interfaces @@ -10,6 +10,15 @@ iface eth0 inet static address 192.168.2.1 netmask 255.255.255.0 +# Bridge interface with eth0 (comment out eth0 lines above to use with bridge) +# iface eth0 inet manual +# +# auto br0 +# iface br0 inet static +# bridge_ports eth0 +# address 192.168.2.1 +# netmask 255.255.255.0 + # Wifi client # NOTE: udev rules will bring up wlan0 automatically if a wifi device is detected # and the wlan0 interface is defined, therefore an "auto wlan0" line is not needed. diff --git a/multitech/recipes/multitech/config_1.0.bb b/multitech/recipes/multitech/config_1.0.bb index 5ec078c..250a3da 100644 --- a/multitech/recipes/multitech/config_1.0.bb +++ b/multitech/recipes/multitech/config_1.0.bb @@ -1,7 +1,7 @@ DESCRIPTION = "Provides default system config files and /var/config fs" SECTION = "base" LICENSE = "GPL" -PR = "r20" +PR = "r21" inherit update-rc.d -- cgit v1.2.3