MX on Linux: Difference between revisions

851 bytes added ,  08:28, 1 September 2020
m
Line 204: Line 204:
=== Wireless Network ===
=== Wireless Network ===


Again, create a new file, again if you are using Windows you can create it as a text file and then replace the '''.txt''' extension with a ''.conf'' extension, store it in the boot directory on your micro-SD card under the name '''wpa_supplicant.conf'''.
Depending on your Pi model, it may on first boot ask you to enter your wireless network details, it may list the wireless networks it finds and ask you to choose, or you might need to use the configuration tool, or you might need to click on an icon with two red crosses.


Using a text editor that won't add any unwanted control characters, add the following text using UTF-8 encoding:
If your Pi is headless, then use your other computer to create a new file in the boot partition of your micro-SD card, and store it in the boot directory on your micro-SD card under the name '''wpa_supplicant.conf'''. Again if you are using Windows you can create it as a text file and then replace the '''.txt''' extension with a ''.conf'' extension,
 
Ensuring you are using a text editor that won't add any unwanted control characters, add the following text using UTF-8 encoding:
<pre>ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
<pre>ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
update_config=1
Line 218: Line 220:


*Obviously, if you are not in United Kingdom, you will replace '''GB''' by the country code that applies to you.
*Obviously, if you are not in United Kingdom, you will replace '''GB''' by the country code that applies to you.
*Within the first set of quotes, replace '''YourNetwork''' by whatever ''Service Set IDentifier'' is used for your wireless network.  You may have typed this into your mobile phone. It may be shown on a card that slips into a slot on your hub or router. Whatever it is, and it can be up to 32 characters (letters, numbers, and symbols), type it within the double quotes. Some routers come with a default SSID that is the manufacturer's name, and leave it to you to pick a SSID that is unique to you using up to 32 characters to personalise it.
*Within the first set of quotes, replace '''YourNetwork''' by whatever ''Service Set IDentifier'' is used for your wireless network.  You may have typed this into your mobile phone. It may be shown on a card that slips into a slot on your hub or router, but you may have changed it from that initial setting. Whatever it is, and it can be up to 32 characters (letters, numbers, and symbols), type it within the double quotes. Some routers come with a default SSID that is the manufacturer's name, if left unchanged it might conflict with a neighbour, so it is left to you to pick a SSID that is unique to you using up to 32 characters to personalise it.  
*Within the next set of quotes, which relate to the replace '''YourNetworkPassword''' by whatever Pre-Shared-Key (password) is used for your wireless network. You may have typed this into your mobile phone. Hopefully, you have changed it from whatever was shown as the initial password on the card that slips into a slot on your hub or router (even if all you have done is add a prefix or suffix that means something to you).
*Within the next set of quotes, which relate to the key (or password) that protects access to your network, replace '''YourNetworkPassword''' by whatever Pre-Shared-Key (password) is used for your wireless network. You will have typed this into your mobile phone, so that can automatically connect to your network. In this case, you should have changed it (for security reasons) from whatever was shown as the initial password on the card that slips into a slot on your hub or router (possibly all you have done is add a prefix or suffix that means something to you).
*Most wireless networks will use Wi-Fi Protected Access (WPA) or (from 2006) Wi-Fi Protected Access II (WPA2) protocols, so '''WPA-PSK''' is correct for you. Note that your Pi is only able to use these protocols. The earlier Wired Equivalent Privacy (WEP) was officially withdrawn in 2004 as too easy to crack, so it is not supported on a new Pi.
*Most wireless networks will use Wi-Fi Protected Access (WPA) or (from 2006) Wi-Fi Protected Access II (WPA2) protocols, so '''WPA-PSK''' is correct for you. Note that your Pi is only able to use these protocols. The earlier Wired Equivalent Privacy (WEP) was officially withdrawn in 2004 as too easy to crack, so it is not supported on a new Pi.


Should you wish to set up your Pi with several network definitions, please see [https://cumulus.hosiene.co.uk/viewtopic.php?p=139422#p139422 Notes by ExperiMentor] (a contributor to the Cumulus support forum in Switzerland). If you are using your Pi headless from a Windows PC and making use of '''PuTTY''' on your PC to see the terminal screen you would see on your Pi by using SSH, I again refer you to those notes for more details.
Should you wish to set up your Pi with several network definitions, please see [https://cumulus.hosiene.co.uk/viewtopic.php?p=139422#p139422 Notes by ExperiMentor] (a contributor to the Cumulus support forum in Switzerland). If you are using your Pi headless from a Windows PC and making use of '''PuTTY''' on your PC to see the terminal screen you would see on your Pi by using SSH, I again refer you to those notes for more details, although those notes are written assuming you have bought an empty micro-SD card, you selected a particular version of the Raspberry Operating System to download and that you are installing onto a Zero W model.


=== Other configuration ===
=== Other configuration ===
5,838

edits