From de8f190eaa212657d416b723491f88d4567996a4 Mon Sep 17 00:00:00 2001 From: tkl Date: Tue, 23 Feb 2021 22:08:03 +0100 Subject: [PATCH] init-ifupdown: Fix interfaces definition for network --- .../files/beaglebone-yocto/interfaces | 0 .../files/raspberrypi3-64}/interfaces | 0 .../files/raspberrypi4-64/interfaces | 22 +++++++++++++++++++ .../init-ifupdown_%.bbappend} | 0 4 files changed, 22 insertions(+) rename recipes-core/{init-ifupdown-1.0 => init-ifupdown}/files/beaglebone-yocto/interfaces (100%) rename recipes-core/{init-ifupdown-1.0/files/raspberrypi% => init-ifupdown/files/raspberrypi3-64}/interfaces (100%) create mode 100644 recipes-core/init-ifupdown/files/raspberrypi4-64/interfaces rename recipes-core/{init-ifupdown-1.0/init-ifupdown_1.0.bbappend => init-ifupdown/init-ifupdown_%.bbappend} (100%) diff --git a/recipes-core/init-ifupdown-1.0/files/beaglebone-yocto/interfaces b/recipes-core/init-ifupdown/files/beaglebone-yocto/interfaces similarity index 100% rename from recipes-core/init-ifupdown-1.0/files/beaglebone-yocto/interfaces rename to recipes-core/init-ifupdown/files/beaglebone-yocto/interfaces diff --git a/recipes-core/init-ifupdown-1.0/files/raspberrypi%/interfaces b/recipes-core/init-ifupdown/files/raspberrypi3-64/interfaces similarity index 100% rename from recipes-core/init-ifupdown-1.0/files/raspberrypi%/interfaces rename to recipes-core/init-ifupdown/files/raspberrypi3-64/interfaces diff --git a/recipes-core/init-ifupdown/files/raspberrypi4-64/interfaces b/recipes-core/init-ifupdown/files/raspberrypi4-64/interfaces new file mode 100644 index 0000000..c3608b2 --- /dev/null +++ b/recipes-core/init-ifupdown/files/raspberrypi4-64/interfaces @@ -0,0 +1,22 @@ +# The loopback interface +auto lo +iface lo inet loopback + +# Wireless interface +allow-hotplug wlan0 +auto wlan0 +iface wlan0 inet dhcp + wireless_mode managed + wireless_essid any + wpa-driver nl80211 + wpa-conf /etc/wpa_supplicant.conf +wireless-power off + + +# Wired interface +auto eth0 +iface eth0 inet dhcp + +# Bluetooth networking +iface bnep0 inet dhcp + diff --git a/recipes-core/init-ifupdown-1.0/init-ifupdown_1.0.bbappend b/recipes-core/init-ifupdown/init-ifupdown_%.bbappend similarity index 100% rename from recipes-core/init-ifupdown-1.0/init-ifupdown_1.0.bbappend rename to recipes-core/init-ifupdown/init-ifupdown_%.bbappend