Select settings for automatic connection
You can select if you want to establish a connection to the internet automatically when your router is turned on.
Find "Network Preferences..."
Click the network icon.
Click Network Preferences....
Turn automatic connection on or off
Click the field next to "Automatically join this network" to turn the function on or off.