From 24d662276ecf3701aca64acd97b3bf6fb65da299 Mon Sep 17 00:00:00 2001 From: cimryan Date: Fri, 12 Oct 2018 08:11:57 -0700 Subject: [PATCH] Change instructions to use built-in ssh instead of Putty. --- GetShellWithoutMonitorOnWindows.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/GetShellWithoutMonitorOnWindows.md b/GetShellWithoutMonitorOnWindows.md index 7c919ad..7208ceb 100644 --- a/GetShellWithoutMonitorOnWindows.md +++ b/GetShellWithoutMonitorOnWindows.md @@ -7,7 +7,9 @@ Optional: Watch [this video](https://www.youtube.com/watch?v=xj3MPmJhAPU) to get 1. Remove the MicroSD card from your computer and reinsert it. Do not at any point during the setup of the USB drive allow Windows to format any partition on any drive. 1. Note that a new drive labeled "boot" has appeared on your computer. Note the drive letter of that drive. 1. Right-click on your Start menu icon and select "Windows PowerShell (Admin)". +1. Right-click the title bar of the window and select "Properties". Ensure that the "Use legacy console" checkbox is unchecked and activate the OK button. If it was checked before you unchecked it, close te PowerShell window and go back to step 3. If it wasn't, proceed onto the next step. 1. Run the following command: + > Note: You can paste into the PowerShell window by right-clicking. The text will appear at the position of the cursor, not necessarily at the position where you click. ``` Set-ExecutionPolicy -Scope CurrentUser Unrestricted ``` @@ -19,17 +21,16 @@ Optional: Watch [this video](https://www.youtube.com/watch?v=xj3MPmJhAPU) to get ./setup-piForHeadlessConfig.ps1 -Verbose ``` 1. Enter the single letter of the "boot" drive and press Enter. -1. Eject the sd card +1. Eject the sd card. 1. Move the sd card to the Pi. 1. Connect a micro usb cable to the port labeled "USB" on the Raspberry Pi, and to the PC. 1. On the PC, press your Windows key, type Control Panel. 1. Open "Network and Sharing Center" 1. Click "Change adapter settings" 1. Wait for something labeled "USB Ethernet/RNDIS Gadget" to appear. -1. Launch Putty -1. In the Host Name box enter +1. Enter this command in your PowerShell window: ``` - pi@raspberrypi.local + ssh pi@raspberrypi.local ``` 1. If you get an "unknown host" error message install Bonjour: https://support.apple.com/kb/DL999 and go back to step 15. 1. You should be prompted for the password for the user "pi". Enter