
We are using the Raspberry Pi 5 in our Continuous Integration and Continuous Delivery setup as a Jenkins Agent.
In one of our automated functional test cases, we need to connect and disconnect the Ethernet connection on the Itirub device to verify that it can store unsent data in its non-volatile memory with the correct timestamps and order.
For that reason, we use the TP-Link USB to Ethernet adapter UE306. However, we want to use the adapter in reverse. Instead of providing internet to the device connected to USB, we want the internet to be shared from USB to Ethernet and then to Itirub. This setup will allow us to...
sudo nmcli connection add type bridge con-name 'Bridge' ifname bridge0
sudo nmcli connection add type ethernet slave-type bridge con-name 'Ethernet' ifname eth0 master bridge0
sudo nmcli connection modify 'Hotspot' master bridge0
sudo nmcli connection up Bridge
sudo ip link set eth1 up
sudo brctl addif bridge0 eth1
Hulda Lindgrens Gata 8
42131 Västra Frölunda
Sweden
contact@zessab.se
Org.nr: 559180-9768

© 2018 - 2025 zessab.se
