private-wlan.rst 1.0 KB

123456789101112131415161718192021222324252627282930
  1. Private WLAN
  2. ============
  3. It is possible to set up a private WLAN that bridges the WAN port and is seperated from the mesh network.
  4. Please note that you should not enable ``mesh_on_wan`` simultaneously.
  5. The private WLAN can be enabled through the config mode if the package ``gluon-luci-privatewifi`` is installed.
  6. You may also enable a private WLAN using the command line:
  7. ::
  8. uci set wireless.wan_radio0=wifi-iface
  9. uci set wireless.wan_radio0.device=radio0
  10. uci set wireless.wan_radio0.network=wan
  11. uci set wireless.wan_radio0.mode=ap
  12. uci set wireless.wan_radio0.encryption=psk2
  13. uci set wireless.wan_radio0.ssid="$SSID"
  14. uci set wireless.wan_radio0.key="$KEY"
  15. uci set wireless.wan_radio0.disabled=0
  16. uci commit
  17. wifi
  18. Please replace ``$SSID`` by the name of the WLAN and ``$KEY`` by your passphrase (8-63 characters).
  19. If you have two radios (e.g. 2.4 and 5 GHz) you need to do this for radio0 and radio1.
  20. It may also be disabled by running:
  21. ::
  22. uci set wireless.wan_radio0.disabled=1
  23. uci commit
  24. wifi