# 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;

![](https://3381616767-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LH1ZPQUJrjMM5Ql5c--%2F-LP7rYG3VRVt8RjtijB9%2F-LP7si2-KFOkFrOzJtpy%2Fmachine-access.PNG?alt=media\&token=59095f99-a627-4a5d-9b83-c4c80f150b3b)

![](https://3381616767-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LH1ZPQUJrjMM5Ql5c--%2F-LP7rYG3VRVt8RjtijB9%2F-LP7tD3BXdTyWLRpuMx7%2Fmachine-access-2.PNG?alt=media\&token=90a23e52-f883-490f-b998-6a760b29be9c)

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](#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;

![](https://3381616767-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LH1ZPQUJrjMM5Ql5c--%2F-LP7rYG3VRVt8RjtijB9%2F-LP7ti521l9uMF-IuT0x%2Fip-name.PNG?alt=media\&token=0fbc74bc-a42f-423e-97f4-01a0a39ae0a5)

Continue if the DWC could not connect:

![](https://3381616767-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LH1ZPQUJrjMM5Ql5c--%2F-LP7rYG3VRVt8RjtijB9%2F-LP7twkCPkyjaWux0XMt%2Fip-name-not-found.PNG?alt=media\&token=068abf81-f4db-46d5-ad13-560c2144d3b2)

### 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.](https://3381616767-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LH1ZPQUJrjMM5Ql5c--%2F-LP7rYG3VRVt8RjtijB9%2F-LP7vPZMhftwU9ERZEAh%2FYAT.PNG?alt=media\&token=c7af0df4-4dc7-4df3-b30a-6ae02a40dfe6)

{% hint style="info" %}
If you want have to "Duet 2 Maestro 3D Printer ..." show up, follow the [Installing the Duet Driver](https://promega.printm3d.com/documentation/software-firmware/duet-driver#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](https://promega.printm3d.com/how-to-troubleshoot/broken-reference) 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:

![](https://3381616767-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LH1ZPQUJrjMM5Ql5c--%2F-LP7rYG3VRVt8RjtijB9%2F-LP7si2-KFOkFrOzJtpy%2Fmachine-access.PNG?alt=media\&token=59095f99-a627-4a5d-9b83-c4c80f150b3b)

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.
