My Macbook (10.14 Mojave) sometimes has trouble connecting to public wifi. It is hard to be productive when you have 30 minutes and it takes 15 to connect to wifi. Some places it takes a long time for the free wifi sign in page to pop up.
Is there something I can type into terminal that would "reset" the wifi without shutting down? Is there something else I can do to make it connect faster?
sudo ifconfig en0 down
thensudo ifconfig en0 up
See here.