Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
releases:21.02:notes-21.02.0-rc3 [2021/06/17 07:55] – [Upgrading to 21.02.0-rc2] zorunreleases:21.02:notes-21.02.0-rc3 [2021/06/17 19:15] – update date hauke
Line 1: Line 1:
-====== OpenWrt 21.02.0-rc3 - Third Release Candidate - 16 June 2021 ======+====== OpenWrt 21.02.0-rc3 - Third Release Candidate - 17 June 2021 ======
  
 <code> <code>
Line 13: Line 13:
  
 /* Uncomment when the release is still work-in-progress */ /* Uncomment when the release is still work-in-progress */
-{{page>meta:infobox:attention_wiprelease&noheader&nofooter&noeditbtn}}+/* {{page>meta:infobox:attention_wiprelease&noheader&nofooter&noeditbtn}} */
  
 The OpenWrt Project is a Linux operating system targeting embedded devices.   The OpenWrt Project is a Linux operating system targeting embedded devices.  
Line 31: Line 31:
 ===== Changes between OpenWrt 21.02.0-rc2 and 21.02.0-rc3 =====  ===== Changes between OpenWrt 21.02.0-rc2 and 21.02.0-rc3 ===== 
  
-The OpenWrt community is proud to announce the second release candidate of the +The OpenWrt community is proud to announce the new release candidate of the 
 upcoming OpenWrt 21.02 stable version series. It incorporates over 5800  upcoming OpenWrt 21.02 stable version series. It incorporates over 5800 
 commits since branching the previous OpenWrt 19.07 release and has been under  commits since branching the previous OpenWrt 19.07 release and has been under 
Line 40: Line 40:
 ==== Known issues ==== ==== Known issues ====
  
- +No known issues so far.
 ==== LuCI ==== ==== LuCI ====
  
   * LuCI ''network'' migration tool now migrates custom bridge MAC addresses.   * LuCI ''network'' migration tool now migrates custom bridge MAC addresses.
- 
-/* 
-==== New network configuration syntax ==== 
- 
-There have been several changes to the network configuration syntax in ''/etc/config/network'': 
- 
-  * in ''config interface'', option ''ifname'' has been renamed to ''device'' (since it refers to a ''device'' section) 
-  * in ''config device'' of type ''bridge'', ''ifname'' has been renamed to ''ports'' 
-  * for new installs, the generated configuration now creates separate sections for layer 2 (''config device'') and layer 3 (''config interface'') configuration 
- 
-The old syntax is still supported to facilitate transition, and there is no automated migration when upgrading. 
- 
-However, the LuCI web interface detects old-style configuration and will propose to migrate it to the new syntax. This is necessary to be able to edit network configuration through LuCI. 
- 
-The new configuration style looks like this: 
- 
-<code> 
-config device 
- option name 'br-lan' 
- option type 'bridge' 
- option macaddr '00:01:02:XX:XX:XX' 
- list ports 'lan1' 
- list ports 'lan2' 
- list ports 'lan3' 
- list ports 'lan4' 
-     
-config interface 'lan' 
- option device 'br-lan' 
- option proto 'static' 
- option ipaddr '192.168.1.1' 
- option netmask '255.255.255.0' 
- option ip6assign '60' 
- 
-config device 
- option name 'eth1' 
- option macaddr '00:01:02:YY:YY:YY' 
- 
-config interface 'wan' 
- option device 'eth1' 
- option proto 'dhcp' 
- 
-config interface 'wan6' 
- option device 'eth1' 
- option proto 'dhcpv6' 
-</code> 
- 
-This example uses DSA with ''lanX'' interface names.  A non-DSA device would use more classical ''ethX'' interface names. 
- 
-==== LuCI update ==== 
- 
-LuCI has been updated to support the most recent ''network'' syntax (and migrate old config files if needed). In some cases migration will take 2 steps. 
- 
-Support for configuring devices (''config device'' UCI sections) was added. It can be used for setting layer 2 options (like MTU and MAC address). It also supports bridge devices (including VLAN tagging). 
- 
-=== LuCI HTTPS === 
- 
-LuCI is now available over HTTPS in addition to HTTP in the default images. 
- 
-After an upgrade from OpenWrt 19.07 to OpenWrt 21.02 unencrypted HTTP requests are redirected to HTTPS. On fresh OpenWrt 21.02 installations they are not redirected. 
- 
-It is possible to activate or deactivate the redirect to HTTPS like this: 
-<code> 
-uci set uhttpd.main.redirect_https=1   # 1 to enable redirect, 0 to disable redirect 
-uci commit uhttpd 
-service uhttpd reload 
-</code> 
-*/ 
  
 ==== Software updates ==== ==== Software updates ====
Line 141: Line 73:
 TLS support is now provided by default in OpenWrt images including the trusted CA certificates from Mozilla. It means that ''wget'' and ''opkg'' now support fetching resources over HTTPS out-of-the-box. TLS support is now provided by default in OpenWrt images including the trusted CA certificates from Mozilla. It means that ''wget'' and ''opkg'' now support fetching resources over HTTPS out-of-the-box.
 The ''opkg'' download server is accessed through HTTPS by default. The ''opkg'' download server is accessed through HTTPS by default.
-OpenWrt switched from mbedTLS to wolfSSL as the default SSL librarymbedTLS and OpenSSL are still available and can be installed manually. +OpenWrt switched from mbedTLS to wolfSSL as the default SSL librarymbedTLS and OpenSSL are still available and can be installed manually.  
 + 
 +In addition, LuCI is now available over HTTPS in addition to HTTP. There is no automatic redirection to HTTPS on a fresh OpenWrt 21.02 installation; however, redirection will be enabled after upgrading from OpenWrt 19.07 to OpenWrt 21.02. 
 + 
 +It is always possible to activate or deactivate the redirection to HTTPS like this: 
 +<code> 
 +uci set uhttpd.main.redirect_https=1   # 1 to enable redirect, 0 to disable redirect 
 +uci commit uhttpd 
 +service uhttpd reload 
 +</code>
  
-/* LuCI does not use https by default */ 
  
 ==== Initial DSA support ==== ==== Initial DSA support ====
Line 175: Line 115:
 However, the level of functionality will be reduced and there is no guarantee to stability. However, the level of functionality will be reduced and there is no guarantee to stability.
 See [[supported_devices:openwrt_on_432_devices|OpenWrt on 4/32 devices]] for more details and guidance. See [[supported_devices:openwrt_on_432_devices|OpenWrt on 4/32 devices]] for more details and guidance.
 +
 +==== New network configuration syntax ====
 +
 +There have been several changes to the network configuration syntax in ''/etc/config/network'':
 +
 +  * in ''config interface'', option ''ifname'' has been renamed to ''device'' (since it refers to a ''device'' section)
 +  * in ''config device'' of type ''bridge'', ''ifname'' has been renamed to ''ports''
 +  * for new installs, the generated configuration now creates separate sections for layer 2 (''config device'') and layer 3 (''config interface'') configuration
 +
 +The old syntax is still supported to facilitate transition, and there is no automated migration when upgrading.
 +
 +However, the LuCI web interface detects old-style configuration and will propose to migrate it to the new syntax. This is necessary to be able to edit network configuration through LuCI.
 +
 +The new configuration style looks like this:
 +
 +<code>
 +config device
 + option name 'br-lan'
 + option type 'bridge'
 + option macaddr '00:01:02:XX:XX:XX'
 + list ports 'lan1'
 + list ports 'lan2'
 + list ports 'lan3'
 + list ports 'lan4'
 +    
 +config interface 'lan'
 + option device 'br-lan'
 + option proto 'static'
 + option ipaddr '192.168.1.1'
 + option netmask '255.255.255.0'
 + option ip6assign '60'
 +
 +config device
 + option name 'eth1'
 + option macaddr '00:01:02:YY:YY:YY'
 +
 +config interface 'wan'
 + option device 'eth1'
 + option proto 'dhcp'
 +
 +config interface 'wan6'
 + option device 'eth1'
 + option proto 'dhcpv6'
 +</code>
 +
 +This example uses DSA with ''lanX'' interface names.  A non-DSA device would use more classical ''ethX'' interface names.
  
 ==== New hardware targets ==== ==== New hardware targets ====
  • Last modified: 2021/06/25 10:14
  • by zorun