{"id":286,"date":"2021-01-14T13:41:50","date_gmt":"2021-01-14T13:41:50","guid":{"rendered":"https:\/\/www.bowlerblue.com\/site\/?p=286"},"modified":"2021-01-14T13:49:58","modified_gmt":"2021-01-14T13:49:58","slug":"configure-wifi-and-ssh-on-raspberry-pi-headless","status":"publish","type":"post","link":"https:\/\/www.bowlerblue.com\/site\/configure-wifi-and-ssh-on-raspberry-pi-headless\/","title":{"rendered":"Configure Wifi and SSH on Raspberry Pi &#8211; Headless"},"content":{"rendered":"\n<p>Want to configure a new Raspbian OS to connect to your wifi and to enable SSH without bothering to plug in a monitor or keyboard?<\/p>\n\n\n\n<p>After imaging the SSD card, plug it back into your computer.<\/p>\n\n\n\n<p>To enable wifi &#8211; create a file called <code>wpa_supplicant.conf<\/code> in the <code>\/boot<\/code> folder:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>ctrl_interface=DIR=\/var\/run\/wpa_supplicant GROUP=netdev\nupdate_config=1\ncountry=&lt;Insert 2 letter ISO 3166-1 country code here&gt;\n\nnetwork={\n ssid=\"&lt;Name of your wireless LAN&gt;\"\n psk=\"&lt;Password for your wireless LAN&gt;\"\n}<\/code><\/pre>\n\n\n\n<p>To enable ssh, create an empty file called <code>ssh<\/code> in the <code>\/boot<\/code> folder.<\/p>\n\n\n\n<p>More information:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><a rel=\"noreferrer noopener\" href=\"https:\/\/www.raspberrypi.org\/documentation\/configuration\/wireless\/headless.md\" target=\"_blank\">Headless wireless configuration<\/a><\/li><li><a href=\"https:\/\/www.raspberrypi.org\/documentation\/remote-access\/ssh\/README.md\" target=\"_blank\" rel=\"noreferrer noopener\">SSH configuration (see headless section)<\/a><\/li><\/ul>\n\n\n\n<p>Then boot it up for the first time &#8211; wait a while!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Want to configure a new Raspbian OS to connect to your wifi and to enable SSH without bothering to plug in a monitor or keyboard? After imaging the SSD card, plug it back into your computer. To enable wifi &#8211; create a file called wpa_supplicant.conf in the \/boot folder: To enable ssh, create an empty [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[15],"tags":[],"class_list":["post-286","post","type-post","status-publish","format-standard","hentry","category-raspberry-pi"],"_links":{"self":[{"href":"https:\/\/www.bowlerblue.com\/site\/wp-json\/wp\/v2\/posts\/286","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bowlerblue.com\/site\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bowlerblue.com\/site\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bowlerblue.com\/site\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bowlerblue.com\/site\/wp-json\/wp\/v2\/comments?post=286"}],"version-history":[{"count":2,"href":"https:\/\/www.bowlerblue.com\/site\/wp-json\/wp\/v2\/posts\/286\/revisions"}],"predecessor-version":[{"id":288,"href":"https:\/\/www.bowlerblue.com\/site\/wp-json\/wp\/v2\/posts\/286\/revisions\/288"}],"wp:attachment":[{"href":"https:\/\/www.bowlerblue.com\/site\/wp-json\/wp\/v2\/media?parent=286"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bowlerblue.com\/site\/wp-json\/wp\/v2\/categories?post=286"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bowlerblue.com\/site\/wp-json\/wp\/v2\/tags?post=286"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}