schollz / raspberry-pi-turnkey

How to make a Raspberry Pi image that can be deployed anywhere and assigned to a WiFi network without SSH :ok_hand:
MIT License
832 stars 90 forks source link

Auto switch to Wifi without rebooting #24

Open rdzidziguri opened 5 years ago

rdzidziguri commented 5 years ago

In order to automatically switch to AP and Wifi without need to reboot following commands could be used. I am not creating PR as long as I am not sure if this is still active.

sudo ifconfig wlan0 down
sleep 5
sudo ifconfig wlan0 up
schollz commented 5 years ago

Thanks, the project is still active so if this it would be great to have a PR!