Enable bridge, disable wifi
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

--- a/package/broadcom-wl/files/lib/wifi/broadcom.sh
+++ b/package/broadcom-wl/files/lib/wifi/broadcom.sh
@@ -243,9 +243,12 @@
 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

--- a/package/madwifi/files/lib/wifi/madwifi.sh
+++ b/package/madwifi/files/lib/wifi/madwifi.sh
@@ -240,10 +240,13 @@
 #       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

comments