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.

  • 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.

  • 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

  • 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.

  • 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.

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

    If your shed is only 15M away, you’ll be fine using CAT6 OSP shielded. It’s designed for direct burial so no conduit needed. If you are really concerned about anything getting fried make sure to use shielded RJ45 connectors and shielded patch panel.

  • 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

  • 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)

  • 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.