diff options
-rw-r--r-- | meta-sys940x/recipes-core/netbase/files/interfaces | 10 | ||||
-rw-r--r-- | meta-sys940x/recipes-core/netbase/netbase_4.47.bbappend | 3 |
2 files changed, 13 insertions, 0 deletions
diff --git a/meta-sys940x/recipes-core/netbase/files/interfaces b/meta-sys940x/recipes-core/netbase/files/interfaces new file mode 100644 index 00000000..4218f5db --- /dev/null +++ b/meta-sys940x/recipes-core/netbase/files/interfaces | |||
@@ -0,0 +1,10 @@ | |||
1 | # /etc/network/interfaces -- configuration file for ifup(8), ifdown(8) | ||
2 | |||
3 | # The loopback interface | ||
4 | auto lo | ||
5 | iface lo inet loopback | ||
6 | |||
7 | # Wired or wireless interfaces | ||
8 | auto eth0 | ||
9 | iface eth0 inet dhcp | ||
10 | hwaddress ether RANDOM_MAC | ||
diff --git a/meta-sys940x/recipes-core/netbase/netbase_4.47.bbappend b/meta-sys940x/recipes-core/netbase/netbase_4.47.bbappend new file mode 100644 index 00000000..6d3f6940 --- /dev/null +++ b/meta-sys940x/recipes-core/netbase/netbase_4.47.bbappend | |||
@@ -0,0 +1,3 @@ | |||
1 | FILESEXTRAPATHS_prepend := "${THISDIR}/files:" | ||
2 | RDEPENDS_${PN} += "genmac" | ||
3 | PRINC := "${@int(PRINC) + 1}" | ||