ZP596 PCIe to M.2 E Key WiFi7 6 6E 5 PCIe to 2.5G Ethernet Network Port HAT

Introductions

This expansion board adds one M.2 E-KEY interface and one 2.5G network port for Raspberry Pi 5, which can meet your various needs for those who need to use Raspberry Pi 5 as a Router, Gateway, Firewall, Robot, Smart Home, NAS, VOIP, Industrial Equipment, Telecommunications Equipment and other network devices that need more than one network port.

Through the PCIe interface with PCIe Switch chip to expand into two PCIe interfaces, one to achieve the expansion of M.2 E-KEY and the other to achieve the expansion of 2.5Gbps Ethernet through the RTL8125 chip.

The ZP596 is an adapter board with PCIe interface for WiFi7/6/6E/5, allowing Raspberry Pi 5 motherboard to use the latest WIFI7 module. The WIFI7 module can be inserted into the ZP596 adapter board via the M.2 E-KEY interface, which provides an opportunity for a wide range of Raspberry Pi 5 users to be able to use the latest WIFI7.

At present, Ubuntu supports wireless network cards of WIFI7 WIFI6(E) WIFI5, which can be used without installing drivers. The currently supported network cards include BE200, 8265C, AX200, AX210, MT7922. To use the WiFi7/6/6E/5 wireless network cards, the Raspberry Pi OS needs to install a driver, it depends on how familiar you are with the wifi driver and Raspberry Pi OS.

After power on, the Ethernet network port of the board can be automatically recognised as eth1 without installing driver under Raspberry Pi official OS system. When you use ubuntu system, you need to install the RTL8125 driver and then you can use it.

 

 

Hardware Installation

Installation of PCIe FPC Cable

Pay attention to the direction of the cable and connect it as shown in the figure:

 

Installation of ZP596 Adapter Board

 

 

Installation of WIFI Module

 

 

Installation of WIFI Antennas

 

 

How to Use

Ubuntu

The following introduces the use of WIFI under Ubuntu system:

1. Install the latest Ubuntu operating system. You can use Raspberry Pi Imager to select the latest version of Ubuntu to install:

 

2. After installation, use the following command to upgrade to the latest version:

sudo apt-get update

sudo apt-get upgrade

If Ubuntu does not upgrade to the latest version, the WIFI7 WIFI6(E) WIFI5 network card may not be supported. It depends on the situation.

 

3. Check whether the adapter board is connected to the Raspberry Pi 5 motherboard:

Use lspci to check PCIe device:

lspci

The presence of the line indicated by the arrow means that the adapter board HAT hardware is successfully connected.

 

The presence of the line indicated by the arrow means that the WIFI module is successfully connected through the HAT adapter aboard, and the information appears differently for different WiFi7/6/6E/5 modules.

 

The presence of the line indicated by the arrow means that the Ethernet port RTL8125 chip is successfully connected to the Raspberry Pi 5.

Use ifconfig -a command to see that there is no eth1.

ifconfig -a

Use the following command to install:

sudo apt-get update

sudo apt install net-tools

sudo apt-get install --reinstall linux-headers-$(uname -r) linux-headers-generic build-essential dkms -y

sudo apt-get install r8125-dkms

sudo modprobe r8125

ifconfig -a

Then use ifconfig -a command to see the network device:

ifconfig -a

The first arrow points to the Ethernet port device, and the second arrow points to the wifi module device.

 

4. Connect WiFi7/6/6E/5 to wireless router. Please refer to the following figure to connect the wireless router:

 

 

 

 

Raspberry Pi OS

The following is the Raspberry Pi OS version we use, you can also try to use other Raspberry Pi OS version, but it depends on how familiar you are with iwlwifi and Raspberry Pi OS.

First of all, download the following operating system file:

https://downloads.raspberrypi.com/raspios_arm64/images/raspios_arm64-2024-11-19/2024-11-19-raspios-bookworm-arm64.img.xz

 

Use Raspberry Pi Imager to write operating system into Raspberry Pi 5. Use the method “Use custom” as the following picture shows:

 

 

After writing into the TF card, insert the TF card to Raspberry Pi 5, and then power it to run.

 

You can see if the Raspberry Pi OS version you use is the same as bellow:

cat /proc/version

 

Take a look at the MAC address of wlan0, which is currently the MAC address of the Raspberry Pi 5's own wifi. You can write it down, so that you can know later if it is driven up or not.

Note: After finishing the installation of iwlwifi driver, the Raspberry Pi 5's own wifi will can not be used, and you can only use the external wifi module.

ifconfig -a

 

Check whether the adapter board and WIFI module are connected to the Raspberry Pi 5 motherboard:

Use lspci to check PCIe device:

 

The content of the first arrow appears to represent that the HAT adapter board is connected to the Raspberry Pi.

The content of the second arrow appears to represent that the WIFI module is connected to the Raspberry Pi via the HAT adapter board, and the wireless network card we installed is Intel BE200 WIFI7.

The content of the third arrow appears to represent that the RTL8125 Ethernet chip is connected to the Raspberry Pi via the HAT adapter board.

 

Update the system:

sudo apt update

 

Install kernel header file:

sudo apt install raspberrypi-kernel-headers firmware-iwlwifi flex yacc

 

Download backport-iwlwifi, you can try to use the following link to download, but it may can not drive.

https://wireless.docs.kernel.org/en/latest/en/users/drivers/iwlwifi.html

 

We use the following backport-iwlwifi currently:

git clone https://github.com/ZDEdotPlus/iwlwifi.git

After downloading successfully, there is an additional iwlwifi folder:

cd iwlwifi

 

Decompress the file

tar xzvf iwlwifi.tar.gz

cd iwlwifi

 

Compile iwlwifi

sudo make defconfig-iwlwifi-public

sudo sed -i 's/CPTCFG_IWLMVM_VENDOR_CMDS=y/# CPTCFG_IWLMVM_VENDOR_CMDS is not set/' .config

 

sudo make -j4

sudo make install

 

cd /lib/firmware

sudo wget -o - -q https://web.git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/iwlwifi-gl-c0-fm-c0-83.ucode

sudo wget -o - -q https://web.git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/iwlwifi-gl-c0-fm-c0.pnvm

 

Reboot once all of the above have been executed correctly:

sudo reboot

 

After rebooting, use ifconfig -a command to find that the MAC address of wlan0 is different from the MAC address before the iwlwifi driver was installed. The wifi that comes with the Raspberry Pi 5 cannot be used, and the eth1 is 2.5GbE Ethernet port.

 

 

 

Packing List

 

 

 

Support

If you have any question or need technical support, please contact: support@zde.plus.