diff options
author | Mike Baker <mbm@openwrt.org> | 2007-07-04 11:15:12 +0000 |
---|---|---|
committer | Mike Baker <mbm@openwrt.org> | 2007-07-04 11:15:12 +0000 |
commit | 970a97827f4534c463cde49a576952a9a4bbbc25 (patch) | |
tree | d6d8a59f6308b8d08588ef7a45e5f6fb9589e6ba /package | |
parent | dba4a4c41e348e1aeae4de42e0c881f72ead4560 (diff) | |
download | upstream-970a97827f4534c463cde49a576952a9a4bbbc25.tar.gz upstream-970a97827f4534c463cde49a576952a9a4bbbc25.tar.bz2 upstream-970a97827f4534c463cde49a576952a9a4bbbc25.zip |
clean up default wifi config
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7873 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r-- | package/broadcom-wl/files/lib/wifi/broadcom.sh | 5 | ||||
-rwxr-xr-x | package/madwifi/files/lib/wifi/madwifi.sh | 14 |
2 files changed, 4 insertions, 15 deletions
diff --git a/package/broadcom-wl/files/lib/wifi/broadcom.sh b/package/broadcom-wl/files/lib/wifi/broadcom.sh index fc26d076ea..4f11a51591 100644 --- a/package/broadcom-wl/files/lib/wifi/broadcom.sh +++ b/package/broadcom-wl/files/lib/wifi/broadcom.sh @@ -249,7 +249,8 @@ detect_broadcom() { config wifi-device wl0 option type broadcom option channel 5 -# disable radio to prevent an open ap after reflashing: + + # REMOVE THIS LINE TO ENABLE WIFI: option disabled 1 config wifi-iface @@ -257,8 +258,6 @@ config wifi-iface option network lan option mode ap option ssid OpenWrt - option hidden 0 option encryption none - EOF } diff --git a/package/madwifi/files/lib/wifi/madwifi.sh b/package/madwifi/files/lib/wifi/madwifi.sh index 69506dbde5..46f994ea74 100755 --- a/package/madwifi/files/lib/wifi/madwifi.sh +++ b/package/madwifi/files/lib/wifi/madwifi.sh @@ -262,26 +262,16 @@ detect_atheros() { config wifi-device $dev option type atheros option channel 5 -# option diversity 1 -# option txantenna 0 -# option rxantenna 0 -# option distance 2000 -# disable radio to prevent an open ap after reflashing: - option disabled 1 + # REMOVE THIS LINE TO ENABLE WIFI: + option disabled 1 config wifi-iface option device $dev option network lan option mode ap option ssid OpenWrt - option hidden 0 -# option txpower 15 -# option bgscan enable -# option frag off -# option rts off option encryption none - EOF done } |