Files
teslausb/GetShellWithoutMonitorOnWindows.md

1.6 KiB

Seting up the Pi without a monitor using Windows

  1. Download and install:
    • Notepad++ Alternatively, any other text editor which is capable of editing files with Unix-style line endings.
    • Putty Note: You can paste into Putty by right-clicking. No matter where you right-click, the content will be inserted at the position of the cursor, as if you had typed it in.
  2. Watch this video The instructions from the video are recreated below, with some changes.
  3. Open the config.txt file on the sd card with Notepad++
  4. Add this line to the end of the file
    dtoverlay=dwc2
    
  5. Add a blank line to the end of the file.
  6. Open cmdline.txt with Notepad++
  7. Find the word "rootwait", add this text, separated by spaces, between rootwait and the word following it:
    modules-load=dwc2,g_ether
    
  8. Create a file named ssh (with no extension) at the root
  9. Eject the sd card
  10. Move the sd card to the Pi.
  11. Connect a micro usb cable to the port labeled "USB" on the Raspberry Pi, and to the PC.
  12. On the PC, press your Windows key, type Control Panel.
  13. Open "Network and Sharing Center"
  14. Click "Change adapter settings"
  15. Wait for something labeled "USB Ethernet/RNDIS Gadget" to appear.
  16. Launch Putty
  17. In the Host Name box enter
    pi@raspberrypi.local
    
  18. If you get an "unknown host" error message install Bonjour: https://support.apple.com/kb/DL999 and go back to step 17.
  19. Password is raspberry