An M.2 port is a compact slot on a motherboard or mini-PC used to connect high-speed devices like solid-state drives (SSDs), network cards, or graphics cards. These ports can operate using either PCIe or SATA interfaces, with the number of lanes (data paths) determining the speed. More lanes generally mean faster performance. For example, a simple network card may only need one or two lanes, while a powerful graphics card might need four lanes. Some devices, like the Beelink ME Mini, offer multiple M.2 slots with different lane configurations, while others, such as the ASRock B850 Pro-A, may reduce the lane count if another slot is used for SATA. Before installing any device into an M.2 slot, it’s important to consult the motherboard or mini-PC manual to confirm the type of interface (PCIe or SATA), the format the device must fit, and how many lanes are available. Some slots may share resources with other components, so using one M.2 slot might disable another PCIe slot. Additionally, the system must have the correct driver for the M.2 controller chip, and the physical space inside the case must accommodate the device, which might require modifications or allow components to extend outside the case. For high-speed networking, a 5 GbE (gigabit Ethernet) card like the KALEA model uses a Realtek RTL8126 chip and only needs one PCIe 3.0 x1 lane. It works with Linux using the r8169 driver and with FreeBSD using a community-supported driver. A 10 GbE card, such as the REKONG model, uses a Marvell AQC113 chip and can function with PCIe Gen4 x1 or Gen3 x2/x4 lanes. However, it may require a custom driver for use with systems like OPNsense. For AI processing, the LUCKFOX Hailo-8 module delivers 26 TOPS (trillion operations per second) and connects via a PCIe Gen3 x4 interface, supported by software like Frigate. A similar Hailo-8 module on the Raspberry Pi AI HAT+ uses only one PCIe lane. External graphics cards can be connected via an OCuLink adapter, which needs a PCIe x4 slot. Adapters like the RIITOP OCuLink and Minisforum DEG1 dock enable this, but the system must support PCIe 4.0 x4. For unused USB-C ports, a CY Type-E adapter can activate them using PCIe lanes, offering up to 20 Gbit/s. Alternatively, an L-shaped adapter can use a 19-pin USB 3.0 connector to enable USB 3.2 Gen 1 without using an M.2 slot.