From fbf0b5869a923fc36722bd345208dee5f077ae44 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Paul=20H=C3=A4nsch?= Date: Thu, 1 Nov 2018 02:01:17 +0100 Subject: [PATCH] bluetooth NAP requirements --- Makefile | 5 +++-- files/etc/network/interfaces.d/btnap | 7 +++++++ 2 files changed, 10 insertions(+), 2 deletions(-) create mode 100644 files/etc/network/interfaces.d/btnap diff --git a/Makefile b/Makefile index fc1d362..ed769e6 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,7 @@ deb http://raspbian.raspberrypi.org/raspbian stretch main non-free firmware rpi\ deb http://archive.raspberrypi.org/debian stretch main\n endef -PACKAGES := apt apt-transport-https bluez bluez-firmware btrfs-tools busybox-static bzip2 ca-certificates cron deborphan firmware-atheros firmware-brcm80211 firmware-libertas firmware-linux-free firmware-misc-nonfree firmware-realtek gzip htop ifupdown init iptables iputils-ping irqbalance isc-dhcp-client less libraspberrypi-bin libraspberrypi0 make net-tools nmap ntpdate openssh-client openssh-server p7zip-full rpi-update rsync ssh sshfs sudo systemd traceroute unace unrar-free unzip vim wget wireless-tools wpasupplicant xz-utils zip +PACKAGES := apt apt-transport-https bluez bluez-firmware bluez-tools bridge-utils btrfs-tools busybox-static bzip2 ca-certificates cron deborphan dnsmasq firmware-atheros firmware-brcm80211 firmware-libertas firmware-linux-free firmware-misc-nonfree firmware-realtek gzip htop ifupdown init iptables iputils-ping irqbalance isc-dhcp-client less libraspberrypi-bin libraspberrypi0 make net-tools nmap ntpdate openssh-client openssh-server p7zip-full pi-bluetooth rpi-update rsync ssh sshfs sudo systemd traceroute unace unrar-free unzip vim wget wireless-tools wpasupplicant xz-utils zip # Do not change, only override in config.mk WIFI-SSID = @@ -38,8 +38,9 @@ raspi_root/: raspi_root .FORCE chroot "$@" apt-get --yes --auto-remove purge chroot "$@" apt-get --yes --auto-remove upgrade chroot "$@" rpi-update - chroot "$@" rm /usr/local/sbin/invoke-rc.d + sync chroot "$@" apt-get clean + chroot "$@" rm /usr/local/sbin/invoke-rc.d touch "$@" id_rsa.pub: diff --git a/files/etc/network/interfaces.d/btnap b/files/etc/network/interfaces.d/btnap new file mode 100644 index 0000000..000716f --- /dev/null +++ b/files/etc/network/interfaces.d/btnap @@ -0,0 +1,7 @@ +auto br0 +iface br0 inet static + address 192.168.82.1 + netmask 255.255.255.0 + bridge_ports none + bridge_fd 5 + bridge_stp no -- 2.39.2