My goal is to set up an Access Point under Lubuntu 16.04, which assigns IPs to clients dynamically via DHCP. No internet connection sharing or stuff like that. Just the Lubuntu machine which runs e.G. under and assigns to the first connected client. Would be nice to do that without a lot of additional software.

I got to the point, that I have an Access Point in Hotspot Mode and clients can connect to it.


Problem is that i cannot select Automatic (DHCP) under IPv4 Settings, this method is disabled. Thats the reason why i selected "Shared..":


Access Point and clients get some class A ip-address and I have no clue how to change this / how to enable DHCP. I installed isc-dhcp-server and hoped that this will enable the DHCP option, but it doesn't worked out.

Does anyone know how to do that? Thanks a lot in advance!


I finally made it with the help of create_ap! Here is what I did:

#Install dependencies:
sudo apt install git && sudo apt-get install make && sudo apt-get install hostapd
#Install create_ap:
git clone https://github.com/oblique/create_ap
cd create_ap
make install
#Make Config File:
sudo create_ap -n wlan0 -g  MyAccessPoint MyPassPhrase --mkconfig /etc/create_ap.conf
#Start the systemd service:
sudo systemctl start create_ap
#Enable the service to start on boot:
sudo systemctl enable create_ap

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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