Live data from Hacker News

OpenWrt 22.03

openwrt.org

121–130 of 133 posts

Re: OpenWrt 22.03

#121
OpenWRT is amazing, it's a regular Linux on consumer-level routing hardware. I kinda feels a bit like a BSD in some design decisions.

A pain point in upgrading the OS is that packages that were previously installed need to be reinstalled. In my case, this includes `dnsmasq-full`, which is dnsmasq with DNSSEC support and a few other features that are enabled in the regular `dnsmasq` package that comes by default. So after an update, there's not even DNS/DHCP in my local network. I need to configure static IPs, SSH into the device, and start reconfiguring it.

I keep very tidy notes on how to reconfigure from scratch, so it's not a big deal, but I really shouldn't need to do this on every OS update. Having to do this leads me to just sticking to a very close-to-default configuration, because any customisation will result in more issues upgrading next time.

It's improving though, this upgrade was smoother. Or maybe I just keep better notes?

Re: OpenWrt 22.03

#122

OpenWRT is amazing, it's a regular Linux on consumer-level routing hardware. I kinda feels a bit like a BSD in some design decisions. A pain point in upgrading the OS is that packages that were previously installed need to be reinstalled. In my case, this includes `dnsmasq-full`, which is dnsmasq with DNSSEC support and a few other features that are enabled in the regular `dnsmasq` package that comes by default. So a…

> A pain point in upgrading the OS is that packages that were previously installed need to be reinstalled.

Which when you start having lots of OpenWRT based devices kinda gets a pain. And we hackers we solve pains, don't we? ;)

So when a new OpenWRT release hits the market, I usually just have to update the OpenWRT release-number at the top of my makefile, and Github builds all the images for all my devices, with all the packages and customizations I already have in place.

All devices upgraded in less than 30 minutes.

My setup, for those interested: https://github.com/josteink/openwrt-build/

Re: OpenWrt 22.03

#123
post #74

I do love OpenWrt but the upgrade experience is still a pain because user-installed packages need to be reinstalled manually. More so if your WAN connection relies on these packages (USB modems), then you have to either pre-download them or build a custom image.

> I do love OpenWrt but the upgrade experience is still a pain because user-installed packages need to be reinstalled manually.

Just use image-builder. Or better, create a script which uses image-builder for you.

For me, upgrading to newer releases for my 7 OpenWRT devices, is mostly just updating a version number and waiting for the build to complete (a few minutes at tops).

It's not really hard.

I may have gone in a bit over-the-top, with makefile and dependencies at all[1], but at the core of things, it's not really hard.

[1] https://github.com/josteink/openwrt-build/

Re: OpenWrt 22.03

#124

One question I have is: I would like my wifi router to be 100% "invisible", as in: I want the router to behave exactly as if it was an ethernet switch, where devices connected to the router via wifi would behave exactly as if they were connected to an ethernet switch. In other words configure my router such that the only difference between it and a switch is the fact that connected devices are not connected via an et…

EDIT: I missed that you don't want NAT. The device below, should be able to run in that mode, but I've only done so with IPv6.

Yes, and if you want auto-updates, check out the Turris Omnia: https://www.turris.com/en/omnia/overview/

It's the best wireless router I've ever owned.

Pros:

  - nice simple GUI for your typical stuff
  - advanced GUI (that runs in parallel) for advanced stuff
  - auto-updates with timely patches
  - open source (inc. their additions) -- based on openwrt
  - developed by a reputable non-profit that's been around since the 90s (CZ.NIC)
Cons:

  - a little pricey
  - current model is a few years old, so it's not the fastest option out there
  - the current model doesn't support 802.11ax
To turn off the firewall, you just uncheck a box. I think all the other advanced stuff was opt-in.

Re: OpenWrt 22.03

#125
post #66

Earlier quoted context omitted.

Works! Works well! I have it set up so everything using the routers sees WG nodes as ordinary endpoints.

Neat, thanks, will give it a try today then.

So today I installed openwrt on my Asus AC-3100, configured it to behave as a "dumb access point" and finally managed to get wireguard to run.

It does work well, but it wasn't straightforward to configure all of these things properly through the UI.

In particular, I had to figure out the hard way that one needs to add

    option route_allowed_ips '1'
to the wireguard config in file /etc/config/network

(this option doesn't seem accessible via the UI)

There also seems to be a couple of very wonky things around static route management and also the 5GHz radio band that stubbornly refuses to move where I want it to be, but otherwise it works really well.

I'm going to play with it for a month and drop dd-wrt altogether if I don't encounter major problems.

Re: OpenWrt 22.03

#126
post #103

Earlier quoted context omitted.

> glinet ship their own builds of a forked openwrt Imma let you finish, but you've always been able to install vanilla OpenWrt on GL.iNet devices. I've been doing this for years across most models. Actually there are only a couple of recent GL.iNet routers that I don't own.

Do you know if GL-AX1800 can be flashed with openwrt? Not on official device list.

A quick search suggests this device uses a new target (`ipq807x`) not yet in owrt official builds.

This post details a community firmware with images: https://forum.openwrt.org/t/gl-inet-ax1800-new-router-openwr...

That community repo is a fork of the GL.iNet build infrastructure repo, just with less definitions that allow compilation to succeed.

My understanding is that infrastructure fetches the official owrt sources and applies the patches listed in the yaml files, but I didn't audit the entire build system in 15 minutes :P

Re: OpenWrt 22.03

#127
post #56

Earlier quoted context omitted.

Have you been able to produce a working 21.02 image (or 19.x with critical security patches, for that matter) for the E750? I'd seriously love to pool resources on this. My rant above comes from multiple days of struggling to get a working build that doesn't have stability issues not present in the official image. Like I mentioned, I don't recall any surprises with the MT1300 that couldn't be worked around.

I don't own one of them so I haven't looked into it sorry. However there is usually an owrt forum thread for a device or a platform which goes into details. If you haven't asked on there, I encourage you to. They're usually pretty friendly and helpful, especially to people who try themselves and ask good detailed questions.

I know you're probably trying to be helpful (and still might be helpful for others) but If it wasn't obvious from my original thread I've already read every single comment mentioning this device several times.

https://forum.openwrt.org/t/reboot-loop-problem-at-startup-o...

https://github.com/openwrt/openwrt/issues/9273

(neither of these describe the issue i was talking about fwiw)

Re: OpenWrt 22.03

#128
post #2

This is a pretty significant release - it marks the end of iptables in the main distribution; the OpenWrt-specific translation layer (previously firewall3, now firewall4) for netfilter-related configuration now targets nftables. Also, yet more devices have made the switch from swconfig to DSA for configuring Ethernet switches. I've been using 22.03 release candidates on all my networking gear (router, switch, access…

If you don't do anything out of the ordinary with your router is there any benefit to this over for example, the Netgear or tplink firmware?

SQM for bufferbloat

Re: OpenWrt 22.03

#129
post #32

Earlier quoted context omitted.

Belkin RT3200, goes on sale at Walmart for $60.

Do you have this device, and if so, what's the peak bandwidth you are able to achieve over wifi?

I use one on my full-duplex gigabit connection and it generally sits in the 800-900 Mbps range. This will vary depending on things like if you decide to enable smart queue management (SQM) or other features.

There are some recommended tweaks I've applied but so far I like it much better than my old WRT3200ACM unit. https://openwrt.org/toh/linksys/e8450?s[]=linksys&s[]=e8450&...

Re: OpenWrt 22.03

#130

Are there any suitable alternatives for OpenWRT? My huawei 4g router that i use over sim connection does not support OpenWRT or Tomato unfortunately...

Easy, get yourself a OpenWRT router, Xiaomi AX3200 is perfect, you need to flash it but there are many howtos. Then, use Huawei as Modem, connected to LAN port. If the Huawei has Bridge, great, if not, Double NAT but you get to control everything on OpenWRT.
Post reply on HN