[LEDE-DEV] [PATCH] docs: update uci's wireless reconfiguration text

Christian Lamparter chunkeey at googlemail.com
Mon Oct 17 06:59:16 PDT 2016

"wifi detect" has been replaced by "wifi config". It no longer
needs the file redirection to /etc/config/wireless.

It also removes the half sentence about rebuilding the
configuration when installing a new device. I think it is
bad advice to nuke the entire existing configuration just
to add a new wifi device.

Signed-off-by: Christian Lamparter <chunkeey at gmail.com>
 docs/uci_wireless.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/uci_wireless.txt b/docs/uci_wireless.txt
index d43df0e..76bb459 100644
--- a/docs/uci_wireless.txt
+++ b/docs/uci_wireless.txt
@@ -333,11 +333,11 @@ Wireless interfaces are brought up and down with the 'wifi' command. To (re)star
 == Regenerate Configuration
-To rebuild the configuration file, e.g. after installing a new wireless driver, remove the existing wireless configuration (if any) and use the 'wifi detect' command with stdout redirected to the '/etc/config/wireless' file:
+To rebuild the configuration file, remove the existing wireless configuration (if any) and use the 'wifi config' command:
 rm -f /etc/config/wireless
-wifi detect > /etc/config/wireless
+wifi config
 == 40 MHz channel width (up to 300 Mbps) for 802.11n devices ONLY

More information about the Lede-dev mailing list