> For the complete documentation index, see [llms.txt](https://promega.printm3d.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://promega.printm3d.com/how-to-troubleshoot/network-connection.md).

# Network Connection

This a complete troubleshooting procedure used to determine the issue behind any connection issues to Duet Web Control (DWC).

## DHCP  (Default Setting)

### Verify You Have DHCP

Open the "machine\_access.g" file (located under *sys* folder).&#x20;

![](/files/-LP7si2-KFOkFrOzJtpy)

![](/files/-LP7tD3BXdTyWLRpuMx7)

Locate the code: M552

Two things to check:

1. Look for this exact, matching code, with a single line. Dismiss anything after S1.

```
M552 P0.0.0.0 S1
```

&#x20;  2\. Make sure the semicolon (**;**) character is not present before the M552, within the same line.

```
; M552 P0.0.0.0 S1             ; DHCP - IS - enabled.
M552 P0.0.0.0 S1             ;   DHCP - IS NOT - enabled.
```

If any of these two items are not correct, you may be using a [Static IP](/how-to-troubleshoot/network-connection.md#static-ip).

### Verify IP Substitute Name

Open the "machine\_access.g" file (located under *sys* folder).&#x20;

Locate the code: M550.

Your IP substitute name is:

```
M550 P[here]
```

Example:

```
M550 PFrankie
```

Enter the name into your web browser:&#x20;

![](/files/-LP7ti521l9uMF-IuT0x)

Continue if the DWC could not connect:

![](/files/-LP7twkCPkyjaWux0XMt)

### Verify IP Address

#### Follow Duet3D's [Official Getting Connected to Your Duet](https://duet3d.dozuki.com/Guide/1.\)+Getting+Connected+to+your+Duet/7) link.

OR

#### Here is simplified version:

Download [YAT](https://sourceforge.net/projects/y-a-terminal/).

Connect the Duet Maestro (your board) to your computer using the USB connection.

Open YAT.

Pick the correct COM# port. Click "Okay"

![If you don't have the "Duet 2 Maestro 3D printer .. " label show up, it's not too important.](/files/-LP7vPZMhftwU9ERZEAh)

{% hint style="info" %}
If you want have to "Duet 2 Maestro 3D Printer ..." show up, follow the [Installing the Duet Driver](/documentation/software-firmware/duet-driver.md#how-to-install) guide.
{% endhint %}

Enter code (into the bar labeled "Send Text"):

```
M552
```

Possible Response #1:

```
Network is enabled, configured IP address: 0.0.0.0, actual IP address: 192.168.1.##
```

You have a valid IP address. Enter the IP address (e.g. 192.168.1.54) into your web browser.&#x20;

Possible Response #2:

```
Network is disabled, configured IP address: 0.0.0.0, actual IP address: 192.168.1.##
```

Your network settings were disabled (off).&#x20;

Enter:&#x20;

```
M552 S1
```

Re-evaluate response.

Possible Response #3:

```
Network is enabled, configured IP address: 0.0.0.0, actual IP address: 0.0.0.0
```

A 0.0.0.0 IP address means: the Duet (board) did not connect to the internet.

Check your internet connection.&#x20;

If you're sure the Duet (board) has internet connection, move on to the next step.

### Check SD Card&#x20;

Make sure the SD Card is installed into your Duet

{pic}

{% hint style="warning" %}
Do Not install or uninstall the SD Card when the printer is on. You May Burn the SD Card by doing this.
{% endhint %}

Return To YAT.

Enter:

```
M21
```

#### Possible Response #1 & #2:

```
[NOTHING]. Literally nothing.
```

OR

```
No SD car present.
```

Your SD Card is not being read.&#x20;

Make sure the SD Card still works, by verifying you can still see the SD Card's content through your computer.

If you cannot, you need a new SD Card. Refer to [Updating SD Card](broken://pages/-LH1ZbQK2pREbHCZ8zcK) for repopulating your new card.

If you can, we recommend reformatting the SD Card (follow official Duet3D [microSD guidelines](https://duet3d.dozuki.com/Wiki/SD_Card)).

**Possible Response #3 & #4:**

```
SD Card mounted in slot 0, capacity ###.##Mb
```

OR

```
SD Card has open file(s).
```

Your SD Card is being read. Move on to the next step.

### Check SD Card Content

Connect and open the SD Card to your computer.

Make sure your [root folder](https://gopro.com/help/articles/How_To/How-to-Find-the-Root-Level-of-Your-SD-Card) is exactly as shown below:

![](/files/-LP7si2-KFOkFrOzJtpy)

If not, re-organize until exact.

*OR*

*Delete-all* and C*opy-Paste* from [official Promega SD Card Content](https://github.com/PrintM3D/Promega/tree/devel/SD%20Card%20Structure).

Re-install the SD Card into the Duet board. Enter valid IP address or substitute name.&#x20;

## Static IP

Under construction. Coming Soon.
