Hi! I hope this is the right community to ask.
Next week I will be on the road for 5 Days for work. I have quite some spare time, so I thought I would dig up my raspberry project again and hopefully finish it.
I need it with me, because it controls some hardware, so a VPN to home does not work. So only option I could think of, is to connect the pi directly to my laptop via an ethernet cable. As far as I understood from some research is that I would need to install and run an DHCP server on my laptop, which they did not recommend. Alternatively they suggested to just take a router and plug both devices in there. I don’t really have a spare router, so that’s not an option either.
To be hones it confuses me a little, that there does not seem to be a standard for connecting to a device directly over a single cable and login with a user account.
Any recommendations how I can work on the pi like with ssh?
Thanks a lot!
Can try installing Avahi on the RPi (may come on the default image). It will advertise
.local
over mDNS / DNS-SD. I believe Avahi will advertise on link local if there is no default route to the internet.Your system may automatically resolve the domain if its able to pickup the mDNS records to SSH in. Been a couple years since I’ve done it, so I could be forgetting a nuanced detail, but I vaguely remember just ‘plug and play’ if internet for the RPi wasn’t required.