in station/client mode we forgot to set the ESSID, so there was no connection possible. this is just a proposal - i'am unsure if there is a better place for the command.
Signed-off-by: Bastian Bittorf <bitt...@bluebottle.com>
>From 831ce3fda06bbccc0a2be09b783a4a2e2db41b69 Mon Sep 17 00:00:00 2001 From: Bastian Bittorf <bitt...@bluebottle.com> Date: Fri, 28 Jan 2011 13:56:59 +0100 Subject: [PATCH] setting ESSID in client/station-mode, after the interface is up --- package/mac80211/files/lib/wifi/mac80211.sh | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/package/mac80211/files/lib/wifi/mac80211.sh b/package/mac80211/files/lib/wifi/mac80211.sh index ac1562f..61032eb 100644 --- a/package/mac80211/files/lib/wifi/mac80211.sh +++ b/package/mac80211/files/lib/wifi/mac80211.sh @@ -439,6 +439,8 @@ enable_mac80211() { continue } fi + + iw dev "$ifname" connect "$ssid" ;; esac mac80211_start_vif "$vif" "$ifname" -- 1.6.3.3
_______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel