Hi, I am not sure if i have clearly explain my view.My comment against below point.
>But AP and STA modes are mutually exclusive as an AP needs to be >available all the time. With below steps i could able to use both at same time. /*********** Setting AP Mode*************************/ #iw phy phy0 interface add wlan1 type managed #ifconfig wlan1 10.4.30.34 netmask 255.255.255.0 up #hostapd /etc/hostapd.conf & #udhcpd /etc/udhcpd.conf #iptables -t nat -A POSTROUTING -o wlan1 -j MASQUERADE /***********Setting STA mode************************/ #ifconfig wlan0 up #wpa_supplicant -d -Dnl80211 -c/etc/wpa_supplicant.conf -iwlan0 -B #udhcpc -R -b -p /var/run/udhcpc.wlan0.pid -i wlan0 #echo 1 > /proc/sys/net/ipv4/ip_forward Is this is possible with connman as well ???? Thanks ---------- Forwarded message ---------- From: techi eth <techi...@gmail.com> Date: Fri, Jan 16, 2015 at 5:44 PM Subject: Re: Wi-Fi in Dual mode using connman To: connman@connman.net Thanks for answer. I have tried below steps (Part of TI Wiki). I could able to use both mode (AP+STA) at same time. /*********** Setting AP Mode*************************/ #iw phy phy0 interface add wlan1 type managed #ifconfig wlan1 10.4.30.34 netmask 255.255.255.0 up #hostapd /etc/hostapd.conf & #udhcpd /etc/udhcpd.conf #iptables -t nat -A POSTROUTING -o wlan1 -j MASQUERADE /***********Setting STA mode************************/ #ifconfig wlan0 up #wpa_supplicant -d -Dnl80211 -c/etc/wpa_supplicant.conf -iwlan0 -B #udhcpc -R -b -p /var/run/udhcpc.wlan0.pid -i wlan0 #echo 1 > /proc/sys/net/ipv4/ip_forward Is this is possible with connman as well ???? Thanks On Fri, Jan 2, 2015 at 1:20 PM, Patrik Flykt <patrik.fl...@linux.intel.com> wrote: > On Tue, 2014-12-30 at 19:02 +0530, techi eth wrote: > > > AP Requirement : I want any other STA will get connected to my Wi-Fi > board > > & i will serve the request without using internet. > > # connmanctl tether wifi > > No need to have an uplink Internet connection to make this work. > > > STA Requirement : I want to connect through other AP (Ex : Wi-Fi router) > > for internet connection to send data outside. > > # connmanctl > connmanctl> scan wifi > connmanctl> agent on > connmanctl> connect wifi_XXXXX_YYYYY > > But AP and STA modes are mutually exclusive as an AP needs to be > available all the time. > > Cheers, > > Patrik > > Thanks > > _______________________________________________ > > connman mailing list > > connman@connman.net > > https://lists.connman.net/mailman/listinfo/connman > > > _______________________________________________ > connman mailing list > connman@connman.net > https://lists.connman.net/mailman/listinfo/connman > _______________________________________________ connman mailing list connman@connman.net https://lists.connman.net/mailman/listinfo/connman