I was wondering if I could run an ethernet cable from my router inside to my shed and connect it to another router so I can have ethernet and wifi in my shed.

  • instantkamera@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    You can, but depending on the setup you should be aware of a few things:

    • make sure you don’t have a ground potential difference.
    • use appropriate rated cabling and not plain UTP
    • you may want surge protection on that line coming in from outside

    Do your homework and stay safe.

  • SavagePenguinn@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    Yes, you can run Ethernet from your home router to your shed.

    Ideally you’d use conduit to protect the cable, or use Ethernet cable designed for outdoor use. However, I’ve seen normal Ethernet cables last 10+ years outside without issue.

    As others have mentioned, ideally the router in the shed will have DHCP turned off, and the incoming line will go into one of the normal Ethernet ports (not the WAN/Internet port). This will allow two-way communication between your house and shed (IE, your computers, network drives, network printers, network cameras, etc. can all see each other no matter which router they are connected to). However, if you only need Internet you can just plug the Ethernet cable into the WAN/Internet port on the shed’s router.

    • linuxknight@alien.topB
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      I’ve seen normal Ethernet cables last 10+ years outside without issue.

      Northern New England here, have had a UTP Cat 6 cable running from my house to the shed for about 5 years, I didn’t even bury it. Not suggesting its the right way to do it, but it works fine. I do network installs all day, last thing I feel like doing at home is work :p

  • AustinBike@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    Can you?

    Yes.

    Should you?

    Probably not.

    I have $6000 worth of burned out electronics to help you understand that this in not the best idea.

    I’d use fiber instead. If you are not using fiber and you insist on going with copper you need a really good burial AND really good surge protection on each end.

  • mattl1698@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    just use a switch and access point in the shed instead of a router. you would have to make sure you get all the router specific settings turned off and some routers don’t let you do that. if you are unsure about it, access point and switch is much simpler.

      • mattl1698@alien.topB
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        not really. a gigabit unmanaged switch is about 10 quid these days and you can get older enterprise access points from Aruba for about 15 quid on eBay. or a slower consumer unit from TPLink on Amazon for about the same price.

      • Fal@yiffit.net
        link
        fedilink
        English
        arrow-up
        1
        arrow-down
        1
        ·
        1 year ago

        Almost all home routers are really just switches, and you can run them in switch mode. What you want to do is fine as long as the run isn’t too long. 100 meters is the max

    • pezgoon@alien.topB
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      Just wanna throw it out, unless you have a brand that allows meshing routers…. Like Asus! It’s literally just a setting in the control panel haha. You just select the backbone method after plugging it in and it pretty much handles the rest!

      • AncientGeek00@alien.topB
        link
        fedilink
        English
        arrow-up
        0
        ·
        1 year ago

        Just to be clear….”meshing” means a wireless backhaul. Multiple APs delivering WiFi with a wired backhaul is just WiFi as it was intended.

        • pezgoon@alien.topB
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 year ago

          Huh, interesting! While I am in the field, I always thought of wired backbone as still mesh… guess that’s why I can’t find a job 😂

  • cyborgborg@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    you can but you should run fiber instead unless you want lightning to fry a bunch of your stuff

  • Beeeeater@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    There is no problem with doing that in principle, as long as the cable is protected and the run is less than about 100m.

  • polarbear320@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    Just do a point to point wireless link. Less issues with ground difference and no trenching to do.

    If you do trench use fiber -not- Ethernet cable

  • SMTDSLT@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    I get downvoted every time I respond to one of these posts but hey why not…

    I strongly suggest running Fiber with a media converter on each end. This reduces the potential for lightning to travel from 1 structure to the other. Removes grounding concerns. It is by far the safest option.

      • lmgtfy420@alien.topB
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        mikrotic switches with sfp+ are relatively cheap and get you 10GB/s. It’s what I use in my separated garage on a 30m run. Melanox makes the card and fiber modules that i use, they are cheap too since most of this will be decommissioned server hardware.

  • TheFaceStuffer@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    It’s safer to run fiber between two buildings. If lightning strikes nearby it can enter the ethernet cable and destroy equipment and potentially start a fire. They even have direct burial armored fiber.

  • evolseven@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    I’d personally find a cheap switch with fiber ports on both ends and use fiber. It’s non-conductive so a lot of the complexity of grounding and lightning protection is off the table.

    may cost a few hundred, but if you fry you’re pc in the shed from a lightning strike it will probably cost more than that.

    2.5gb unmanaged switches with 10gb sfp ports can be found for $50-75ish new and sfp’s are maybe 10 a piece. Depending on the local market you may be able to find a used Cisco 3750 for $10-20. If you just need one port you can find a pair of 1gb media converters with sfp’s for about $60. You can find pre-terminated direct burial fiber in various lengths for $110 or so for 250 ft, if you want to go overhead run a steel wire and attach the fiber to it, but you probably still want the armored fiber.

    Depending on the speed and line of sight, a wireless point to point bridge may be an option… you can find a pair for anywhere from $50 for 300mbps (I wouldn’t bet that’s real world, probably 50-100mbps) to much more expensive options (I ran 4 between 2 buildings at my last office that ran at very high, licensed frequencies that were probably $5k a piece, but they did 10gbps on a good day, and we’re pretty rock solid even in the rain)