OpenWrt 21.02.1 First service release

You have a good point with UCI scripting and how useful and flexible it can be. But I was really more targeted on the fact that upgrades don't always work properly when someone keeps settings (and the UCI scripts may also not work across versions). But beyond all of that, it is also critically important that any reported issues are accompanied by details to help determine if there is a bug, or if the user has a specific edge case that requires a bit of preparation to ensure a smooth transition.

Yeah, this. I've been using the uci script approach for years for all those reasons. Yes, occasionally even the script breaks from a change ,but you get an immediate error and not just a silent misconfig discrepancy. Ans you always start with latest and (well, not always, maybe) greatest from default perspective.

Rewriting for 21.xx took me more time since I had to work out the DSA and changes for my specific setup and didn't have a lot of examples to follow at the time. But I got it going after a few hours.

1 Like

I use his scripts and just modify them for instant reset up from clean reinstall.

Its consistent. makes sure i don't forget any thing and as you say its copy it over and 30sec to run vs hunting in all the luci menus to change stuff.

3 Likes

I actually think it was that example I used for start inspiration.

Most of the uci code I needed for my specific setup I actually got from luci itself simply by doing the actual settings but only hitting save instead of save & apply. Then the uci code could be inspected and copied to my script from the little blue box in top of luci that indicates settings to be applied.

But after a while you probably will get the hang of it and more or less free write the code in the script.

When I installed 21.02.1 I actually also implemented the adblocker and banip setup in the script since they are uci compatible.
And for the crown on top of it I actually did after some trial and errors manage to get the script to write the root crontab.

Is Hardware NAT not working for mt7621 in 21.02.x releases? Any plans / directions here?

1 Like

Migration to the 5.10 kernel, nftables and firewall4, all in the 22.xx release goals, are needed before offloading (without breaking ipv6) returns. See the discussion under firewall4 here: Release goals for 22.xx

4 Likes

I was playing around on 21.02.1 and saw this in log

Sun Nov 21 03:31:18 2021 daemon.notice hostapd: nl80211: deinit ifname=wlan1 disabled_11b_rates=0
Sun Nov 21 03:31:18 2021 daemon.notice hostapd: nl80211: Failed to remove interface wlan1 from bridge br-lan: Invalid argument

supposedly in 21.02, 802.11b legacy rates are disabled by default. Does this suggest that setting is not working? or are these messages bogus

I have the Redmi AC2100 and i can say, this release has borked something.

My router randomly reboots, and nslookups from clients randomly time out.

There seems to be no issue if querying from the router itself.

1 Like

Successfully installed (sysupgrade from 21.02.0) on a Netgear WNR3700v4.

I'm trying snapshot and I'm happy with the results I'm getting. Wifi seems more stable.

1 Like

I also felt a decrease in performance changing from 19.07 (scp07), can't really say what it is but signal strengh/range could be one of them

Updated Wireless AP TP-Link Archer A7 v5 from 19.07.8 to 21.02.1 from Luci keeping configuration.
Update was very quick, device came back fully operational including Luci with HTTPS using Let's Encrypt cert even before installing additional packages.

Excellent work by all involved, as always.

Question for devs....
Is there likely to be a 21.02.2 incorporating the WiFi patch for the Linksys WRT devices?

5 Likes

https://git.openwrt.org/?p=openwrt/openwrt.git;a=shortlog;h=refs/heads/openwrt-21.02
And there was a spectacular massive amount of commits included for 21.02-snapshot 2days ago.
Do any one know where all these commits “came from” and how many bugs did they fix?

It seems to be many commits related to wifi problems?

Backporting stuff from master, so that the February 2021 based 21.02 branch resembles more the current wifi status at the current master. (So that config and behaviour variation between 21.02 and master is small for those who use both.)

3 Likes

So then the big question from the audience probably becomes if we will see a 21.02.2 soon?

3 Likes

"if", yes (although not necessarily because of this particular fix).
"when", you'll see it, once it's there.

2 Likes
Sat Nov 27 12:36:14 2021 daemon.notice hostapd: Configuration file: /var/run/hostapd-phy1.conf (phy wlan1) --> new PHY
Sat Nov 27 12:36:14 2021 daemon.err hostapd: Line 46: unknown configuration item 'snoop_iface'
Sat Nov 27 12:36:14 2021 daemon.err hostapd: Line 54: unknown configuration item 'vlan_no_bridge'
Sat Nov 27 12:36:14 2021 daemon.err hostapd: Line 56: unknown configuration item 'qos_map_set'
Sat Nov 27 12:36:14 2021 daemon.err hostapd: 3 errors found in configuration file '/var/run/hostapd-phy1.conf'
Sat Nov 27 12:36:14 2021 daemon.err hostapd: Failed to set up interface with /var/run/hostapd-phy1.conf
Sat Nov 27 12:36:14 2021 daemon.notice netifd: radio1 (14191): Command failed: Invalid argument
Sat Nov 27 12:36:14 2021 daemon.notice netifd: radio1 (14191): Device setup failed: HOSTAPD_START_FAILED
Sat Nov 27 12:36:14 2021 daemon.notice netifd: Wireless device 'radio1' set retry=0
Sat Nov 27 12:36:14 2021 daemon.crit netifd: Wireless device 'radio1' setup failed, retry=0
Sat Nov 27 12:36:14 2021 daemon.notice netifd: Wireless device 'radio1' is now down

I updated the list, and then upgraded the upgradeable items one by one. After all the upgrades were completed, my wifi could not be turn on, and the log was as above.
I am very sad, the stable version(21.02.1) I used, the normal upgrade of the components, there are also problems.
I tried to use ssh to connect to the router and delete the three error items in the hostapd-phy1.conf file. The wireless function is enabled, but the dhcp service cannot be obtained from the phone.

Looking forward to it!

3 Likes

Just updated two of my TP-Link Archer C7 AC1750 v4 from v19.07.7 to v21.02.1 without any issues. Everything worked very smoothly, thank you.

1 Like