
Then after that, compile and install hostapd:

For my setup I only need to activate (by uncommenting) the nl80211 driver and the N-Mode:īefore installing hostapd, we need to install some dependencies: config, then open it using your favorite editor. Then inside this folder, copy the defconfig file into a new file named. I am no linux/Debian expert so I will just install hostapd from the repository, just to get the service configuration at /etc/default/, /etc/init.d/, and other places, then uninstall or remove the hostapd binaries. I do this because I want to enable the WiFi N-mode support.īut, installation from source will only give hostapd binaries, while we need several config files to run hostapd automatically as a service. Rather than using hostapd package provided by Ubuntu repository, I would prefer to get the latest revision of hostapd from the developer’s git, then compile it manually. Hostapd is the daemon who is responsible for broadcasting the access point and managing the connections.

So to make sure the setting will work, add ifup wlan0 inside /etc/rc.local file just before the exit 0: – With N-Mode activated, connection drops after a whileįirst edit /etc/network/interfaces, remove anything related to wlan0 (or whatever your device’s name) and add this lines to set the IP address of the wlan device as static:Īlthough the configuration is already set, but in my system somehow it fails to set the IP address. – Slow network performance, getting only 3-10Mbit/s
