Thunderbolt: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 37: | Line 37: | ||
==Netplan== | ==Netplan== | ||
< | <syntaxhighlight lang="bash"> | ||
sudo tee /etc/netplan/30-ethernet-thunderbolt.yaml >/dev/null <<EOF | sudo tee /etc/netplan/30-ethernet-thunderbolt.yaml >/dev/null <<EOF | ||
network: | network: | ||
Line 52: | Line 52: | ||
sudo apt install openvswitch-switch-dpdk | sudo apt install openvswitch-switch-dpdk | ||
sudo netplan try && sudo netplan apply | sudo netplan try && sudo netplan apply | ||
</ | </syntaxhighlight> | ||
==Playground== | ==Playground== | ||
< | <syntaxhighlight lang="bash"> | ||
ls -lah /sys/bus/thunderbolt/devices/domain0/iommu_dma_protection | ls -lah /sys/bus/thunderbolt/devices/domain0/iommu_dma_protection | ||
cat /sys/bus/thunderbolt/devices/domain0/iommu_dma_protection | cat /sys/bus/thunderbolt/devices/domain0/iommu_dma_protection | ||
Line 76: | Line 76: | ||
boltctl list -a | boltctl list -a | ||
lspci -v | lspci -v | ||
</ | </syntaxhighlight> | ||
==References== | ==References== |
Latest revision as of 22:38, 18 May 2024
| |
| |
Ubuntu » Self IP: ifconfig -v thunderbolt0|grep inet Ubuntu » Peer IP: arp -a -i thunderbolt0 |
MacOS » Self IP: ifconfig -v bridge0|grep inet MacOS » Peer IP: arp -a -i bridge0 |
modprobe thunderbolt-net lspci | grep -i thunder lspci | grep -i usb |
ifconfig -v thunderbolt0| grep inet ifconfig -v bridge0 | grep inet ifconfig -v |
arp -a -i thunderbolt0 arp -a -i bridge0 arp -a |
Netplan
sudo tee /etc/netplan/30-ethernet-thunderbolt.yaml >/dev/null <<EOF
network:
version: 2
ethernets:
thunderbolt0:
link-local: [ ipv4 ]
EOF
sudo chmod 600 /etc/netplan/*.yaml
sudo netplan try
sudo apt install linux-modules-extra-raspi
sudo apt install openvswitch-switch-dpdk
sudo netplan try && sudo netplan apply
Playground
ls -lah /sys/bus/thunderbolt/devices/domain0/iommu_dma_protection
cat /sys/bus/thunderbolt/devices/domain0/iommu_dma_protection
cat /sys/bus/thunderbolt/devices/0-0/usb4_port1/link
ls -lah /sys/bus/thunderbolt/devices/0-0/usb4_port*
ls -lah /sys/bus/thunderbolt/devices/domain0/security
cat /sys/bus/thunderbolt/devices/domain0/security
ls -lah /sys/bus/thunderbolt/devices/0-1/
ls -lah /sys/bus/thunderbolt/devices/
cat /etc/udev/rules.d/99-local.rules
ls -lah /etc/udev/rules.d/
lspci | grep -i thunder
lspci | grep -i usb
lsmod | grep thund
boltctl list -a
lspci -v
References
| ||