2024-12-17 14:40:01 +08:00

19 lines
322 B
Bash
Executable File
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#!/bin/bash
# +++++++++++++++++++++++++++++++++++++++
echo sudo apt update
sudo apt update
echo sudo apt install -y ibverbs-utils infiniband-diags
sudo apt install -y ibverbs-utils infiniband-diag net-tools
echo sudo /etc/init.d/openibd restart
sudo /etc/init.d/openibd restart
ofed_info -s
ibdev2netdev
ip a