{"id":285,"date":"2013-07-14T20:53:57","date_gmt":"2013-07-15T01:53:57","guid":{"rendered":"http:\/\/appleii.ivanx.com\/a2cloud\/?p=285"},"modified":"2023-09-10T10:53:14","modified_gmt":"2023-09-10T15:53:14","slug":"a2cloud-go-headless-with-your-pi","status":"publish","type":"post","link":"https:\/\/appleii.ivanx.com\/a2cloud\/a2cloud-go-headless-with-your-pi\/","title":{"rendered":"4. Go headless (optional)"},"content":{"rendered":"<p>For basic A2CLOUD use, I recommend going headless with your Raspberry Pi &#8212; that is, using it without a screen and keyboard. This will keep your USB ports free and reduce clutter, plus make it feel more like an Apple II peripheral.\u00a0It&#8217;s pretty doable because you can always display your Pi&#8217;s screen on a newer computer on your network, and you can even log into its command line from your Apple II.<\/p>\n<p>With that said, you may want a screen and keyboard attached if you want to use <a title=\"A2CLOUD: control your Pi from your II\" href=\"https:\/\/appleii.ivanx.com\/a2cloud\/a2cloud-control-your-pi-from-your-ii\/\">Apple II Pi<\/a>, or you just feel more comfortable using it that way. So if you&#8217;re not ready to go headless, you can skip the rest of this post.<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"text-decoration: underline;\">Log in to the Pi&#8217;s command line:<\/span><\/p>\n<p>If you&#8217;re gonna go headless, then you&#8217;ll need to take a few steps so that you can control your Pi from another computer, which\u00a0could be an Apple II, as I&#8217;ll explain in a few posts. But you can also use a current-day computer on your network.<\/p>\n<p><span style=\"line-height: 1.714285714; font-size: 1rem;\"> On a Mac, open Terminal (in the Utilities folder of the Applications folder), and at the prompt, type\u00a0<code>ssh pi@raspberrypi.local<\/code>\u00a0to connect. If you have Windows, you can install\u00a0<a href=\"http:\/\/support.apple.com\/kb\/dl999\" target=\"new\" rel=\"noopener\">Bonjour Print Services<\/a>, and then use\u00a0<a href=\"http:\/\/www.chiark.greenend.org.uk\/~sgtatham\/putty\/\" target=\"new\" rel=\"noopener\">PuTTY<\/a>\u00a0to connect to the address &#8220;raspberrypi.local&#8221;.<\/span><\/p>\n<p>If that doesn&#8217;t work, try updating A2CLOUD by typing <code>a2cloud-setup<\/code>. If it still doesn&#8217;t work, or you don&#8217;t want to install Bonjour Print Services for Windows, you will need to find your Pi&#8217;s IP address and use that instead. If you have a Mac, you can use\u00a0<a href=\"http:\/\/ivanx.com\/raspberrypi\/files\/PiFinder.zip\">Pi Finder<\/a>\u00a0to help with this; if you have Windows, you can use\u00a0<a href=\"http:\/\/www.advanced-ip-scanner.com\/\" target=\"new\" rel=\"noopener\">Advanced IP Scanner<\/a>.<\/p>\n<p><span style=\"line-height: 1.714285714; font-size: 1rem;\">The username is &#8220;pi&#8221; and the password is &#8220;apple2&#8221; (or instead &#8220;raspberry&#8221; if you installed a fresh copy of Raspbian, rather than Raspple II). You should arrive at the Linux prompt.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><a id=\"xrdp\"><\/a><span style=\"text-decoration: underline;\">Remotely Access the Raspbian desktop<\/span><\/p>\n<p>You can access the Raspbian graphical desktop by using remote desktop software. Use the\u00a0Remote Desktop Connection application included with Microsoft Windows,\u00a0or its\u00a0<a title=\"Microsoft Remote Desktop for Mac\" href=\"https:\/\/itunes.apple.com\/us\/app\/microsoft-remote-desktop\/id715768417?mt=12\" target=\"_blank\" rel=\"noopener\">Mac version<\/a>, to connect to your Raspberry Pi by putting in &#8220;raspberrypi.local&#8221;, or your Pi&#8217;s IP address.\u00a0(If you would prefer to use a VNC client,\u00a0<a title=\"configure TightVNCServer\" href=\"http:\/\/elinux.org\/RPi_VNC_Server\" target=\"_blank\" rel=\"noopener\">configure tightvncserver<\/a>. You could also use RDP or VNC clients for other platforms, like iOS and Android.)<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"text-decoration: underline;\">Get a consistent IP Address<\/span><\/p>\n<p>If &#8220;raspberrypi.local&#8221; doesn&#8217;t work for you for some reason, and you don&#8217;t want to have to use Pi Finder or Advanced IP Scanner every time you want to log into your Pi, I suggest you create a DHCP reservation in your router. This will make your router give your Pi the same IP address every time. Every router&#8217;s configuration screen is a little different, but they all require the same things: the 12-digit MAC (ethernet hardware) address, and the IP address that should be assigned to it.<\/p>\n<p>Pi Finder and Advanced IP Scanner give you this info.\u00a0Alternatively, from your Pi, type\u00a0<code>ip addr<\/code> and you&#8217;ll find the MAC address as six pairs of digits separated by colons, in a line that starts with &#8220;link&#8221;, and the IP address as four numbers separated by periods immediately after the word &#8220;inet&#8221;. If you need help creating DHCP reservations on your particular router, check the manual, or Google for it.<\/p>\n<p>If your router can&#8217;t provide a DHCP reservation, you can alternatively configure your Pi to have a static IP address (which is permanently set, rather than asking your router for it) via the method discussed <a title=\"Raspberry Pi static IP address\" href=\"http:\/\/elinux.org\/Configuring_a_Static_IP_address_on_your_Raspberry_Pi\" target=\"_blank\" rel=\"noopener\">here<\/a>.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>For basic A2CLOUD use, I recommend going headless with your Raspberry Pi &#8212; that is, using it without a screen and keyboard. This will keep your USB ports free and reduce clutter, plus make it feel more like an Apple II peripheral.\u00a0It&#8217;s pretty doable because you can always display your Pi&#8217;s screen on a newer [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,5,2,4],"tags":[],"_links":{"self":[{"href":"https:\/\/appleii.ivanx.com\/a2cloud\/wp-json\/wp\/v2\/posts\/285"}],"collection":[{"href":"https:\/\/appleii.ivanx.com\/a2cloud\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/appleii.ivanx.com\/a2cloud\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/appleii.ivanx.com\/a2cloud\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/appleii.ivanx.com\/a2cloud\/wp-json\/wp\/v2\/comments?post=285"}],"version-history":[{"count":32,"href":"https:\/\/appleii.ivanx.com\/a2cloud\/wp-json\/wp\/v2\/posts\/285\/revisions"}],"predecessor-version":[{"id":845,"href":"https:\/\/appleii.ivanx.com\/a2cloud\/wp-json\/wp\/v2\/posts\/285\/revisions\/845"}],"wp:attachment":[{"href":"https:\/\/appleii.ivanx.com\/a2cloud\/wp-json\/wp\/v2\/media?parent=285"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/appleii.ivanx.com\/a2cloud\/wp-json\/wp\/v2\/categories?post=285"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/appleii.ivanx.com\/a2cloud\/wp-json\/wp\/v2\/tags?post=285"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}