-
Notifications
You must be signed in to change notification settings - Fork 167
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
wireless problems: how to revert? #9
Comments
Oh snap, that sounds terrible! What happens when you reboot the Pi after the Wifi being hosed? Worst case, you can update the /etc/network/interfaces file to look like the correct version for your wifi connection at home / work. Take a look at "./assets/etc/network/interfaces.wifi.template" which should be written to "/etc/network/interfaces". Hope this helps! |
hey sorry for my really delayed reply. first, your fix does work, in terms of bringing back wifi. i'll switch back to your wifi later today and post what happens on reboot. again, sorry for the delay -- i was travelling and not near my pi |
No worries at all! Glad that resolves it for you - When I find some time I will get to fixing this in a cleaner way. Could be as simple as a helper script that just does a "reset" to whatever known good "old" state. |
yes, that sounds like a good idea. ok, now when i reboot i get this error: [FAIL] Starting ISC DHCP server: dhcpd[....] check syslog for diagnostics. ... failed! this is after i've set things back to the way they were. so perhaps restoring to the way they were includes stopping this dhcp server from running at startup? can you point me to where this server is getting inserted in your code? |
Check out this file: ./assets/etc/default/isc-dhcp-server.template And look at how it is used here: https://github.com/sabhiram/raspberry-wifi-conf/blob/master/app/wifi_manager.js#L194 |
Any update @orcaomar ? |
I have the same problem, I reinstalled and executed your app, I can reach the server on the pi itself and try to connect my ssid, it says ap is closed and wifi is enabled, I restarted the pi, changed the /etc/network/interfaces to wifi template but I still have the 'no wireless interfaces found' text. Is there a way to recover this without reinstalling the raspbian os. The funny thing is it's really connected to internet with the settings I defined. I can surf on the internet |
Hah @hakankaraduman unfortunately I did not spend too much time in the reverse direction since I usually would just replace all the relevant service / config files using this method. |
I just experienced this as well. Lots of hours rebooting, modifying files, and enabling/disabling services trying to get my wifi back up and running again. I think that at the very least the old conf files should be backed up before they are overwritten, and there should be a troubleshooting warning about this in the documentation. To anyone else having issues here are the steps I took to reverse the changes and recover wifi on my pi, not sure if everything was necessary but made sure to write everything down:
|
so, this is what happens to me:
question: how do i undo everything that this program has done? is there a flag i can use? maybe some uninstall instructions are in order in case the whole installation fails.
The text was updated successfully, but these errors were encountered: