How to connect wifi automatically in raspberry pi3?

40
9
300
#1
I have BSNL internet connection , sometimes the connection is down at isp side , and when it comes back pi is not connected to internet.
I have already set it up to autoconnect but that works like I need to turn off the main switch of pi and turn it on again then it gets connected to wifi automatic.
Can we write any service which checks if wifi is on and if its not it might restart that service which refreshes wifi and makes it connect like when we reboot.
 
141
83
960
#2
I have BSNL internet connection , sometimes the connection is down at isp side , and when it comes back pi is not connected to internet.
I have already set it up to autoconnect but that works like I need to turn off the main switch of pi and turn it on again then it gets connected to wifi automatic.
Can we write any service which checks if wifi is on and if its not it might restart that service which refreshes wifi and makes it connect like when we reboot.
Sorry for late reply,

U have 2 options, enabling auto login.
Use ifupdown for managing wifi.

To use ifupdown, u have to uninstall all network managers and follow this guild
Setting WiFi up via the command line - Raspberry Pi Documentation
I hope I helped you
 

Sponsored

Topics You Missed