Serial Communication

Description

A while ago I was able to find a managed Netgear switch. I recently attempted to use it but couldn’t reset the configuration to factory settings without logging in or using the serial console over usb. For reference I am using a Netgear M4100-D12G at home to configure in this post. I will be going over how I was able to connect to the switch over USB.

Setup

The best way I found to connect to serial over usb in linux was to install picocom. To install picocom run the following command.

sudo apt update
sudo apt install picocom

Connection

Now ensure that the device you are connecting to is running and ready for connection. Running the following you can start the serial connection over terminal.

picocom /dev/ttyUSB0

This will initiate the connection.

Summary

From here you can interact with the device as you need. The next post I make will be of configuring the switch for my needs. I mainly care about DHCP and routing.