in order provision device on user's home wifi network, temporarily act accesspoint in order receive wifi network details client. part of setup process, i'd verify connection user's wifi network without losing ap connection client in order provide connection attempt status (success or fail). works if both ap & user's wifi network using same channel, run problems when accesspoint configured run on channel x, , user's wifi network on channel y. should possible verify network connectivity on channel?
here's scenario things aren't working:
i have 2 virtual interfaces, wlan_ap , wlan_sta. hostapd configured use wlan_ap on channel 7 in hostapd.conf. client connects ap network, , through exchange, device given ssid , pw of user's home wifi network. however, user's home wifi network turns out on different channel (e.g. 11). if attempt use station interface connect user's wifi network while maintaining connection client on ap interface, station test connection fails. or if somehow connects user's wifi network, ap connection client drops. if both ap , user's home network happen same channel, test connection succeeds. there way test connection when channels differ?
my device running debian 7.8 (kernel 3.8.13) , wifi adapter using atheros ar9271 chipset w/ ath9k_htc driver.
any direction can give, including telling me i'm doing wrong , how right, highly appreciated.
"hostapd.conf has channel=7 , client network on 8" huh? client selects ssid access, not channel.
Comments
Post a Comment