{"id":278,"date":"2012-07-12T21:58:45","date_gmt":"2012-07-12T11:58:45","guid":{"rendered":"http:\/\/blog.peter-johnson.com.au\/?p=278"},"modified":"2022-03-19T22:54:09","modified_gmt":"2022-03-19T11:54:09","slug":"rasberry-pi-initial-configuration","status":"publish","type":"post","link":"https:\/\/blog.peter-johnson.com.au\/index.php\/2012\/07\/12\/rasberry-pi-initial-configuration\/","title":{"rendered":"Rasberry Pi initial configuration"},"content":{"rendered":"\n<p>Posting my initial Raspberry Pi configuration steps to enable SSH \/ FTP \/ VNC and Wifi to a WPA2 access point in case it&#8217;s of use to anyone else getting started with the Pi. WPA connection is automatic, I&#8217;ve left VNC manually started to save resources when not in use, it can be started via SSH or the console using the following command:<\/p>\n\n\n\n<p><code>vncserver :1 -geometry 1024x768 -depth 16 -pixelformat rgb565<\/code><\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n# loaded debian6-19-04-2012.img to SD card\n# expanded main partition using gparted on another machine\nsudo \/boot\/boot_enable_ssh.rc\nuname -a\n# Linux raspberrypi 3.1.9+ #90 Wed Apr 18 18:23:05 BST 2012 armv6l GNU\/Linux\nsudo dpkg-reconfigure tzdata\nsudo nano \/etc\/dhcp\/dhclient.conf # set host-name\nsudo apt-get update\nsudo apt-get upgrade\nsudo apt-get install ca-certificates git-core proftpd tightvncserver\nsudo wget http:\/\/goo.gl\/1BOfJ -O \/usr\/bin\/rpi-update\nsudo chmod +x \/usr\/bin\/rpi-update\nsudo rpi-update # ignore error about libvchiq_arm.so\nsudo reboot\nuname -a\n# Linux raspberrypi 3.1.9+ #159 PREEMPT Wed Jul 11 19:54:53 BST 2012 armv6l GNU\/Linux\nwpa_passphrase &lt;SSID&gt; &lt;Passphrase&gt; # copy hex from psk= and paste into &lt;PSK&gt; below\nsudo nano \/etc\/network\/interfaces\n# append following to bottom:\nauto wlan0\niface wlan0 inet dhcp\nwpa-ssid &lt;SSID&gt;\nwpa-psk &lt;PSK&gt;\n<\/pre><\/div>","protected":false},"excerpt":{"rendered":"<p>Posting my initial Raspberry Pi configuration steps to enable SSH \/ FTP \/ VNC and Wifi to a WPA2 access point in case it&#8217;s of use to anyone else getting started with the Pi. WPA connection is automatic, I&#8217;ve left VNC manually started to save resources when not in use, it can be started via [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,6],"tags":[],"class_list":["post-278","post","type-post","status-publish","format-standard","hentry","category-linux","category-operating-systems"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\r\n<title>Rasberry Pi initial configuration - Peter Johnson&#039;s Blog<\/title>\r\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\r\n<link rel=\"canonical\" href=\"https:\/\/blog.peter-johnson.com.au\/index.php\/2012\/07\/12\/rasberry-pi-initial-configuration\/\" \/>\r\n<meta property=\"og:locale\" content=\"en_US\" \/>\r\n<meta property=\"og:type\" content=\"article\" \/>\r\n<meta property=\"og:title\" content=\"Rasberry Pi initial configuration - Peter Johnson&#039;s Blog\" \/>\r\n<meta property=\"og:description\" content=\"Posting my initial Raspberry Pi configuration steps to enable SSH \/ FTP \/ VNC and Wifi to a WPA2 access point in case it&#8217;s of use to anyone else getting started with the Pi. WPA connection is automatic, I&#8217;ve left VNC manually started to save resources when not in use, it can be started via [&hellip;]\" \/>\r\n<meta property=\"og:url\" content=\"https:\/\/blog.peter-johnson.com.au\/index.php\/2012\/07\/12\/rasberry-pi-initial-configuration\/\" \/>\r\n<meta property=\"og:site_name\" content=\"Peter Johnson&#039;s Blog\" \/>\r\n<meta property=\"article:published_time\" content=\"2012-07-12T11:58:45+00:00\" \/>\r\n<meta property=\"article:modified_time\" content=\"2022-03-19T11:54:09+00:00\" \/>\r\n<meta name=\"author\" content=\"Peter Johnson\" \/>\r\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\r\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Peter Johnson\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\r\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/blog.peter-johnson.com.au\/index.php\/2012\/07\/12\/rasberry-pi-initial-configuration\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/blog.peter-johnson.com.au\/index.php\/2012\/07\/12\/rasberry-pi-initial-configuration\/\"},\"author\":{\"name\":\"Peter Johnson\",\"@id\":\"https:\/\/blog.peter-johnson.com.au\/#\/schema\/person\/4c77aa7d5243430f95831ecb7277546c\"},\"headline\":\"Rasberry Pi initial configuration\",\"datePublished\":\"2012-07-12T11:58:45+00:00\",\"dateModified\":\"2022-03-19T11:54:09+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/blog.peter-johnson.com.au\/index.php\/2012\/07\/12\/rasberry-pi-initial-configuration\/\"},\"wordCount\":67,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/blog.peter-johnson.com.au\/#\/schema\/person\/4c77aa7d5243430f95831ecb7277546c\"},\"articleSection\":[\"Linux\",\"Operating systems\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/blog.peter-johnson.com.au\/index.php\/2012\/07\/12\/rasberry-pi-initial-configuration\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/blog.peter-johnson.com.au\/index.php\/2012\/07\/12\/rasberry-pi-initial-configuration\/\",\"url\":\"https:\/\/blog.peter-johnson.com.au\/index.php\/2012\/07\/12\/rasberry-pi-initial-configuration\/\",\"name\":\"Rasberry Pi initial configuration - Peter Johnson&#039;s Blog\",\"isPartOf\":{\"@id\":\"https:\/\/blog.peter-johnson.com.au\/#website\"},\"datePublished\":\"2012-07-12T11:58:45+00:00\",\"dateModified\":\"2022-03-19T11:54:09+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/blog.peter-johnson.com.au\/index.php\/2012\/07\/12\/rasberry-pi-initial-configuration\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/blog.peter-johnson.com.au\/index.php\/2012\/07\/12\/rasberry-pi-initial-configuration\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/blog.peter-johnson.com.au\/index.php\/2012\/07\/12\/rasberry-pi-initial-configuration\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/blog.peter-johnson.com.au\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Rasberry Pi initial configuration\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/blog.peter-johnson.com.au\/#website\",\"url\":\"https:\/\/blog.peter-johnson.com.au\/\",\"name\":\"Peter Johnson&#039;s Blog\",\"description\":\"Hobart, Tasmania Software Development\",\"publisher\":{\"@id\":\"https:\/\/blog.peter-johnson.com.au\/#\/schema\/person\/4c77aa7d5243430f95831ecb7277546c\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/blog.peter-johnson.com.au\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/blog.peter-johnson.com.au\/#\/schema\/person\/4c77aa7d5243430f95831ecb7277546c\",\"name\":\"Peter Johnson\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/blog.peter-johnson.com.au\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/blog.peter-johnson.com.au\/wp-content\/uploads\/2022\/03\/168849_1786067253024_5579222_n.jpg\",\"contentUrl\":\"https:\/\/blog.peter-johnson.com.au\/wp-content\/uploads\/2022\/03\/168849_1786067253024_5579222_n.jpg\",\"width\":160,\"height\":120,\"caption\":\"Peter Johnson\"},\"logo\":{\"@id\":\"https:\/\/blog.peter-johnson.com.au\/#\/schema\/person\/image\/\"},\"sameAs\":[\"https:\/\/blog.peter-johnson.com.au\"],\"url\":\"https:\/\/blog.peter-johnson.com.au\/index.php\/author\/peterj\/\"}]}<\/script>\r\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Rasberry Pi initial configuration - Peter Johnson&#039;s Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/blog.peter-johnson.com.au\/index.php\/2012\/07\/12\/rasberry-pi-initial-configuration\/","og_locale":"en_US","og_type":"article","og_title":"Rasberry Pi initial configuration - Peter Johnson&#039;s Blog","og_description":"Posting my initial Raspberry Pi configuration steps to enable SSH \/ FTP \/ VNC and Wifi to a WPA2 access point in case it&#8217;s of use to anyone else getting started with the Pi. WPA connection is automatic, I&#8217;ve left VNC manually started to save resources when not in use, it can be started via [&hellip;]","og_url":"https:\/\/blog.peter-johnson.com.au\/index.php\/2012\/07\/12\/rasberry-pi-initial-configuration\/","og_site_name":"Peter Johnson&#039;s Blog","article_published_time":"2012-07-12T11:58:45+00:00","article_modified_time":"2022-03-19T11:54:09+00:00","author":"Peter Johnson","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Peter Johnson","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/blog.peter-johnson.com.au\/index.php\/2012\/07\/12\/rasberry-pi-initial-configuration\/#article","isPartOf":{"@id":"https:\/\/blog.peter-johnson.com.au\/index.php\/2012\/07\/12\/rasberry-pi-initial-configuration\/"},"author":{"name":"Peter Johnson","@id":"https:\/\/blog.peter-johnson.com.au\/#\/schema\/person\/4c77aa7d5243430f95831ecb7277546c"},"headline":"Rasberry Pi initial configuration","datePublished":"2012-07-12T11:58:45+00:00","dateModified":"2022-03-19T11:54:09+00:00","mainEntityOfPage":{"@id":"https:\/\/blog.peter-johnson.com.au\/index.php\/2012\/07\/12\/rasberry-pi-initial-configuration\/"},"wordCount":67,"commentCount":0,"publisher":{"@id":"https:\/\/blog.peter-johnson.com.au\/#\/schema\/person\/4c77aa7d5243430f95831ecb7277546c"},"articleSection":["Linux","Operating systems"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/blog.peter-johnson.com.au\/index.php\/2012\/07\/12\/rasberry-pi-initial-configuration\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/blog.peter-johnson.com.au\/index.php\/2012\/07\/12\/rasberry-pi-initial-configuration\/","url":"https:\/\/blog.peter-johnson.com.au\/index.php\/2012\/07\/12\/rasberry-pi-initial-configuration\/","name":"Rasberry Pi initial configuration - Peter Johnson&#039;s Blog","isPartOf":{"@id":"https:\/\/blog.peter-johnson.com.au\/#website"},"datePublished":"2012-07-12T11:58:45+00:00","dateModified":"2022-03-19T11:54:09+00:00","breadcrumb":{"@id":"https:\/\/blog.peter-johnson.com.au\/index.php\/2012\/07\/12\/rasberry-pi-initial-configuration\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/blog.peter-johnson.com.au\/index.php\/2012\/07\/12\/rasberry-pi-initial-configuration\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/blog.peter-johnson.com.au\/index.php\/2012\/07\/12\/rasberry-pi-initial-configuration\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/blog.peter-johnson.com.au\/"},{"@type":"ListItem","position":2,"name":"Rasberry Pi initial configuration"}]},{"@type":"WebSite","@id":"https:\/\/blog.peter-johnson.com.au\/#website","url":"https:\/\/blog.peter-johnson.com.au\/","name":"Peter Johnson&#039;s Blog","description":"Hobart, Tasmania Software Development","publisher":{"@id":"https:\/\/blog.peter-johnson.com.au\/#\/schema\/person\/4c77aa7d5243430f95831ecb7277546c"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/blog.peter-johnson.com.au\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/blog.peter-johnson.com.au\/#\/schema\/person\/4c77aa7d5243430f95831ecb7277546c","name":"Peter Johnson","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/blog.peter-johnson.com.au\/#\/schema\/person\/image\/","url":"https:\/\/blog.peter-johnson.com.au\/wp-content\/uploads\/2022\/03\/168849_1786067253024_5579222_n.jpg","contentUrl":"https:\/\/blog.peter-johnson.com.au\/wp-content\/uploads\/2022\/03\/168849_1786067253024_5579222_n.jpg","width":160,"height":120,"caption":"Peter Johnson"},"logo":{"@id":"https:\/\/blog.peter-johnson.com.au\/#\/schema\/person\/image\/"},"sameAs":["https:\/\/blog.peter-johnson.com.au"],"url":"https:\/\/blog.peter-johnson.com.au\/index.php\/author\/peterj\/"}]}},"_links":{"self":[{"href":"https:\/\/blog.peter-johnson.com.au\/index.php\/wp-json\/wp\/v2\/posts\/278","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.peter-johnson.com.au\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.peter-johnson.com.au\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.peter-johnson.com.au\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.peter-johnson.com.au\/index.php\/wp-json\/wp\/v2\/comments?post=278"}],"version-history":[{"count":3,"href":"https:\/\/blog.peter-johnson.com.au\/index.php\/wp-json\/wp\/v2\/posts\/278\/revisions"}],"predecessor-version":[{"id":385,"href":"https:\/\/blog.peter-johnson.com.au\/index.php\/wp-json\/wp\/v2\/posts\/278\/revisions\/385"}],"wp:attachment":[{"href":"https:\/\/blog.peter-johnson.com.au\/index.php\/wp-json\/wp\/v2\/media?parent=278"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.peter-johnson.com.au\/index.php\/wp-json\/wp\/v2\/categories?post=278"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.peter-johnson.com.au\/index.php\/wp-json\/wp\/v2\/tags?post=278"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}