# Configuring WiFi Settings

This section explains the process of configuring your Raspberry Pi to connect to your wireless network. If you are using a hardwired connection on your Raspberry Pi, you can continue to the [Finding Your IP Address](https://sean-dearing.gitbook.io/klipper-installation-for-anycubic-vyper/setting-up-your-raspberry-pi/finding-your-ip-address) section.

* Insert the microSD card that you installed the MainsailOS on into your computer;
* Once the microSD card is recognized by your computer you should see a 'boot' drive appear in  file explorer;
* In the root of the 'boot' drive look for a file called <mark style="color:red;">`mainsailos-wpa-supplicant.txt`</mark>;

![mainsailos-wpa-supplicant](https://3358793419-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEUZ4ecqSLgI2D4esAcVS%2Fuploads%2FghbZNzTfvbTjMNv5FVA2%2FUntitled%20picture1.png?alt=media\&token=a6730f07-3ad6-4842-95fc-05e184b23f71)

* Edit the <mark style="color:red;">`mainsailos-wpa-supplicant.txt`</mark>&#x20;

{% hint style="warning" %}
Windows Users:

* Do not use Wordpad for editing this file, it will mangle it and your configuration won't work.  Use a proper text editor instead;
* Recommended:
  * Notepad++, VSCode, Atom, SublimeText.
    {% endhint %}

{% hint style="warning" %}
Mac OSX Users:

* If you use Textedit to edit this file, make sure to use "plain text format" and "disable smart quotes" in "Textedit > Preferences", otherwise TextEdit will use non-compatible characters and your network configuration won't work!
  {% endhint %}

* Edit lines 27 to 30 and remove the <mark style="color:red;">`#`</mark> comments from all 4 lines;

* Enter your SSID (wireless network name) between the quotes on line 28;
  * ssid="<mark style="color:red;">`YourWifiNetworkName`</mark>"

* Enter the password of your wireless network between the quotes on line 29;
  * psk="<mark style="color:red;">`YourWifiPassword`</mark>";

{% hint style="info" %}
Your Wifi SSID and password is case sensitive
{% endhint %}

![WiFi SSID and Password](https://3358793419-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEUZ4ecqSLgI2D4esAcVS%2Fuploads%2F26YVHCTzANicIanr2NRx%2FUntitled%20picture3.png?alt=media\&token=c050128b-8cd5-48ee-866c-2c139d094a9a)

* Ensure you <mark style="color:red;">`SAVE`</mark> the <mark style="color:red;">`mainsailos-wpa-supplicant.txt`</mark> file;
* Close your text editor;
* Eject the microSD card from your computer properly;
* Load the microSD card into your Raspberry Pi;
* Power-on your Raspberry Pi.

{% hint style="warning" %}
Do not connect your Anycubic Vyper 3D printer to the Raspberry Pi at this time, you will do this as the last step in [Klipper Firmware](https://sean-dearing.gitbook.io/klipper-installation-for-anycubic-vyper/klipper-firmware) section.
{% endhint %}
