]> git.plutz.net Git - rpi_small/commitdiff
bluetooth pairing and network setup
authorPaul Hänsch <paul@plutz.net>
Thu, 1 Nov 2018 02:43:40 +0000 (03:43 +0100)
committerPaul Hänsch <paul@plutz.net>
Thu, 1 Nov 2018 02:43:40 +0000 (03:43 +0100)
files/etc/dnsmasq.conf [new file with mode: 0644]
files/etc/rc.local [new file with mode: 0755]

diff --git a/files/etc/dnsmasq.conf b/files/etc/dnsmasq.conf
new file mode 100644 (file)
index 0000000..dc15f81
--- /dev/null
@@ -0,0 +1,5 @@
+listen-address=192.168.82.1
+bind-interfaces
+
+dhcp-authoritative
+dhcp-range=192.168.82.16,192.168.82.254,48h
diff --git a/files/etc/rc.local b/files/etc/rc.local
new file mode 100755 (executable)
index 0000000..b4663af
--- /dev/null
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+bt-network -s nap br0 &
+hciconfig hci0 up
+hciconfig hci0 sspmode 1
+hciconfig hci0 piscan