Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
codebuster22 opened this issue Jan 28, 2025 · 1 comment

Comments

@codebuster22
Copy link

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.

@silibattlebot
Copy link

silibattlebot commented Jan 29, 2025

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants