mirror of
https://github.com/cimryan/teslausb.git
synced 2026-03-01 04:30:33 +00:00
2.1 KiB
2.1 KiB
Seting up the Pi without a monitor using Windows
- Download and install:
Optional: Watch this video to get an idea of the process. The steps from the video are partially automated, below.
- 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.
- Note that a new drive labeled "boot" has appeared on your computer. Note the drive letter of that drive.
- Right-click on your Start menu icon and select "Windows PowerShell (Admin)".
- Run the following command:
Set-ExecutionPolicy -Scope CurrentUser Unrestricted - Enter Y when prompted, and press Enter.
- Run the following commands:
cd ~ wget https://raw.githubusercontent.com/cimryan/teslausb/master/windows_archive/setup-piForHeadlessConfig.ps1 -OutFile setup-piForHeadlessConfig.ps1 ./setup-piForHeadlessConfig.ps1 -Verbose - Enter the single letter of the "boot" drive and press Enter.
- Eject the sd card
- Move the sd card to the Pi.
- Connect a micro usb cable to the port labeled "USB" on the Raspberry Pi, and to the PC.
- On the PC, press your Windows key, type Control Panel.
- Open "Network and Sharing Center"
- Click "Change adapter settings"
- Wait for something labeled "USB Ethernet/RNDIS Gadget" to appear.
- Launch Putty
- In the Host Name box enter
pi@raspberrypi.local - If you get an "unknown host" error message install Bonjour: https://support.apple.com/kb/DL999 and go back to step 15.
- You should be prompted for the password for the user "pi". Enter
raspberry