this post was submitted on 25 Mar 2024
149 points (96.9% liked)

Linux

48331 readers
1236 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

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.

you are viewing a single comment's thread
view the rest of the comments
[–] onlinepersona@programming.dev 4 points 8 months ago (5 children)

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

[–] drwho@beehaw.org 3 points 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.

[–] cyberpunk007@lemmy.ca 2 points 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.

[–] mfat@lemdro.id 2 points 8 months ago (1 children)

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 2 points 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

[–] Sarcasmo220@lemmy.ml 2 points 8 months ago (1 children)

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.

[–] onlinepersona@programming.dev 2 points 8 months ago (1 children)

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

You and @yeehaw@lemmy.world have very different experiences 😄

CC BY-NC-SA 4.0

[–] Sarcasmo220@lemmy.ml 1 points 8 months ago

Haha, true. I was referring to routers specifically, not the all in one's.

[–] ikidd@lemmy.world 1 points 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.