{"id":277,"date":"2020-02-29T18:22:12","date_gmt":"2020-02-29T23:22:12","guid":{"rendered":"http:\/\/myblog.vindaloo.com\/?p=277"},"modified":"2020-03-01T16:01:33","modified_gmt":"2020-03-01T21:01:33","slug":"openbsd-on-raspberry-pi","status":"publish","type":"post","link":"http:\/\/myblog.vindaloo.com\/?p=277","title":{"rendered":"OpenBSD on Raspberry Pi"},"content":{"rendered":"<p>&nbsp;<\/p>\n<p>I haven&#8217;t played with Raspberry Pi quite enough. I&#8217;ll do a write up on my garage door opener project at another time. But a really promising place for the Pi in my opinion is the role of a traveling router\/access point. I don&#8217;t find the process of connecting to the WiFi in a hotel room particularly hard. It&#8217;s connecting back into my own network to access my my services that is difficult. The methods that I have at my disposal are:<\/p>\n<ul>\n<li>IPSec VPN<\/li>\n<li>SSH\/SCP to selected service<\/li>\n<li>Direct access where things are configured for it<\/li>\n<\/ul>\n<p>Running OpenBSD on a Raspberry Pi gives me a solid place to put an IPSec connection for the whole hotel room network. Getting there involves installing OpenBSD on the Pi in the first place<\/p>\n<h2>Ingredients:<\/h2>\n<ul>\n<li>A Raspberry Pi 3B or 3B+ each model has plusses and minusses<\/li>\n<li>An OpenBSD Raspberry pi snapshot release <strong><a href=\"https:\/\/ftp.openbsd.org\/pub\/OpenBSD\/snapshots\/arm64\/\">available at this url<\/a>.<\/strong><\/li>\n<li>OpenBSD does not support the Pi video yet. The install console is serial.\u00a0<a href=\"https:\/\/www.amazon.com\/JANSANE-PL2303TA-Serial-Console-Raspberry\/dp\/B07D9R5JFK\">You need an Arduino\/Raspberry Pi serial cable<\/a>. The link points to a 4pin style. It connects as follows:\n<ol>\n<li>Black &lt;-&gt; Pi GND<\/li>\n<li>White &lt;-&gt; Pi TX0<\/li>\n<li>Green &lt;-&gt; Pi RX0<\/li>\n<\/ol>\n<\/li>\n<li>A fast USB stick. OpenBSD can&#8217;t run from MicroSD card yet. <a href=\"https:\/\/www.amazon.com\/SanDisk-Ultra-Flash-Drive-SDCZ43-032G-GAM46\/dp\/B01BGTG41W\">This one works.<\/a><\/li>\n<li>A WiFi adapter that you can live with this is going to be a compromise because WiFi has somewhat left the BSDs behind. These two <a style=\"font-size: 1rem;\" href=\"https:\/\/www.amazon.com\/CanaKit-Raspberry-Wireless-Adapter-Dongle\/dp\/B00GFAN498\">CanaKit Wifi<\/a>, and\u00a0 <a style=\"font-size: 1rem;\" href=\"https:\/\/www.amazon.com\/gp\/product\/B008IFXQFU\">TP-Link WiFi, work.<\/a><\/li>\n<\/ul>\n<p><!--more--><\/p>\n<p>As I write this, I&#8217;m running through the procedure again. Once installed, you will run OpenBSD from the USB stick. That requires no change on the Raspberry Pi 3 B+. but on the 3 B, you have to modify the U-Boot configuration to support usb boot. Instructions are all over the net on how to make this change in the forward direction. I haven&#8217;t seen any links that specifically document how to revert it back to the defaults.<\/p>\n<h3>Which Pi 3B or 3B+?<\/h3>\n<p>The Raspberry Pi 3B+ is a bit faster than then 3B but the ethernet isn&#8217;t supported due to an issue with USB.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; I haven&#8217;t played with Raspberry Pi quite enough. I&#8217;ll do a write up on my garage door opener project at another time. But a really promising place for the Pi in my opinion is the role of a traveling router\/access point. I don&#8217;t find the process of connecting to the WiFi in a hotel &hellip; <\/p>\n<p class=\"link-more\"><a href=\"http:\/\/myblog.vindaloo.com\/?p=277\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;OpenBSD on Raspberry Pi&#8221;<\/span><\/a><\/p>\n","protected":false},"author":54,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[23,10,15],"tags":[],"class_list":["post-277","post","type-post","status-publish","format-standard","hentry","category-ipv6","category-openbsd","category-sysadmin"],"_links":{"self":[{"href":"http:\/\/myblog.vindaloo.com\/index.php?rest_route=\/wp\/v2\/posts\/277","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/myblog.vindaloo.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/myblog.vindaloo.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/myblog.vindaloo.com\/index.php?rest_route=\/wp\/v2\/users\/54"}],"replies":[{"embeddable":true,"href":"http:\/\/myblog.vindaloo.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=277"}],"version-history":[{"count":5,"href":"http:\/\/myblog.vindaloo.com\/index.php?rest_route=\/wp\/v2\/posts\/277\/revisions"}],"predecessor-version":[{"id":281,"href":"http:\/\/myblog.vindaloo.com\/index.php?rest_route=\/wp\/v2\/posts\/277\/revisions\/281"}],"wp:attachment":[{"href":"http:\/\/myblog.vindaloo.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=277"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/myblog.vindaloo.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=277"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/myblog.vindaloo.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=277"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}