summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2009-08-19 01:45:44 +0000
committerJo-Philipp Wich <jow@openwrt.org>2009-08-19 01:45:44 +0000
commitec57f9f5371f548e3742641ec3b1757a7f89a0fc (patch)
tree0251cb15ac75e9da01295497e1ecbdbfc98c4f87
parent2cabcb4be083e1b5d48b531f29a232477d261703 (diff)
contrib/uci: fake an active wireless network in the shipped uci
-rw-r--r--contrib/uci/hostfiles/etc/config/wireless9
1 files changed, 6 insertions, 3 deletions
diff --git a/contrib/uci/hostfiles/etc/config/wireless b/contrib/uci/hostfiles/etc/config/wireless
index 4895797dbc..7e7d2d864b 100644
--- a/contrib/uci/hostfiles/etc/config/wireless
+++ b/contrib/uci/hostfiles/etc/config/wireless
@@ -1,9 +1,7 @@
config wifi-device wifi0
option type atheros
option channel auto
-
- # REMOVE THIS LINE TO ENABLE WIFI:
- option disabled 1
+ option disabled 0
config wifi-iface
option device wifi0
@@ -11,3 +9,8 @@ config wifi-iface
option mode ap
option ssid OpenWrt
option encryption none
+
+ # Fake active wifi
+ option ifname ath0
+ option up 1
+