Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hostapd Not Restarting #53

Closed
PureGrain opened this issue Jan 6, 2017 · 2 comments
Closed

Hostapd Not Restarting #53

PureGrain opened this issue Jan 6, 2017 · 2 comments

Comments

@PureGrain
Copy link
Contributor

Good afternoon folks. Thanks for all the help in advance. I've tried a few things and cannot seem to get this to work.

First thing is I set my /etc/dhcpcd.conf to comment out static IP settings because if I don't I do not get internet connection through my router after I setup as AP because it assigns me a local IP of 10.3.141.??.

If I configure the AP to my Router password it grabs an IP from my router and I can switch back to my network and log into the web interface again.

Here is where the problem is:

If I remove the password for the access point and just want to go back to local access it hangs. It does not restart the hostapd service. It's dropping the IP and everything but it's not refreshing and picking back up a local IP. I have to stop and restart the hostapd settings or reboot the system.

Any ideas?

@jrmhaig
Copy link
Collaborator

jrmhaig commented Jan 10, 2017

Hello.

When you say you remove the password do you mean you remove it from the Raspap web interface?

If you disconnect from the router then I think it will drop the IP address and so, unless you put back the static settings in /etc/dhcpd.conf, it will not have any settings. Does this sound like what is happening in your case? This is a known issue (#46) but I'm afraid I haven't had much time to look at it.

@PureGrain
Copy link
Contributor Author

Yes, when I remove the password "delete button" from the web interface. Which I understood I lost the IP and therefor have no connection. I will write in some code to restart the hostapd app after the file is deleted to resolve the problem. Thanks for your time. If I get it working properly I'll provide the code here.

getveloce added a commit to getveloce/raspap-webgui that referenced this issue Feb 25, 2017
billz pushed a commit that referenced this issue Nov 24, 2021
billz added a commit that referenced this issue Dec 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants