Skip to content

Instantly share code, notes, and snippets.

@maynero
Last active November 4, 2023 16:53
Show Gist options
  • Select an option

  • Save maynero/8e1d2ffebe9d32c304eb14039da76ed4 to your computer and use it in GitHub Desktop.

Select an option

Save maynero/8e1d2ffebe9d32c304eb14039da76ed4 to your computer and use it in GitHub Desktop.
Disable bypass on Silicom PE210G2BPI40-T
# Tested on Debian Buster
# Install
apt-get install linux-headers-$(uname -r)
apt-get install build-essential
# Compile bpctl
# Use https://github.com/redBorder/bpctl if you're able to, otherwise download directly from Silicom
curl -O https://www.silicom-usa.com/download/?action=ftp://drivers:[email protected]/drivers/PxGxBP-SD_Linux.zip
unzip PxGxBP-SD_Linux.zip
cd Linux/Bypass/BP_Control
tar -zxvf bp_ctl-5.2.0.42.tar.gz
cd bp_ctl-5.2.0.42
make install
# Disable bypass mode
bpctl_start
bpctl_util all set_bypass off
bpctl_util all set_dis_bypass on
bpctl_util all set_bypass_pwoff off
bpctl_util all set_bypass_pwup off
bpctl_util all set_std_nic on
bpctl_stop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment