Thunderbolt: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
* A '''MacBook Pro 2016 » MacOS » Monterey''' connected with '''ThinkPad L14 Gen3 » Ubuntu » Jammy''' using '''Thunderbolt 4''', it's called '''Thunderbolt Net''' | * A '''MacBook Pro 2016 » MacOS » Monterey''' connected with '''ThinkPad L14 Gen3 » Ubuntu » Jammy''' using '''Thunderbolt 4''', it's called '''Thunderbolt Net''' | ||
* '''Thunderbolt Net''' create <code> bridge0</code>, <code>thunderbolt0</code> network interfaces as respectively for '''MacOS''' and '''Ubuntu''' | * '''Thunderbolt Net''' create <code> bridge0</code>, <code>thunderbolt0</code> network interfaces as respectively for '''MacOS''' and '''Ubuntu''' | ||
* '''Resolve MacOS IP''' from Ubuntu: <code>arp -a - | * '''Resolve MacOS IP''' from Ubuntu: <code>arp -a -i thunderbolt0</code> | ||
* '''Resolve Ubuntu IP''' from MacOS: <code>arp -a - | * '''Resolve Ubuntu IP''' from MacOS: <code>arp -a -i bridge0</code> | ||
{| | {| | ||
Line 8: | Line 8: | ||
modprobe thunderbolt-net | modprobe thunderbolt-net | ||
lspci | grep -i thunder | lspci | grep -i thunder | ||
lspci | grep - | lspci | grep -i usb | ||
| valign="top" | | | valign="top" | |
Revision as of 06:06, 29 November 2023
- A MacBook Pro 2016 » MacOS » Monterey connected with ThinkPad L14 Gen3 » Ubuntu » Jammy using Thunderbolt 4, it's called Thunderbolt Net
- Thunderbolt Net create
bridge0
,thunderbolt0
network interfaces as respectively for MacOS and Ubuntu - Resolve MacOS IP from Ubuntu:
arp -a -i thunderbolt0
- Resolve Ubuntu IP from MacOS:
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 |
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
| ||