Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am an Ubuntu newbie. I have a HP DM1 laptop with Ralink RT5390 wifi card. It has the ability to connect on wifi direct with my Nexus 7 in Windows while using latest drivers located at Mediatek site. But I am unable to use wifi direct in Ubuntu. I found wpa2_supplicant supports this and installed the same, but still wifi direct is not functioning.

Can anyone help?

share|improve this question

You have to compile and install wpa_supplicant (see and before compiling edit the ".config" file as in .

Now use wpa_cli commands (see and

Hope it helps

EDIT: If you get errors in Ubuntu 14.04 during the compile like: fatal error: openssl/ssl.h: No such file or directory compilation terminated. and fatal error: netlink/genl/genl.h: No such file or directory compilation terminated you may need to install libnl1, libssl-dev and libnl-dev. Use the following command to install them

sudo apt-get install libnl1 libssl-dev libnl-dev

share|improve this answer
wpa_supplicant v1.1 and above(v2.0) supports wifi direct – cgv Jul 4 '13 at 7:57
When will the Ubuntu NetworkManager applet support it? – NoBugs Feb 9 '14 at 3:30

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.