# Mount Mesh Gateway (Gen 2)

After a successful [Device Registration](https://docs.dryad.app/dryad-documentation/silvanet-deployment/deploy-mg/register-mesh-gateway), the Mesh Gateway can be permanently mounted to the tree or pole. The Deployment app provided guidelines for mounting the Mesh Gateway.

<figure><img src="https://2403147378-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKqvtUjx9C2FEFg7nicAx%2Fuploads%2FU4DVonn8EDWSNZPK9YP3%2Fmg-mount-mesh-gateway.png?alt=media&#x26;token=6671fb39-70d5-4db1-a65d-a81c3d36a5e6" alt="" width="180"><figcaption><p>Mount Mesh Gateway</p></figcaption></figure>

## Attach Mesh Gateways to poles

{% hint style="info" %}
To attach Mesh Gateways to a metal or wood pole, the maximum dimension of the pole must be 60 mm (2.3 inch). U-Clamps are provided to attach the Mesh Gateway to the pole.
{% endhint %}

1. Loosely attach the U-Clamps to the Mesh Gateway, then slide the Mesh Gateway onto the pole from the top, if possible.

<figure><img src="https://2403147378-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKqvtUjx9C2FEFg7nicAx%2Fuploads%2F5FJyNDUwFlKN0558L8Tx%2Fmg-use-clamp-on-pole.jpg?alt=media&#x26;token=e2118b6a-cf24-44a4-8a63-38977725aa18" alt="" width="375"><figcaption><p>U-Clamp on pole</p></figcaption></figure>

2. Ensure the Gateway is oriented properly (facing the sun at 12:00 noon) with the antenna connector facing upwards. You may need assistance holding the Mesh Gateway.

<figure><img src="https://2403147378-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKqvtUjx9C2FEFg7nicAx%2Fuploads%2FRGTO4uWkGpZpCfa4s6dM%2Fmg-clamp-on-pole.jpg?alt=media&#x26;token=490d16d7-4eeb-471d-a038-ad8baa851482" alt="" width="375"><figcaption><p>Mounted to pole</p></figcaption></figure>

{% hint style="info" %}
**Maximizing radio transmissions**

Ensure the pole is not interfering with radio transmission. If a metal pole is used, ensure the top of the Mesh Gateway is level with the top of the pole to allow the antenna to free from interference from the metal.
{% endhint %}

3. Hand-tighten the nuts on the U-clamps, then use the 17 mm wrench to tighten the nuts. **Do not use excessive force** to prevent damage to the Border Gateway. Ensure the Mesh Gateway is securely connected to the pole and cannot move.
4. Attach the LoRaWAN antenna to the Mesh Gateway.

<figure><img src="https://2403147378-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKqvtUjx9C2FEFg7nicAx%2Fuploads%2FPH5ihnGa8qUyPWgEumNW%2Fmg-deployed-on-pole.jpg?alt=media&#x26;token=3b5b9108-84af-4e04-ba5c-52bc505fa93c" alt="" width="375"><figcaption><p>Mesh Gateway mounted on pole</p></figcaption></figure>

## Attach Mesh Gateways to trees

If the Mesh Gateway is to be attached to a tree, ensure the tree is stable and unlikely to be cut.

1. Once a tree has been selected, use a safety strap to hold the ladder to the tree. Then with an assistant stabilizing the ladder at the bottom, locate a position on the tree that is approximately 3 m above forest floor and facing the sun (at 12:00 noon).
2. Remove any branches that might interfere with maximum sunlight irradiation.
3. If required, carefully remove a small portion of the bark with an axe where the holes for the treenails will be drilled. This allows the Mesh Gateway to hang vertically on the tree.

<figure><img src="https://2403147378-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKqvtUjx9C2FEFg7nicAx%2Fuploads%2FSUwfnF9cA7i9L8qxfbD3%2Fmg-clear-bark.jpg?alt=media&#x26;token=6cbe3b85-a41e-47f6-88ff-b696898fa1ff" alt="" width="375"><figcaption><p>Clear a small area of bark</p></figcaption></figure>

4. Drill the top holes using the 10mm drill bit approximately 6–7 cm into the tree. The distance between the holes must be 70 mm.

{% file src="<https://2403147378-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKqvtUjx9C2FEFg7nicAx%2Fuploads%2FmcTbUQ4RNyl9089xzofG%2FMounting-brackets-spacing.pdf?alt=media&token=9019ec43-1f1b-4d76-bc0f-bd0230d6ff33>" %}
Download the mounting bracket PDF file and print it out as a template.
{% endfile %}

{% hint style="info" %}
**Drill a pilot hole**

When drilling into a tree, first drill a pilot hole using a small drill bit (1/4 inch / 6mm) then drill the final hole with the 10mm drill bit. Also, ensure you are using a drill bit for wood. This ensures the wood in the tree does not split.
{% endhint %}

<figure><img src="https://2403147378-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKqvtUjx9C2FEFg7nicAx%2Fuploads%2FvDiNQYEUhbJbREs1Ia4J%2Fbg-drill-holes-spaced-apart.jpg?alt=media&#x26;token=54952a9f-9f55-4ee5-877d-701636e8c34d" alt="" width="375"><figcaption><p>Spacing between holes</p></figcaption></figure>

{% hint style="info" %}
When drilling into a hardwood tree, start with a smaller drill bit then drill to the final size with the 10 mm drill bit. Also, ensure you are using a drill bit for wood, not for steel or concrete.
{% endhint %}

5. Hammer the treenails through the top loops of the Mesh Gateway into the drilled holes. Be careful not to damage the device while doing so. You may need an assistant to support the Mesh Gateway while hammering the treenails into the tree.

<figure><img src="https://2403147378-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKqvtUjx9C2FEFg7nicAx%2Fuploads%2F8r8N1ZdchvurBLshAyI6%2Fmg-attached-with-treenails.jpg?alt=media&#x26;token=b875a4df-7084-4538-9490-bc6a79a545c4" alt="" width="375"><figcaption><p>Mesh Gateway mounted using treenails</p></figcaption></figure>

6. With the Mesh Gateway attached to the tree at the top, drill through the bottom loops of the device approximately 6-7 cm into the tree. Do not damage the Mesh Gateway while drilling through the loops.

{% hint style="info" %}
If you plan on drilling the bottom holes before attaching the Mesh Gateway to the tree, you can use the Mesh Gateway as a template to locate the positions to drill the bottom holes.
{% endhint %}

<figure><img src="https://2403147378-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKqvtUjx9C2FEFg7nicAx%2Fuploads%2FvLB0al134KWF7PNJWatu%2Fmg-drill-bottom-holes.jpg?alt=media&#x26;token=76ab01ee-fdc8-4aa8-98c1-d3de1805a80f" alt="" width="375"><figcaption><p>Carefully drill holes for bottom of Mesh Gateway</p></figcaption></figure>

7. Carefully hammer the treenails through the bottom loops into the holes. Do not damage the device.
8. Attach the LoRaWAN antenna to the Mesh Gateway.

{% hint style="info" %}
To maximize the radio connection of the Mesh Gateway, the antenna should have at least a finger-width distance from the trunk.
{% endhint %}

9. Check to ensure the Mesh Gateway is securely connected to the tree and does not move.

<figure><img src="https://2403147378-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKqvtUjx9C2FEFg7nicAx%2Fuploads%2Fu42mzP2PBIUHbFqn25pr%2Fmg-deployed-on-tree.jpg?alt=media&#x26;token=24b1ffe5-1724-4c7a-89bb-9170143a4ab1" alt="" width="364"><figcaption><p>Mesh Gateway mounted to a tree</p></figcaption></figure>

## Next step

After mounting the Mesh Gateway and allowing it to fully charge, run the Connectivity Test to ensure the Mesh Gateway connects with either the Border Gateway or another Mesh Gateway.

{% hint style="info" %}
**See Also**

For details, see [Mesh Gateway Connectivity Test](https://docs.dryad.app/dryad-documentation/silvanet-deployment/deploy-mg/start-connectivity-test).
{% endhint %}
