From 568c02662375728abb5b278132e06470c2974a20 Mon Sep 17 00:00:00 2001 From: Mike Baker Date: Thu, 15 Mar 2007 23:17:16 +0000 Subject: Enable bridge, disable wifi Easier to deal with "how do I enable wifi" than "why isn't wifi working?" SVN-Revision: 6570 --- package/broadcom-wl/files/lib/wifi/broadcom.sh | 3 +++ package/madwifi/files/lib/wifi/madwifi.sh | 5 ++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/package/broadcom-wl/files/lib/wifi/broadcom.sh b/package/broadcom-wl/files/lib/wifi/broadcom.sh index bc3a1f371b..bfb1b1267b 100644 --- a/package/broadcom-wl/files/lib/wifi/broadcom.sh +++ b/package/broadcom-wl/files/lib/wifi/broadcom.sh @@ -243,9 +243,12 @@ detect_broadcom() { config wifi-device wl0 option type broadcom option channel 5 +# disable radio to prevent an open ap after reflashing: + option radio 0 config wifi-iface option device wl0 + option network lan option mode ap option ssid OpenWrt option hidden 0 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 -- cgit v1.2.3