{"id":9323,"date":"2019-12-08T16:15:36","date_gmt":"2019-12-08T23:15:36","guid":{"rendered":"https:\/\/www.apolonio.com\/blog\/?p=9323"},"modified":"2019-12-08T16:15:36","modified_gmt":"2019-12-08T23:15:36","slug":"stand-alone-working-ble-sentry-working","status":"publish","type":"post","link":"https:\/\/www.apolonio.com\/blog\/?p=9323","title":{"rendered":"Stand alone working BLE Sentry Working"},"content":{"rendered":"\n<p>I was able to get a standalong BLE Sentry working acting as an AP using hostapd and the USB0 interface.<\/p>\n\n\n\n<p>The magic that made the networking work was having nohook wpa_supplicant in \/etc\/dhcpcd.conf<\/p>\n\n\n\n<p>Another thing was switching from isc-dhcp to dnsmasq for dhcp.  Seems to work better and is much easier to configure.<\/p>\n\n\n\n<p>Also I had to figure out connecting to the network via CLI again<\/p>\n\n\n\n<p>Here are the basic commands<\/p>\n\n\n\n<p><code>ip link set wlan0 up<br>iwconfig wlan0 essid checkpoint<br>dhclient wlan0<\/code><\/p>\n\n\n\n<p>I could use wpa but I opted not to, this will be an open access point.<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I was able to get a standalong BLE Sentry working acting as an AP using hostapd and the USB0 interface. The magic that made the networking work was having nohook wpa_supplicant in \/etc\/dhcpcd.conf Another thing was switching from isc-dhcp to &hellip; <a href=\"https:\/\/www.apolonio.com\/blog\/?p=9323\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[20,11,3],"tags":[],"class_list":["post-9323","post","type-post","status-publish","format-standard","hentry","category-raspberry-pi","category-technical","category-training"],"_links":{"self":[{"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/9323","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=9323"}],"version-history":[{"count":1,"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/9323\/revisions"}],"predecessor-version":[{"id":9324,"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/9323\/revisions\/9324"}],"wp:attachment":[{"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=9323"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=9323"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=9323"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}