I have many nerdy friends who have been Linux users for ages. But most of them don’t know such a thing as Openwrt exists or have never bothered to give it a try. It’s a very fun piece of software to play with and can be extremely useful for routing traffic. Wondering why it isn’t more popular/widely used.

  • Dandroid@sh.itjust.works
    link
    fedilink
    arrow-up
    41
    ·
    8 months ago

    I was actually the lead engineer on an Openwrt router. I hadn’t heard of it before that, but at one point I pretty much knew it inside and out. It’s been a few years since I left that company, so I’m a bit rusty at this point.

    We made tons of custom features for our router. I did the backend and implemented UIs for most of them. The biggest feature I did though was a full REST API to be able to configure the router from a smart home controller, which was the company’s main product. I did both the router side (server) and the smart home controller side (client/caller), including the UI on the smart home controller. I spent almost a year on just that feature. But I was damn proud of it by the end.

  • BreakDecks@lemmy.ml
    link
    fedilink
    English
    arrow-up
    16
    ·
    8 months ago

    I’ve been using OpenWRT as a hobbyist for over 15 years, and as a professional for over 6 years. Extremely underrated OS.

    A vanilla install beats any stock router firmware by leaps and bounds. From there you can add pretty much any functionality you desire.

    I currently use a Turris Omnia router made by CZ.NIC, who also maintains their own OpenWRT based distro called Turris OS.

  • Molecular0079@lemmy.world
    link
    fedilink
    English
    arrow-up
    15
    ·
    edit-2
    8 months ago

    I’ve been using it for years and now I basically can’t live without it. I consider OpenWrt compatibility in all of my router purchases. Currently using a Netgear R7800 and a Belkin RT3200, both are going strong.

    It isn’t as widely used because it can be finicky to flash sometimes, and that’s if it’s even compatible in the first place. Even if it works, you may experience a drop in performance unless OpenWrt supports using the routers hardware acceleration features. If there’s no support, OpenWrt basically uses the onboard CPU to do routing and they’re usually not all that powerful.

    • TCB13@lemmy.world
      link
      fedilink
      English
      arrow-up
      3
      ·
      8 months ago

      I’m also running a few R7800 with OpenWrt units and they’re really nice.

  • UnityDevice@startrek.website
    link
    fedilink
    arrow-up
    15
    arrow-down
    1
    ·
    8 months ago

    TIL there are Linux people that don’t use OpenWRT. I always assumed everyone in the Linux community used it. It’s great.

    Works great with mt7621 based routers if anyone ends up looking for something compatible.

    • jaschen@lemm.ee
      link
      fedilink
      arrow-up
      3
      ·
      8 months ago

      I run a proxmox and run PFsense on it. They are both pretty similar but there were more tutorials for PFsense at the time.

    • mFat@lemdro.idOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      8 months ago

      It’s a joy to use on x86 hardware though. You can run as many services as you want.

      • SayCyberOnceMore@feddit.uk
        link
        fedilink
        English
        arrow-up
        2
        ·
        8 months ago

        IMO, I’d run pf/opnsense on an x86 box, but openwrt on a low powered device…

        Did that years ago with a pfSense firewall connected to the DSL modem, with OpenWrt APs around the house…until the hardware couldn’t support the next version of OpenWrt… (not enough RAM?)

  • 𝒎𝒂𝒏𝒊𝒆𝒍@sopuli.xyz
    link
    fedilink
    English
    arrow-up
    14
    ·
    edit-2
    8 months ago

    Past Linux user here, not only do I use openwrt, but I base my routers choice on openwrt support, it’s weird to me there are long term Linux users who don’t know what openwrt is

  • Papamousse@beehaw.org
    link
    fedilink
    arrow-up
    11
    ·
    8 months ago

    I use dd-wrt a little bit, then tomato and variant (usb, toastman, fresh) then Merlin for maybe 5 years now.

    Broadcom routers are mostly not openwrt compatible

  • FriendBesto@lemmy.ml
    link
    fedilink
    arrow-up
    9
    ·
    8 months ago

    Yup. Running it on my home router, right now. It is awesome. A tiny, stripped down OS that you can install minimal packages on. Like a VPN client, or ad-blockers. If your router is compatible, I cannot suggest it enough.

    Also, my router’s manufacturer had the gall to ask (force) me to sign up and get an ID with them in order to get to the back-end of my own router. Jesus Christ, privacy red flag much?

    I could not install OpenWRT fast enough.

  • stormio@lemmy.ca
    link
    fedilink
    English
    arrow-up
    8
    ·
    8 months ago

    I use OpenWRT on my Linksys WRT3200ACM because I used to have a cable connection that suffered from bufferbloat. The SQM feature made a huge improvement. I eventually switched to a fiber connection from a different ISP which does not suffer from bufferbloat, but I kept OpenWRT on my router.

  • cmnybo@discuss.tchncs.de
    link
    fedilink
    English
    arrow-up
    8
    ·
    8 months ago

    I’ve used OpenWrt, DD-WRT, and Tomato firmware on the various routers I’ve had. I don’t think I’ve ever kept the stock firmware on any router I’ve owned.

    I use pfSense at home now, but I’ve been considering switching to OPNsense. I still run OpenWrt on a portable router that I use when I’m traveling though. I won’t ever buy a router that I can’t run open source firmware on.

  • offspec@lemmy.nicknakin.com
    link
    fedilink
    arrow-up
    7
    ·
    8 months ago

    I actually took some older now somewhat defunct google wifi pucks and got them all set up on openwrt not too long ago. Really enjoy having them on something with a dedicated web UI and perfectly nerdy

  • Karna@lemmy.ml
    link
    fedilink
    arrow-up
    7
    ·
    edit-2
    8 months ago

    Installed OpenWRT on my NetGear router like 2 years back, and it didn’t give me any trouble since then. BTW, the amount of configuration options it offer is mindbogglingly.

    • The Doctor@beehaw.org
      link
      fedilink
      English
      arrow-up
      2
      ·
      8 months ago

      Just the capacity for network monitoring for troubleshooting makes it worthwhile. Not being able to SSH into Netgear’s firmware, let alone having access to tcpdump is an advantage right there.

  • ikidd@lemmy.world
    link
    fedilink
    arrow-up
    7
    ·
    8 months ago

    Fine on limited hardware like a router but if you’re going to use a full box for your router (or a VM), you’d probably want OPNsense for the ease of management and the fact that it’s targetted for hardware like that.

  • ShankShill@sh.itjust.works
    link
    fedilink
    arrow-up
    6
    ·
    8 months ago

    I’ve used it and dd-wrt back in the day on cheap crashy routers. Also Tomato.

    Haven’t tried it in a long time, but have an EAP225 v2 and v3 I’ve been considering slapping openwrt on.

  • haui@lemmy.giftedmc.com
    link
    fedilink
    arrow-up
    5
    ·
    8 months ago

    Interesting. I have heard of it but so far I didnt bother since my router is quite versatile.

    My biggest fear is that it borks itself and I sit there at 10 pm on movie night without a network or internet to troubleshoot.

    If if I chose to use it I would need to have the current router as a fallback either running 24/7 or on a dead man switch.

    • u/lukmly013 💾 (lemmy.sdf.org)@lemmy.sdf.org
      link
      fedilink
      English
      arrow-up
      5
      ·
      8 months ago

      Some routers have dual partition setup.

      Active and backup. When flashing firmware, it is flashed to the backup partition. If the router boots successfully, the newly flashed backup partition becomes active and vice versa. If things screw up, nothing happens.

      • haui@lemmy.giftedmc.com
        link
        fedilink
        arrow-up
        3
        ·
        8 months ago

        Thanks for the info. Thats not exactly what I meant. I‘m not afraid of the router itself breaking at installation but freezing for example and not being able to reboot. I usually dont tinker with mission critical stuff.

        • The Doctor@beehaw.org
          link
          fedilink
          English
          arrow-up
          1
          ·
          8 months ago

          The same thing can happen to manufacturer firmware. Only you’d have much less capability to troubleshoot, let alone fix it.

        • Possibly linux@lemmy.zip
          link
          fedilink
          English
          arrow-up
          1
          ·
          8 months ago

          I know you likely have moved on but it would be interesting to actually figure out the cause. What steps would someone need to take to reproduce the issue?

    • mFat@lemdro.idOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      8 months ago

      That’s exactly what I do. You can keep your ISP router and hook up your openwrt router to one of its lan ports and have two wifi networks.

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

      My biggest fear is that it borks itself and I sit there at 10 pm on movie night without a network or internet to troubleshoot.

      If you pick decent hardware eg. Netgear R7800 you won’t have issues. I’ve units of those running OpenWrt at home and a few small offices running for years with a lot of clients and traffic and they’re rock solid.

  • onlinepersona@programming.dev
    link
    fedilink
    English
    arrow-up
    4
    ·
    8 months ago

    I mean, what does one have to do to replace an ISP owned router and what are the benefits? How much does one have to know in order to setup a connection? How does one get connection details from the ISP owned router? How much does a replacement router cost?

    My ISP owned router allows me to configure NAT forwarding, replace the DNS, setup a DMZ, assign static IPs to MACs, turn off the internet at specific times (e.g at night), configure parental controls (allows websites, internet access) per device, and probably a few other things I haven’t discovered yet.

    CC BY-NC-SA 4.0

    • The Doctor@beehaw.org
      link
      fedilink
      English
      arrow-up
      3
      ·
      8 months ago

      If you mean a DSL modem or cable DOCSIS, I don’t think those are easily replaceable. But you can definitely put an OpenWRT device right behind it and use that. It’s pretty straightforward (plug in the upstream side, wait for it to get an address, done).

      As for how much you need to know… okay. That’s a tricky question because, the most you mess with OpenWRT, the more some stuff becomes automatic, and that makes it easy to forget things. That’s not on you, that’s on me.

      That said, thinking about it a little, the defaults are pretty workable right after installation. You’ll have to set an admin password on the OpenWRT box (it nags you until you do these days), which should be familiar. Turning up wifi is a little tricky at first. I would recommend reading through the quickstart guide once or twice before digging into OpenWRT configuration because it lays out all of the basics that you need to get going. It’s about as well written and useful as the manuals for access points were way back when.

      One thing I would recommend is, if you build an OpenWRT box, setting it up before you plug it in and use it as your network gateway. It’s much easier to poke at it without having “When is my network going to come back up?” rattling around in the back of your mind.

    • yeehaw@lemmy.ca
      link
      fedilink
      arrow-up
      2
      ·
      8 months ago

      Most the things you mentioned are barely doable on some of the modern all in one modems where I live.

      On mine I’ve got separate wi-fi networks for inside and guest, I run zenarmor for ads and malicious junk, I run a proxy, I do my DNS on it for all my internal docker instances, and more. I realize I am doing more than your average person, though.

    • Sarcasmo220@lemmy.ml
      link
      fedilink
      arrow-up
      2
      ·
      8 months ago

      For my ISP it’s actually cheaper to not use their modem+WiFi router as they charge a monthly lease on the equipment. I declined it and they provided me with a modem for free. All I have to do is plug the modem to my own router and that’s it!

      The features you listed seems pretty standard to all routers these days.

    • mFat@lemdro.idOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      8 months ago

      You can run a VPN like wire guard, ad blockers such as Adguard Home or pihole or even media servers on your openwrt router.

      • onlinepersona@programming.dev
        link
        fedilink
        English
        arrow-up
        2
        ·
        8 months ago

        I see. Well, I have a homeserver for that, which runs all my services, so an openwrt router wouldn’t be an upgrade.

        But probably without a homeserver, an openwrt router would make sense and use less energy.

        CC BY-NC-SA 4.0

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

      I’ve always set the CPE modem to full bridge and put a router inside that I can control fully. Then you can swap equipment at will if you need to.