# Network Troubleshooting - Internet Sharing

There will be times when troubleshooting requires you to eliminate the core network as a source of problems. This guide will walk you through how to create a mini test-network using items you should have around the workplace.

## Initial Setup

{% stepper %}
{% step %}
**Set up your mobile hotspot so that your computer can connect to it. (Not covered in this guide, please refer to your owner’s manual for the specific device.)**
{% endstep %}

{% step %}
**Connect your computer to the hotspot.**
{% endstep %}

{% step %}
**Plug in the PoE injector and run one of the patch cables from the IN port to your computer. (We will wait to plug in the camera for now.)**
{% endstep %}
{% endstepper %}

|                                     |               |
| ----------------------------------- | ------------- |
| Item                                | Number Needed |
| Mobile Hotspot                      | 1             |
| Laptop                              | 1             |
| PoE Injector                        | 1             |
| Short Patch Cable                   | 4             |
| Wireshark - Packet Capture software | 1             |

## Setup for Apple Users 

{% stepper %}
{% step %}
**Select the apple icon () in the top left of your screen.**

<div align="left" data-with-frame="true"><img src="https://1795869993-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FylYKicREo6JpuOJH4teK%2Fuploads%2Fgit-blob-77cb61fc2c4d096cc8d2d75589f0083cadfddf68%2F941cdd7917951499a41583f9ea48093975595c89.png?alt=media" alt="" width="122"></div>
{% endstep %}

{% step %}
**Select System Settings.**
{% endstep %}

{% step %}
**In the search bar type sharing and select Sharing.**

<div align="left" data-with-frame="true"><img src="https://1795869993-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FylYKicREo6JpuOJH4teK%2Fuploads%2Fgit-blob-b1959234ac6a1fb99b7bccd718de5be4005ad2b0%2F170585214958cc18fe971da1357ffea1a62aa11e.png?alt=media" alt="" width="107"></div>
{% endstep %}

{% step %}
**Select the info icon near Internet Sharing.**

<div align="left" data-with-frame="true"><img src="https://1795869993-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FylYKicREo6JpuOJH4teK%2Fuploads%2Fgit-blob-21d4d2ed89ff749a8ac0bc7cbafaf686ffe65fcd%2Fabf9947ef02dd74f07f3f0a32b5d93822f67609f.png?alt=media" alt="" width="241"></div>
{% endstep %}

{% step %}
**You will then need to share your connection from the interface connected to the mobile hotspot to the interface that is attached to the PoE injector’s&#x20;*****IN*****&#x20;port. In my setup, I am connected to the hotspot via WiFi, and my PoE injector is connected to my USB Ethernet Adaptor (which is plugged into my Mac’s USB-C port). In this setup, I selected to share from WiFi and to USB 10/100/1000 LAN. (Your settings may vary based on your setup).**

<div align="left" data-with-frame="true"><img src="https://1795869993-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FylYKicREo6JpuOJH4teK%2Fuploads%2Fgit-blob-da075addea7300db7b270cc54b141b8262dc723c%2F9141330460d336968d231e5c06eb7859cf905507.png?alt=media" alt="" width="239"></div>
{% endstep %}

{% step %}
**Once your interfaces are selected you will need to toggle Internet Sharing. This will prompt you to start the sharing service. Select Start on this prompt.**

<div align="left" data-with-frame="true"><img src="https://1795869993-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FylYKicREo6JpuOJH4teK%2Fuploads%2Fgit-blob-aa87b9dafc9361fa679493381fd65a473fc77a8b%2F43c15b905329bbfe130b31b50d4100820cdf560f.png?alt=media" alt="" width="240"></div>

<div align="left" data-with-frame="true"><img src="https://1795869993-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FylYKicREo6JpuOJH4teK%2Fuploads%2Fgit-blob-c983f122f935543d237ed13e55e083ee8e7785e1%2F1f974ae4b12c3b162db645e653414dd19429d5b2.png?alt=media" alt="" width="210"></div>
{% endstep %}

{% step %}
**You should now see Internet Sharing:&#x20;*****On*****. We are ready for the packet capture step.**

<div align="left" data-with-frame="true"><img src="https://1795869993-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FylYKicREo6JpuOJH4teK%2Fuploads%2Fgit-blob-17a724396656ee874564afc17615d0487375a5ef%2Fdcc5bbd19703edcfbc15cb3db0f63fe07b1ea2a5.png?alt=media" alt="" width="237"></div>
{% endstep %}
{% endstepper %}

## Setup for Windows ⊞

{% stepper %}
{% step %}
**Press the Windows key ⊞ or click in your search bar and type "control" Then select Control Panel.**

<div align="left" data-with-frame="true"><img src="https://1795869993-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FylYKicREo6JpuOJH4teK%2Fuploads%2Fgit-blob-cb86535fa5209de03e3e2352934093e4ccf89741%2Fbc76120e4f1caf37df5b63e623a050e488389899.png?alt=media" alt="" width="310"></div>
{% endstep %}

{% step %}
**Select Network and Internet.**

<div align="left" data-with-frame="true"><img src="https://1795869993-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FylYKicREo6JpuOJH4teK%2Fuploads%2Fgit-blob-aef2cce0ed4c5511520648943c7a4ff053bcd226%2Fbfe89d69148634e38fa4b186fb866f579cf6b524.png?alt=media" alt="" width="251"></div>
{% endstep %}

{% step %}
**Select Network and Sharing Center.**

<div align="left" data-with-frame="true"><img src="https://1795869993-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FylYKicREo6JpuOJH4teK%2Fuploads%2Fgit-blob-9985ea8a9c361a078dc5e456ce9fc2499fed9e11%2Fd03a0785ff74c293dea866552bb98311217996b7.png?alt=media" alt="" width="661"></div>
{% endstep %}

{% step %}
**Select Change adapter settings.**

<div align="left" data-with-frame="true"><img src="https://1795869993-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FylYKicREo6JpuOJH4teK%2Fuploads%2Fgit-blob-9b7745347c9a1ec5919551e156f694102bf82a77%2Ffb0dbfdca41afb63c6ddaaafc8ed181a3b6053a5.png?alt=media" alt="" width="609"></div>
{% endstep %}

{% step %}
**Find the interface that is connected to the hotspot. Right-click it and select properties. In my setup, I have connected to my hotspot via WiFi.**

<div align="left" data-with-frame="true"><img src="https://1795869993-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FylYKicREo6JpuOJH4teK%2Fuploads%2Fgit-blob-aaadf054e6ea944aaea1a984d55bd00299ba4c27%2F25343e181a75c8269c02906f8ee988cd369506ce.png?alt=media" alt="" width="835"></div>
{% endstep %}

{% step %}
**Select the Sharing tab and check the box next to Allow other network users to connect.**

<div align="left" data-with-frame="true"><img src="https://1795869993-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FylYKicREo6JpuOJH4teK%2Fuploads%2Fgit-blob-4b95c2f3f0cb6f11fd51dac1a68aef07d1f2e540%2F74ae7c7863ff51feec5c97a9130baaa1fac33b0c.png?alt=media" alt="" width="177"></div>
{% endstep %}

{% step %}
**Select the interface you wish to share the connection with. This will be the port of the PoE injector’s IN cable. In my case, it is Ethernet. Once the interface is selected click OK and you should be good to go.**

<div align="left" data-with-frame="true"><img src="https://1795869993-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FylYKicREo6JpuOJH4teK%2Fuploads%2Fgit-blob-4510cff128c8170bf82489a6849492db7315fb83%2Fe4dd12b70566b70e225a7d2fa9d4e0668c2d0f9c.png?alt=media" alt="" width="178"></div>
{% endstep %}
{% endstepper %}

## Packet Captures - Wireshark

Verkada Support’s tool of choice for getting packet captures is [Wireshark](https://www.wireshark.org/). Wireshark is an open-source packet capture/analyzer program. We will be using it to create a .pcap file that can be sent to the Verkada Support team.

{% stepper %}
{% step %}
**Download and Install** [**Wireshark**](https://www.wireshark.org/)**.**
{% endstep %}

{% step %}
**Open up Wireshark and select the interface that your PoE injector is connected to. In my setup, `USB 10/100/1000 LAN: en12` is where my Poe injector’s IN cable is connected. This will allow us to capture and see the traffic passing to and from the camera.**

<div align="left" data-with-frame="true"><img src="https://1795869993-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FylYKicREo6JpuOJH4teK%2Fuploads%2Fgit-blob-6ecf3e5bef98b4a995dae323321f3b5b6812163a%2F5af3b245ccc874c50c43f534855366e30936bd69.png?alt=media" alt="" width="1023"></div>
{% endstep %}

{% step %}
**When you are ready select the shark fin. This will start the packet capture.**

<div align="left" data-with-frame="true"><img src="https://1795869993-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FylYKicREo6JpuOJH4teK%2Fuploads%2Fgit-blob-7babae17bfa5204b1a247cdb16776b0cff1c1713%2Fe3279b0df7745ebcf2c54ad020ae18e0c9bd85f6.png?alt=media" alt="" width="78"></div>
{% endstep %}

{% step %}
**Plug in the camera to the OUT port of your PoE injector. Only&#x20;*****after*****&#x20;you start the packet capture plug in the camera. You will see the packets start to flow. (This could take a few moments as the camera needs to go through the boot process.)**

<div align="left" data-with-frame="true"><img src="https://1795869993-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FylYKicREo6JpuOJH4teK%2Fuploads%2Fgit-blob-ccfc6a1fd181407fc9d8751d5a499129b84219f2%2Fec47bbeb7d5d7cfebee836922482c1e540c35f89.png?alt=media" alt="" width="743"></div>
{% endstep %}

{% step %}
**Wait five minutes or until the** [**camera’s LED status light**](https://help.verkada.com/verkada-cameras/installation/camera-led-status-indicators) **turns solid blue and select the stop button (red square).**
{% endstep %}

{% step %}
**Save the file and send it to your friendly Verkada Support Agent!**
{% endstep %}
{% endstepper %}

{% hint style="warning" %}
If your camera was not connecting on your core network but successfully connected to Command using your mobile setup, this tells us that the issue lies somewhere on the core network.
{% endhint %}
