f1linux / pi-ap

Raspberry Pi wireless Access Point: This repo automates the config of hostapd, dnsmasq, dhcpcd & wpa_supplicant to transform a Pi into an AP. Requires: a Pi, Ethernet cable & DHCP-enabled port on a broadband router or a switch connected to this router. For other interesting & practical Pi solutions, my Stack page is: https://raspberrypi.stackexchange.com/users/97613/f1linux
GNU General Public License v3.0
83 stars 17 forks source link

Uninstall #1

Open Memoi opened 4 years ago

Memoi commented 4 years ago

Hi,

there is a script to uninstall all of this to come back to the previous state before the installation ?

Thanks

f1linux commented 4 years ago

@Memoi : I designed this to rapidly prototype AP configuration for enterprise project and just opensourced it after I was done, feeling it was a great tool for folks to learn about networking. So restoring to a previous state was never part of the design. Indeed, I just blew the config away by re-imaging the MicroSD card when iterating through prototypes. So this is more rightly classified as a "Enhancement" than a "Bug" per se.

When prototyping, it's important to ensure there are no artifacts from a previous iteration left behind that could distort your test results when running the new changes. The host must be 200% pristine. Hence I re-imaged vs. restoring.

In order to restore the Pi to a previous state involves more than just unwinding pi-ap config: it would also require pi-ap to execute a backup of config files before it starts modifying things. I guess I could whack- out something when I get a few spare cycles.

Would however suggest not running anything else on the Pi if you're using it as an AP. -T