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!

  • JASN_DE@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    8 months ago

    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.

    Or simply set up the Pi with a static IP.

    there does not seem to be a standard for connecting to a device directly over a single cable and login with a user account.

    There is. A cable. You just need two non-identical IPs from the same subnet, e.g. 10.0.0.1 and 10.0.0.2 or whichever you want from the private ranges.

    • poVoq@slrpnk.net
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      8 months ago

      I remember from back in the day that you need a "twisted pair” edit: ”cross-over” cable though, or do modern ethernet ports automatically adapt to that now?

      • BearOfaTime@lemm.ee
        link
        fedilink
        English
        arrow-up
        0
        ·
        8 months ago

        Twisted pair refers to the twisting of the wires in the cable to reduce crosstalk.

        Crossover cables enable permit connecting two non-sensing ports together.

        • poVoq@slrpnk.net
          link
          fedilink
          English
          arrow-up
          0
          ·
          edit-2
          8 months ago

          Right 🤦‍♂️ It has been a while. I corrected it in the original post now.

          • BearOfaTime@lemm.ee
            link
            fedilink
            English
            arrow-up
            1
            ·
            7 months ago

            I hear ya. I know all this stuff, but dammit if it isn’t hard to access sometimes! Haha