Skip to content

Instantly share code, notes, and snippets.

Raspberry Pi Direct Ethernet Connection Guide

This guide provides instructions on how to connect to your Raspberry Pi using a direct Ethernet connection to your Windows PC. It covers setting up a static IP address on both the Raspberry Pi and Windows, as well as enabling Internet Connection Sharing (ICS) if you want to share your internet connection with the Raspberry Pi.


Physical Connection

Connect one end of an Ethernet cable to the Ethernet port on your Raspberry Pi and connect the other end of the cable to an available Ethernet port on your Windows PC.

Setting up static IP address on Raspberry Pi

@Efe-Cal
Efe-Cal / init-s3.sh
Last active January 21, 2026 09:00
Set up docker for Lapse development
#!/bin/bash
awslocal s3 mb s3://lapse-encrypted
awslocal s3 mb s3://lapse-public
CORS_CONFIG='{
"CORSRules": [
{
"AllowedOrigins": ["*"],
"AllowedHeaders": ["*"],
"AllowedMethods": ["GET", "PUT", "POST", "DELETE", "HEAD"],