From 8323ca8f306611ea9538543812f9b4a0ce97a405 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Mon, 29 Apr 2013 10:45:06 +0200 Subject: channel is not required anymore for STA mode --- package/base-files/src/etc/network/if-pre-up.d/04-wireless | 1 - package/base-files/src/etc/network/interfaces | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 'package/base-files/src') 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 ## -- cgit v1.2.3