]> git.plutz.net Git - rpi_small/commitdiff
bluetooth NAP requirements
authorPaul Hänsch <paul@plutz.net>
Thu, 1 Nov 2018 01:01:17 +0000 (02:01 +0100)
committerPaul Hänsch <paul@plutz.net>
Thu, 1 Nov 2018 01:01:17 +0000 (02:01 +0100)
Makefile
files/etc/network/interfaces.d/btnap [new file with mode: 0644]

index fc1d362b555b99b283140c85742bff70e39bae76..ed769e66dd5d9ae84abfd4d994e1b1f09c87d652 100644 (file)
--- 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
 
 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 = 
 
 # 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 "$@" 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 "$@" apt-get clean
+       chroot "$@" rm /usr/local/sbin/invoke-rc.d
        touch "$@"
 
 id_rsa.pub:
        touch "$@"
 
 id_rsa.pub:
diff --git a/files/etc/network/interfaces.d/btnap b/files/etc/network/interfaces.d/btnap
new file mode 100644 (file)
index 0000000..000716f
--- /dev/null
@@ -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