{"id":1048,"date":"2019-02-19T00:25:38","date_gmt":"2019-02-19T04:25:38","guid":{"rendered":"http:\/\/io.bainwerx.com\/blog\/?p=1048"},"modified":"2019-02-19T00:25:45","modified_gmt":"2019-02-19T04:25:45","slug":"raspberry-pi-getting-started-with-a-headless-pi","status":"publish","type":"post","link":"https:\/\/io.bainwerx.com\/blog\/raspberry-pi-getting-started-with-a-headless-pi\/","title":{"rendered":"Raspberry Pi &#8211; Getting Started with a Headless Pi"},"content":{"rendered":"\n<p>So in order to keep life somewhat simple at the moment, I&#8217;m not planning to immediately connect the Pi to the network via cable \/ monitor \/ keyboard or mouse&#8230;that means it&#8217;s gonna be headless.<\/p>\n\n\n\n<p><strong>Step 1<\/strong> download the <a href=\"https:\/\/www.raspberrypi.org\/downloads\/raspbian\/\">latest Rasbian LITE image<\/a><\/p>\n\n\n\n<p><strong>Step 2<\/strong> extract the .img file from the file that was downloaded<\/p>\n\n\n\n<p><strong>Step 3<\/strong> connect the sd card to the computer and use Etcher to flash the sd card to the latest raspian image<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"620\" height=\"148\" data-attachment-id=\"1049\" data-permalink=\"https:\/\/io.bainwerx.com\/blog\/raspberry-pi-getting-started-with-a-headless-pi\/etcher\/#main\" data-orig-file=\"https:\/\/i0.wp.com\/io.bainwerx.com\/blog\/wp-content\/uploads\/2019\/02\/etcher.png?fit=710%2C169&amp;ssl=1\" data-orig-size=\"710,169\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"etcher\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/io.bainwerx.com\/blog\/wp-content\/uploads\/2019\/02\/etcher.png?fit=300%2C71&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/io.bainwerx.com\/blog\/wp-content\/uploads\/2019\/02\/etcher.png?fit=620%2C148&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/io.bainwerx.com\/blog\/wp-content\/uploads\/2019\/02\/etcher.png?resize=620%2C148\" alt=\"\" class=\"wp-image-1049\" srcset=\"https:\/\/i0.wp.com\/io.bainwerx.com\/blog\/wp-content\/uploads\/2019\/02\/etcher.png?w=710&amp;ssl=1 710w, https:\/\/i0.wp.com\/io.bainwerx.com\/blog\/wp-content\/uploads\/2019\/02\/etcher.png?resize=300%2C71&amp;ssl=1 300w\" sizes=\"auto, (max-width: 620px) 100vw, 620px\" \/><\/figure>\n\n\n\n<p><strong>Step 4<\/strong> enable ssh functionality by connecting to \/Volumes\/boot followed by touch ssh (this created a blank file called ssh)<\/p>\n\n\n\n<p><strong>Step 5<\/strong> <g class=\"gr_ gr_47 gr-alert gr_gramm gr_inline_cards gr_run_anim Grammar multiReplace\" id=\"47\" data-gr-id=\"47\">enable<\/g> wireless functionality by editing \/Volumes\/wpa_supplicant.conf to reflect the following <g class=\"gr_ gr_49 gr-alert gr_gramm gr_inline_cards gr_run_anim Punctuation only-del replaceWithoutSep\" id=\"49\" data-gr-id=\"49\">changes,<\/g> when complete save the changes and eject the sd card<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>ctrl_interface=DIR=\/var\/run\/wpa_supplicant GROUP=netdev\nnetwork={\n    ssid=\"YOUR_SSID\"\n    psk=\"YOUR_WIFI_PASSWORD\"\n    key_mgmt=WPA-PSK\n}<\/code><\/pre>\n\n\n\n<p><strong>Step 6<\/strong> connect your pi to power and turn it on<\/p>\n\n\n\n<p><strong>Step 7<\/strong> ping raspberrypi.local to determine your ip<\/p>\n\n\n\n<p><strong>Step 8<\/strong> ssh raspberrypi.local -l pi with a password of raspberry<\/p>\n\n\n\n<p><strong>Step 9<\/strong> perform the following tasks<\/p>\n\n\n\n<p>a) sudo raspi-config<\/p>\n\n\n\n<p>b) sudo apt-get update<\/p>\n\n\n\n<p>c) sudo apt-get dist-upgrade<\/p>\n\n\n\n<p>d) sudo reboot<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>So in order to keep life somewhat simple at the moment, I&#8217;m not planning to immediately connect the Pi to the network via cable \/ monitor \/ keyboard or mouse&#8230;that means it&#8217;s gonna be headless. Step 1 download the latest Rasbian LITE image Step 2 extract the .img file from the file that was downloaded &hellip; <a href=\"https:\/\/io.bainwerx.com\/blog\/raspberry-pi-getting-started-with-a-headless-pi\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Raspberry Pi &#8211; Getting Started with a Headless Pi<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[75],"tags":[],"class_list":["post-1048","post","type-post","status-publish","format-standard","hentry","category-raspberry-pi","without-featured-image"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p8DcKP-gU","jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/io.bainwerx.com\/blog\/wp-json\/wp\/v2\/posts\/1048","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/io.bainwerx.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/io.bainwerx.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/io.bainwerx.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/io.bainwerx.com\/blog\/wp-json\/wp\/v2\/comments?post=1048"}],"version-history":[{"count":1,"href":"https:\/\/io.bainwerx.com\/blog\/wp-json\/wp\/v2\/posts\/1048\/revisions"}],"predecessor-version":[{"id":1050,"href":"https:\/\/io.bainwerx.com\/blog\/wp-json\/wp\/v2\/posts\/1048\/revisions\/1050"}],"wp:attachment":[{"href":"https:\/\/io.bainwerx.com\/blog\/wp-json\/wp\/v2\/media?parent=1048"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/io.bainwerx.com\/blog\/wp-json\/wp\/v2\/categories?post=1048"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/io.bainwerx.com\/blog\/wp-json\/wp\/v2\/tags?post=1048"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}