exo icon indicating copy to clipboard operation
exo copied to clipboard

Question: How to link Ubuntu 24.04 (Kernel: 6.8.0-51-generic) with Apple Silicone machines.

Open codebuster22 opened this issue 10 months ago • 2 comments

Context: I'm trying to link my desktop with my mac machines. Earlier, I tried it with wsl running Ubuntu. When I ran it on WSL, my desktop machine was able to connect to my mac machine, but the mac machine wasn't able to connect to my desktop machine. When I opened the UI on my desktop machine while one way link, the messages were sent to mac machine and the inference was working, but the desktop machine didn't receive any message to be displayed. After banging my head multiple times while switching UDP ports, I ended up install Ubuntu natively.

After installing Ubuntu 24.04 ((Kernel: 6.8.0-51-generic), firstly I faced the issue of WiFi card drivers not working with current kernel version. I updated the Kernel to 6.12, after solving the safe boot issues, when I tried installing the NVIDIA drivers and Cuda toolkit, the error was the drivers were not compatible with the 6.12 kernel version. I downgraded back to 6.8 kernel version and got the drivers, toolkit to install. The LLMs are running locally. Then I tried to start a hotspot from my mobile and USD tethered my desktop machine, connected mac machine with the hotspot, still no detection. I'm waiting for my router to be delivered so that I can connect my desktop machine using ethernet and connect my mac machine using WiFi. Between this, I tried connecting mac and desktop using a USD Type-C cable which can handle high transfer speeds.

Questions:

  1. What are the potential cause of linking issues between Ubuntu and Macs via a Type-C cable?
  2. Have anyone figure out upgrading the Ubuntu Kernel version while able to install Nvidia Drivers and Cuda Toolkit?
  3. If you have successfully connected Ubuntu and Macs before, what steps did you take and what was your kernel version?
  4. Did I do anything wrong or the steps I followed were incorrect?
  5. Can Desktop and Macs be connected using Type-C or this only works between macs?

My desktop config: MSI Tomahawk Z790 Wifi Motherboard + NVIDIA 4080 Super + 128 GB Ram + i9 14KF

My Mac 1 Config: M1 (2021) 16 GB RAM

My Mac 2 Config: M1 (Pro) 16 GB RAM

My Mac Studio Config: Mac Studio 196 GB + 40 Core GPU

I appreciate all the help and very curious on how to get this done.

codebuster22 avatar Jan 28 '25 12:01 codebuster22

Between this, I tried connecting mac and desktop using a USD Type-C cable which can handle high transfer speeds.

Did this work? Networking between Macs is only supported via Ethernet or Thunderbolt. A USB Type-C cable is not the same as a Thunderbolt cable.

When I ran it on WSL, my desktop machine was able to connect to my mac machine, but the mac machine wasn't able to connect to my desktop machine.

Check your Mac firewall settings.

What are the potential cause of linking issues between Ubuntu and Macs via a Type-C cable?

Does your Ubuntu machine support Thunderbolt networking?

If you have successfully connected Ubuntu and Macs before, what steps did you take and what was your kernel version?

Any kernel newer than 4.13 should support Thunderbolt without issue. https://wiki.archlinux.org/title/Thunderbolt

Can Desktop and Macs be connected using Type-C or this only works between macs?

Does your Tomahawk Z790 support Thunderbolt? If not, then it will not create an Ethernet over Thunderbolt network.

Then I tried to start a hotspot from my mobile and USD tethered my desktop machine, connected mac machine with the hotspot, still no detection. Did I do anything wrong or the steps I followed were incorrect?

Mobile phone WiFi APs block communication between devices paired with the AP to save power. Your Mac may have a firewall up!

Mac Studio 196 GB + 40 Core GPU

These specifications have never been sold by Apple.

silibattlebot avatar Jan 29 '25 02:01 silibattlebot

I have encountered issues between my Macbook M1 and Windows10 WSL-Ubuntu 22, these two machines are on the same local network. And I forwarded ports 5678 and 52415 on Windows10 using netsh interface portproxy add v4tov4 and also opened firewall inbound rules for 5678 (UDP) and 52415 (TCP). The result is still that these two machines cannot discover each other. What is the reason? Thanks!

LGDHuaOPER avatar Mar 16 '25 14:03 LGDHuaOPER