summaryrefslogtreecommitdiff
path: root/package/base-files/src/etc
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-04-29 10:45:06 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2013-04-29 10:45:06 +0200
commit8323ca8f306611ea9538543812f9b4a0ce97a405 (patch)
tree2a33bbcfc67dba03df80cd12be19aa3e01bc401a /package/base-files/src/etc
parentf983eabdfce169347caa757331ce071f12407e23 (diff)
channel is not required anymore for STA mode
Diffstat (limited to 'package/base-files/src/etc')
-rwxr-xr-xpackage/base-files/src/etc/network/if-pre-up.d/04-wireless1
-rw-r--r--package/base-files/src/etc/network/interfaces3
2 files changed, 1 insertions, 3 deletions
diff --git a/package/base-files/src/etc/network/if-pre-up.d/04-wireless b/package/base-files/src/etc/network/if-pre-up.d/04-wireless
index 030502efc..f69f273d0 100755
--- a/package/base-files/src/etc/network/if-pre-up.d/04-wireless
+++ b/package/base-files/src/etc/network/if-pre-up.d/04-wireless
@@ -4,7 +4,6 @@ set -e
[ "${IFACE%%[0-9]*}" = "wlan" ] || exit 0
[ "$IF_WIRELESS_SSID" ] || exit 1
-[ "$IF_WIRELESS_CHANNEL" ] || exit 1
[ "$IF_WIRELESS_HWMODE" ] || IF_WIRELESS_HWMODE=g
[ "$IF_WIRELESS_EXTENSION" ] || IF_WIRELESS_EXTENSION=0
diff --git a/package/base-files/src/etc/network/interfaces b/package/base-files/src/etc/network/interfaces
index 80a51f145..11174c152 100644
--- a/package/base-files/src/etc/network/interfaces
+++ b/package/base-files/src/etc/network/interfaces
@@ -37,7 +37,6 @@ iface eth0 inet dhcp
#auto wlan0
#iface wlan0 inet dhcp
# wireless-ssid myap
-# wireless-channel 11
# wireless-mode sta
# wireless-security wpa2
# wireless-passphrase xxxxxx
@@ -50,8 +49,8 @@ iface eth0 inet dhcp
# netmask 255.255.255.0
# broadcast +
# wireless-ssid myap
-# wireless-channel 8
# wireless-mode ap
+# wireless-channel 8
# wireless-security wpa2
# wireless-passphrase xxxxxxxx
##