In the link you posted it says:
if this fails with errors like:
driver_nl80211.c:21:31: warning: netlink/genl/genl.h: No such file or directory
driver_nl80211.c:22:33: warning: netlink/genl/family.h: No such file or directory
driver_nl80211.c:23:31: warning: netlink/genl/ctrl.h: No such file or directory
driver_nl80211.c:24:25: warning: netlink/msg.h: No such file or directory
driver_nl80211.c:25:26: warning: netlink/attr.h: No such file or directory
you need to install/update libnl-1.0pre8 (or later). If all goes well and the
compilation finishes, try the minimal hostapd again, see the section Using your
distributions hostapd above for that.
So...
sudo apt-get install libnl1 libnl-dev
then run the build
I skimmed through this and I don't think your card will work for this
to be sure, run this:
lspci | grep -i network
If you have a Broadcom 43.... card this route won't work. See this
make
now works, however I still cannot create hotspot, I got~/hostap/hostapd$ ./hostapd ./hostapd-minimal.conf Configuration file: ./hostapd-minimal.conf nl80211: 'nl80211' generic netlink not found Failed to initialize driver 'nl80211'
– tikend Feb 20 '13 at 16:01apt-get
I get$ hostapd ./hostapd-minimal.conf Configuration file: ./hostapd-minimal.conf nl80211: 'nl80211' generic netlink not found Failed to initialize driver 'nl80211' Segmentation fault (core dumped)
– tikend Feb 20 '13 at 16:57