aboutsummaryrefslogtreecommitdiffstats
path: root/package/madwifi/files
diff options
context:
space:
mode:
authorMike Baker <mbm@openwrt.org>2007-03-15 23:17:16 +0000
committerMike Baker <mbm@openwrt.org>2007-03-15 23:17:16 +0000
commite62084b7f566f2e48d809198a3ad78ae0493479a (patch)
tree2549addf8c11ddae43eb74d253b5d21ecf9500f7 /package/madwifi/files
parente0dee0c3c208870e3342fed72d90c24bcdac1372 (diff)
downloadupstream-e62084b7f566f2e48d809198a3ad78ae0493479a.tar.gz
upstream-e62084b7f566f2e48d809198a3ad78ae0493479a.tar.bz2
upstream-e62084b7f566f2e48d809198a3ad78ae0493479a.zip
Enable bridge, disable wifi
Easier to deal with "how do I enable wifi" than "why isn't wifi working?" git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6570 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/madwifi/files')
-rwxr-xr-xpackage/madwifi/files/lib/wifi/madwifi.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/package/madwifi/files/lib/wifi/madwifi.sh b/package/madwifi/files/lib/wifi/madwifi.sh
index e7e227bb70..8083612af9 100755
--- a/package/madwifi/files/lib/wifi/madwifi.sh
+++ b/package/madwifi/files/lib/wifi/madwifi.sh
@@ -240,10 +240,13 @@ config wifi-device $dev
# option txantenna 0
# option rxantenna 0
# option distance 2000
+# disable radio to prevent an open ap after reflashing:
+ option radio 0
+
config wifi-iface
option device $dev
-# option network lan
+ option network lan
option mode ap
option ssid OpenWrt
option hidden 0