---
title: "meshtastic-rak3312-ethernet : Enabling Ethernet and PoE on Meshtastic RAK3312 with WIZnet W5100S"
url: "https://maker.wiznet.io/lawrence/projects/meshtastic-rak3312-ethernet/"
markdown_url: "https://maker.wiznet.io/lawrence/projects/meshtastic-rak3312-ethernet/md"
type: "UCC: User Created Content"
author: "jeremybirk"
author_url: "https://github.com/jyxbk/meshtastic-rak3312-ethernet"
editor: "WIZnet"
editor_url: "https://maker.wiznet.io/"
original_author: "jeremybirk"
original_url: "https://github.com/jyxbk/meshtastic-rak3312-ethernet"
published: "2026-11-09"
updated: "2026-11-10"
language: "en"
tags: ["LoRa", "PoE", "ESP32-S3", "Ethernet", "w5100s"]
likes: 0
views: 177
comments: 0
source: "WIZnet Makers (https://maker.wiznet.io/)"
---

# meshtastic-rak3312-ethernet : Enabling Ethernet and PoE on Meshtastic RAK3312 with WIZnet W5100S

> The developer has submitted Pull Request #12232 to the official Meshtastic firmware repository, proposing Ethernet and PoE support for the RAK3312 platform.

Original author: jeremybirk (source: https://github.com/jyxbk/meshtastic-rak3312-ethernet)

## Documents and links

- [W5100S library](https://github.com/RAKWireless/RAK13800-W5100S)

## Article

## Project Overview

Meshtastic is an open-source communication platform that uses LoRa technology to build long-range wireless mesh networks without relying on cellular networks or internet infrastructure.

While Meshtastic primarily focuses on wireless communication, Ethernet connectivity is useful for fixed gateways, remote monitoring, and integration with existing local networks.

![](https://maker.wiznet.io/upload/ckeditor5/28540693be3e4852a1408e314340a517.jpg)

This project, developed by GitHub user **jyxbk**, adds Ethernet and Power over Ethernet (PoE) support to the RAKwireless RAK3312 Meshtastic platform using the **WIZnet W5100S Ethernet controller**.

Although the RAK3312 can be combined with the RAK13800 Ethernet module, the standard Meshtastic firmware did not originally provide Ethernet support for this board configuration.

The developer resolved this limitation through firmware modifications, separate SPI initialization, and fixes for simultaneous Wi-Fi and Ethernet operation.

![](https://maker.wiznet.io/upload/ckeditor5/fea3cdf846b44cdba4159113c0ce3b28.jpg)

**Importantly, the work goes beyond a standalone community patch. The developer submitted the implementation to the official Meshtastic firmware repository as Pull Request #12232, contributing the changes for review and potential upstream integration.Original Project:** <https://github.com/jyxbk/meshtastic-rak3312-ethernet>

**Official Meshtastic Pull Request:** <https://github.com/meshtastic/firmware/pull/12232>

## Hardware Configuration

The project uses RAKwireless's modular WisBlock platform, allowing different communication and power modules to be combined on a common baseboard.

| Component | Hardware | Function |
| --- | --- | --- |
| Main Controller | RAK3312 (ESP32-S3) | Runs Meshtastic firmware |
| LoRa Transceiver | Semtech SX1262 | Long-range wireless mesh communication |
| Ethernet Module | RAK13800 (WIZnet W5100S-L) | Wired Ethernet connectivity |
| Power Module | RAK19018 | Power over Ethernet |
| Baseboard | RAK5005-O | Module integration and connectivity |

The RAK3312 handles Meshtastic communication and LoRa packet processing, while the W5100S provides a hardware-based TCP/IP Ethernet interface.

The RAK19018 module allows the gateway to receive power through an Ethernet cable, eliminating the need for a separate USB power connection during normal operation.

This makes the configuration particularly useful for fixed gateway installations.

## The Challenge: Ethernet Hardware Without Firmware Support

One of the key challenges addressed by this project was the gap between available hardware and firmware support.

The RAK13800 Ethernet module contains a WIZnet W5100S controller and connects to the RAK3312 through the WisBlock interface.

However, the standard Meshtastic RAK3312 firmware target did not include the required Ethernet pin definitions and initialization configuration.

As a result, enabling Ethernet in the Meshtastic configuration did not activate the interface.

The developer investigated the firmware and identified several issues preventing Ethernet operation.

### 1. Resolving the SPI Interface Conflict

Both the SX1262 LoRa transceiver and the W5100S Ethernet controller communicate with the ESP32-S3 through SPI, but they use different GPIO pins.

The Meshtastic firmware initializes the LoRa SPI interface during startup. Reusing the same global SPI instance for the W5100S caused initialization problems because the existing SPI configuration was not reassigned to the Ethernet pins.

The developer solved this by creating a dedicated HSPI instance for Ethernet communication.

```plaintext
#ifdef RAK3312_ETH_GW
SPIClass EthSPI(HSPI);
#endif
```

This allows the LoRa transceiver and W5100S Ethernet controller to operate through separate SPI interfaces.

### 2. Adding Ethernet Firmware Support

The developer added the required Ethernet pin definitions and enabled the RAK13800-W5100S library.

A dedicated firmware build environment, `rak3312_eth_gw`, was also introduced.

This separates the Ethernet-enabled configuration from the standard RAK3312 firmware target, preserving the existing board configuration.

### 3. Supporting Simultaneous Wi-Fi and Ethernet

Another challenge was operating Wi-Fi and Ethernet together on the ESP32-S3.

During testing, the developer found that the two interfaces were using the same MAC address, causing Ethernet communication problems even after DHCP successfully assigned an IP address.

The implementation was updated to use a dedicated Ethernet MAC address.

Additional changes resolved conflicting network-related symbols between the Wi-Fi and Ethernet implementations.

These modifications allowed both interfaces to operate simultaneously.

## Why WIZnet W5100S?

The **WIZnet W5100S-L**, integrated into the RAK13800 module, provides the wired Ethernet interface for this project.

Unlike a conventional Ethernet PHY that requires the host MCU to implement a complete software TCP/IP stack, the W5100S integrates Ethernet MAC/PHY functionality with a hardwired TCP/IP engine.

Key features include:

- Integrated 10/100 Mbps Ethernet MAC and PHY

- Hardware TCP/IP protocol processing

- Four independent hardware sockets

- 16 KB internal TX/RX buffer memory

- SPI interface for MCU communication

In this design, the ESP32-S3 remains responsible for Meshtastic processing, LoRa communication, and application functions.

The W5100S handles supported TCP/IP networking functions through its dedicated hardware engine.

This makes the W5100S a practical solution for adding Ethernet connectivity to embedded wireless communication systems.

[![](https://maker.wiznet.io/upload/ckeditor5/5e5a691ea6ec4b4db328072e1c6b53b0.png)](https://store.rakwireless.com/products/wismesh-ethernet-gateway?utm_source=chatgpt.com&variant=44413995516102)

## Implementation and Test Results

The developer released the Ethernet-enabled Meshtastic firmware patch, documentation, and prebuilt firmware images.

The project uses a patch set identified as `v2.0.0`, based on Meshtastic firmware `2.8.2.326ccb2`.

Hardware testing was performed using the RAK3312, RAK13800, RAK19018, and RAK5005-O.

| Test Item | Result |
| --- | --- |
| Ethernet initialization and link detection | Passed |
| DHCP IP address assignment | Passed |
| Ethernet ping test | 180/180 responses |
| Meshtastic TCP API on port 4403 | Passed |
| LoRa transmission and reception | Passed |
| NTP synchronization | Passed |
| Syslog over Ethernet | Passed |
| Simultaneous Wi-Fi and Ethernet | Passed |
| Operation powered only by PoE | Passed |

The successful PoE-only test confirms that the gateway can operate without a separate USB power supply.

Simultaneous Wi-Fi and Ethernet operation was also verified on the ESP32-S3 platform.

These results demonstrate that W5100S Ethernet connectivity can be integrated into the RAK3312 Meshtastic platform through targeted firmware changes.

The reported tests confirm basic functionality on one hardware configuration; long-term uptime and large-scale deployment have not yet been validated.

## Contributing to the Official Meshtastic Project

**One of the most notable aspects of this project is the developer's contribution to the wider Meshtastic open-source ecosystem.**

After implementing and testing Ethernet and PoE support, **jyxbk submitted Pull Request #12232 to the official **`**meshtastic/firmware**`** repository on October 24, 2026.Pull Request: Add rak3312_eth_gw: Ethernet/PoE support for RAK3312 + RAK13800**

<https://github.com/meshtastic/firmware/pull/12232>

The proposed changes include:

A new `rak3312_eth_gw` firmware build target

Ethernet pin definitions for the RAK13800 W5100S module

A dedicated HSPI instance for Ethernet

Separate Ethernet and Wi-Fi MAC address handling

Fixes for overlapping network API and logging symbols

Compatibility with existing Ethernet-enabled Meshtastic board configurations

The submission also includes hardware test results and local build verification across multiple board targets.

**This is significant because the developer is not only demonstrating a working hardware configuration but also contributing reusable firmware improvements to the official Meshtastic development process.**

The contribution could help make Ethernet support available to a broader group of RAK3312 users if it is accepted and merged upstream.

As of November 10, 2026, Pull Request #12232 remains open and has not been merged. The implementation is therefore still an unofficial community patch rather than an officially supported Meshtastic firmware feature.

## Potential Applications

Although the project focuses on enabling Ethernet functionality, the resulting configuration offers several practical application possibilities.

![](https://maker.wiznet.io/upload/ckeditor5/6bced5e7ddbf40be96acff334eb99580.jpg)

## Limitations and Development Status

The project remains an unofficial firmware modification pending upstream review.

Several known issues are documented, including static IP initialization problems and occasional configuration update failures over the TCP API when the NodeDB becomes large.

For static IP requirements, the developer recommends using DHCP with router-side address reservation.

Developers should review the original documentation, firmware version, and known limitations before deployment.

## Conclusion

This project demonstrates how the **WIZnet W5100S** can extend an ESP32-S3-based LoRa mesh platform with wired Ethernet and PoE connectivity.

By resolving SPI initialization conflicts, enabling Ethernet firmware components, and supporting simultaneous Wi-Fi and Ethernet operation, the developer successfully implemented a feature previously unavailable in the standard RAK3312 Meshtastic configuration.

Beyond the technical achievement, **the submission of Pull Request #12232 to the official Meshtastic firmware repository highlights the project's contribution to the open-source community.**

Rather than remaining an isolated hardware experiment, the implementation is being proposed for integration into the broader Meshtastic ecosystem.

For WIZnet, the project illustrates how hardwired TCP/IP Ethernet controllers can complement long-range wireless technologies and how community-driven development can expand the usability of existing Ethernet hardware.

It is a practical example of **WIZnet Ethernet technology supporting open-source innovation and interoperability across embedded communication platforms.**

---

Source: https://maker.wiznet.io/lawrence/projects/meshtastic-rak3312-ethernet/
