Step 1. Setup authentication info (credit to chatchavan ) Now, you should check what type of authentication your network use. Personal: Typical home router require one password to connect. (Keywords: WPA, WPA2) Enterprise: If you use the enterprise network, e.g., eduroam at the university, you will have user name and password. (Keywords: PEAP, MSCHAPV2) For security reason, we will create a hash of your password. This hash will be used in the configuration file for the authentication info. This avoids saving your password in plain text. At the command prompt create a MD4 hash of one of your password by entering the following command, typing your password and pressing enter: (read -s PASS && echo -n $PASS | iconv -t utf16le | openssl md4 > hash.txt) This will create a file called hash.txt within this you will see something like: (stdin)= c612f89cd9678868a69e93beecfa10b6 You will need the bit after the equals sign. Now you can add prop