# 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](/klipper-installation-for-anycubic-vyper/setting-up-your-raspberry-pi/finding-your-ip-address.md) 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](/files/FfGWZwoVUVedYHJ3Yvgk)

* 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](/files/pYHS9CDWau4fs03wYwpQ)

* 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](/klipper-installation-for-anycubic-vyper/klipper-firmware.md) section.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://sean-dearing.gitbook.io/klipper-installation-for-anycubic-vyper/setting-up-your-raspberry-pi/configuring-wifi-settings.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
