clean up default wifi config

SVN-Revision: 7873
owl
Mike Baker 2007-07-04 11:15:12 +00:00
parent 5b52ebfcb1
commit 31ea6879d7
2 changed files with 4 additions and 15 deletions

View File

@ -249,7 +249,8 @@ detect_broadcom() {
config wifi-device wl0 config wifi-device wl0
option type broadcom option type broadcom
option channel 5 option channel 5
# disable radio to prevent an open ap after reflashing:
# REMOVE THIS LINE TO ENABLE WIFI:
option disabled 1 option disabled 1
config wifi-iface config wifi-iface
@ -257,8 +258,6 @@ config wifi-iface
option network lan option network lan
option mode ap option mode ap
option ssid OpenWrt option ssid OpenWrt
option hidden 0
option encryption none option encryption none
EOF EOF
} }

View File

@ -262,26 +262,16 @@ detect_atheros() {
config wifi-device $dev config wifi-device $dev
option type atheros option type atheros
option channel 5 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 config wifi-iface
option device $dev option device $dev
option network lan option network lan
option mode ap option mode ap
option ssid OpenWrt option ssid OpenWrt
option hidden 0
# option txpower 15
# option bgscan enable
# option frag off
# option rts off
option encryption none option encryption none
EOF EOF
done done
} }