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
docs:guide-user:network:wifi:dawn [2023/12/29 19:15] – [Configuring dawn] should be updated to warning because changing it to udp broadcast will just break it ranydocs:guide-user:network:wifi:dawn [2023/12/30 13:21] – [Configure 802.11k and 802.11v on all AP-nodes] rany
Line 10: Line 10:
  
   * One or more OpenWrt based APs (and routers).   * One or more OpenWrt based APs (and routers).
 +  * install the full version of wpad
 +  * install and configure required packages for DAWN
  
-And that's pretty much it.+===== Setting up DAWN =====
  
-===== Setting up DAWN with OpenWrt 21.02.x ===== +To setup DAWN:
-These instructions have been tested with OpenWrt 21.02.x. For different versions, details may differ.+
  
-To setup DAWN we need to do 4 things: +  * configure 802.11k and 802.11v on all WiFi AP-nodes.
- +
-  * install the full version of wpad +
-  * configure 802.11k and 802.11v on all wifi AP-nodes.+
   * install and configure required packages for DAWN   * install and configure required packages for DAWN
-  * reboot all nodes (or just restart the network)+  * reboot all nodes (or just restart the network if no wpad packages have been changed).
- +
-Due to a bug in DSA, roaming does not work on VLANs (see [[https://github.com/openwrt/openwrt/issues/11650|#11650]]). There is a workaround by running "brctl br-lan setaging 3" which must be via script at boot for every bridge.+
  
 ==== Configure 802.11k and 802.11v on all AP-nodes ==== ==== Configure 802.11k and 802.11v on all AP-nodes ====
  
-SSH into each of your wifi/AP nodes and add the following config-lines in ''/etc/config/wireless'' to each of your 802.11r enabled SSIDs:+SSH into each of your wifi/AP nodes and add the following config-lines in ''/etc/config/wireless'' to each of your SSIDs:
  
         option bss_transition '1'         option bss_transition '1'
Line 46: Line 42:
 At this point you have all the packages you need, but they may be in need of additional configuration. At this point you have all the packages you need, but they may be in need of additional configuration.
  
-==== Configuring/fixing umdns ====+==== Fixing umdns (OpenWrt 21.02 only) ====
  
-Since dawn depends on umdns, ensure umdns is working correctly first. On all nodes where you installed dawn, try the following command:+Since dawn in network mode 2 (umdns + tcp) depends on umdns, ensure umdns is working correctly first. On all nodes where you installed dawn, try the following command:
  
    /etc/init.d/umdns restart    /etc/init.d/umdns restart
  
-If this command completes without error, umdns is working correctly. On OpenWrt 21.02.x however, it has an incorrect seccomp configuration causing loading to fail. To fix/bypass this, we can disable the umdns seccomp profile:+If this command completes without error, umdns is working correctly. If it fails, we can disable the umdns seccomp profile:
  
    mv /etc/seccomp/umdns.json /etc/seccomp/umdns.json.disable    mv /etc/seccomp/umdns.json /etc/seccomp/umdns.json.disable
Line 62: Line 58:
 ==== Configuring dawn ==== ==== Configuring dawn ====
  
-<WRAP important 100%>**Warning!** This is not needed if you stick to the default "network_option" of 2 (umdns + tcp). This is recommended due to issues with the other UDP-based options offered by DAWN as it sends packets that are larger interface MTU causing corrupted data to be received on the other end.</WRAP>+<WRAP important 100%>**Warning!** This is NOT needed if you stick to the default "network_option" of 2 (umdns + tcp). It is recommended to stick with the defaults and ignore this section due to issues with the other UDP-based network mode options offered by DAWN as it sends packets that are larger interface MTU causing corrupted data to be received on the other end.</WRAP>
  
 dawn's config-file /etc/config/dawn specifies which subnet is used for broadcasts to discover other nodes. By default this is specified as "10.0.0.255". If your OpenWrt has a default 192.168.1.x LAN-subnet, you will need to change this file. dawn's config-file /etc/config/dawn specifies which subnet is used for broadcasts to discover other nodes. By default this is specified as "10.0.0.255". If your OpenWrt has a default 192.168.1.x LAN-subnet, you will need to change this file.
  • Last modified: 2024/12/03 18:09
  • by palebloodsky