Closed Anjum9694 closed 4 years ago
Start with https://github.com/davesteele/comitup/wiki/Installing-Comitup.
Check syslog for DHCP errors.
Did you start with a Comitup image?
Yes I am running the image it was working fine for a while I installed some programs and suddenly the DHCP server isn't working. The AP shows up fine on android it just shows 'Obtaining IP address'.
Here is the syslog
Dec 5 13:35:29 raspberrypi NetworkManager[444]:
Did anything you installed add a DNS or DHCP service, or messed with the configuration of dnsmasq?
In HOTSPOT mode, Comitup will run something like:
dnsmasq --conf-file=/usr/share/comitup/dns/dns-hotspot.conf --interface=wlan0
Find out what is taking port 53 on the wifi interface, and why it is running now.
netstat -elnpu | grep :53
Solved by removing recently installed bettercap, it was conflicting with comitup DHCP settings. Just want to ask one more question before closing, where does comitup store current connection config? I mean the file which comitup store the current selected AP..
It doesn't. NetworkManager takes care of that.
Could comitup watch the dnsmasq process and see it dying? Then it could log an error to the syslog and we'd all know earlier what the problem is.
Hi, Having an issue with obtaining IP address from the comitup AP DHCP server. What files should I check?