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!

  • apprehensively_human
    link
    fedilink
    English
    arrow-up
    4
    ·
    10 months ago

    You’re thinking of crossover cables, though I’m not sure if those are still necessary.

    • rtxn@lemmy.world
      link
      fedilink
      English
      arrow-up
      4
      ·
      10 months ago

      Most modern NICs can auto-negotiate the Rx/Tx circuits on either kind of cable, but I’m not sure about RPi.

        • IsoKiero@sopuli.xyz
          link
          fedilink
          English
          arrow-up
          2
          ·
          10 months ago

          If I remember correctly, 1000Base-T standard has a requirement that device has to negotiate pinout on the fly. No matter which pin is connected to which. Obvioiusly just randomly wiring a cable up has other problems, like signal-to-noise, but in theory it should work even if you make a cable that’s as unstandard as you can make it.

          • jkrtn@lemmy.ml
            link
            fedilink
            English
            arrow-up
            1
            ·
            10 months ago

            That’s amazing. I would love to see the algorithm for that. Hopefully I’ll find a nice explainer if I search around.