From 3f540a1a9559fa1d96bafcf697248b4ce93da1dc Mon Sep 17 00:00:00 2001 From: =?utf8?q?Paul=20H=C3=A4nsch?= Date: Thu, 1 Nov 2018 03:43:40 +0100 Subject: [PATCH 1/1] bluetooth pairing and network setup --- files/etc/dnsmasq.conf | 5 +++++ files/etc/rc.local | 6 ++++++ 2 files changed, 11 insertions(+) create mode 100644 files/etc/dnsmasq.conf create mode 100755 files/etc/rc.local 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 -- 2.39.2