I have wifi adapter TP-Link TL-WN722N I want to use it to access internet and to share wifi access point at once.
I did it on windows 8:
netsh
wlan set hostednetwork mode=allow ssid="APname" key="mykey" keyUsage=persistent
wlan start hostednetwork
How can i do this from ubuntu 14.04?