From: Paul Hänsch Date: Thu, 1 Nov 2018 02:43:40 +0000 (+0100) Subject: bluetooth pairing and network setup X-Git-Url: http://git.plutz.net/?a=commitdiff_plain;ds=inline;h=3f540a1a9559fa1d96bafcf697248b4ce93da1dc;hp=fbf0b5869a923fc36722bd345208dee5f077ae44;p=rpi_small bluetooth pairing and network setup --- diff --git a/files/etc/dnsmasq.conf b/files/etc/dnsmasq.conf new file mode 100644 index 0000000..dc15f81 --- /dev/null +++ b/files/etc/dnsmasq.conf @@ -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 index 0000000..b4663af --- /dev/null +++ b/files/etc/rc.local @@ -0,0 +1,6 @@ +#!/bin/sh + +bt-network -s nap br0 & +hciconfig hci0 up +hciconfig hci0 sspmode 1 +hciconfig hci0 piscan