this post was submitted on 02 Nov 2023
2 points (100.0% liked)

Homelab

371 readers
3 users here now

Rules

founded 1 year ago
MODERATORS
 

Hi folks,

I aim SSH into my Raspberry Pi 4 via ethernet connection from my laptop to the RBP4's ethernet port.
I've researched the topic but I am a novice on the networking side, so a lot of terms fly over my head. My RP4 is running Ubuntu Server.

So far this is what I've done:

  1. I've set a static IP and subnet for the ethernet port on my PC.
  2. Able to SSH to my Raspberry Pi via Wi-Fi, so I can use my Raspberry Pi. The requirement is to be able to SSH without Wi-Fi.

How should I proceed on my PC/RBP4 to be able to SSH? I've read in some posts a DHCP needs to be set up in the RBP4, although that'd be basically making a router out of my RBP4?

Thank you!

you are viewing a single comment's thread
view the rest of the comments
[–] n3rding@alien.top 1 points 1 year ago

A fundamental question isn’t being asked here, why are you not plugging the pi in to your router/switch? Your router has a DHCP server which is why WiFi works, it’s the same for wired. If we can understand your use case then we can help you better..