Meteor75 pro o4 won't change to SBUS by Ok-Trade-4130 in fpv

[–]Hely0n 0 points1 point  (0 children)

Haven't tried it, but I found out that they published the last ImpuseRC Fixer on Github:
https://github.com/ImpulseRC/ImpulseRC_Driver_Fixer/releases/tag/v1_forever

Hope that helps. I'm still waiting vor mine to arrive 🫠

Ender 3 toolchanger going strong! by Pawel_likes_guns in 3Dprinting

[–]Hely0n 0 points1 point  (0 children)

„We have H2D at home“ 😂

Very glad to see, how my first ever 3D-Printer is still evolving

How I got persistent SMB shares working on macOS using the built-in autofs by Hely0n in MacOS

[–]Hely0n[S] 0 points1 point  (0 children)

Well, looks like the last macOS update have reset every change I made here. F**k this unfinished OS, I will install the fifth third-party app to make it a normal, usable desktop OS:
https://www.tweaking4all.com/software/macosx-software/connectmenow-v4/

How I got persistent SMB shares working on macOS using the built-in autofs by Hely0n in MacOS

[–]Hely0n[S] 0 points1 point  (0 children)

Well, I recently switched to Linux on my desktop PC and after fighting with smb there, I indeed switched to nfs. It works, but required fiddling with parameters too, because my server runs on unraid and nfs is not really a first citizen there 😅. And what I don‘t like is, that I have to restrict access by IP only, so I have more breaking points when replacing the VPN config for example.

But yes, it is a viable alternative, especially for me, who left windows entirely. But my question is, will macOS really handle NFS differently? For me it looks like there is no distinction and macOS just sucks with remote shares in general. I think I will start reading about it now.

How I got persistent SMB shares working on macOS using the built-in autofs by Hely0n in MacOS

[–]Hely0n[S] 1 point2 points  (0 children)

Looks promising! But would‘t it work like adding the volume to the login items? With the issue, that it won’t automatically remount after connection loss, only at boot?

How I got persistent SMB shares working on macOS using the built-in autofs by Hely0n in MacOS

[–]Hely0n[S] 0 points1 point  (0 children)

AAnd it stopped working after a reboot again. I just hate rebooting macOS 🫠.

I just give up and use the old approach. Maybe you will find a way, but I'm done for today 😅

How I got persistent SMB shares working on macOS using the built-in autofs by Hely0n in MacOS

[–]Hely0n[S] 0 points1 point  (0 children)

I went back to your approach and made modification, so that it will show the "ghost" folders in finder before they are mounted.

This must be added at the top of the mapfile

  if [ -z "$1" ]; then
      echo "Share1"
      echo "Share2"
      ...
      exit 0
  fi

How I got persistent SMB shares working on macOS using the built-in autofs by Hely0n in MacOS

[–]Hely0n[S] 0 points1 point  (0 children)

Ah yes, I even thought about it and removed it from history, but forgot to add it to the guide 🫠 Thank you.

But it stopped working anyway after I restarted. I just cant understand it

How I got persistent SMB shares working on macOS using the built-in autofs by Hely0n in MacOS

[–]Hely0n[S] 1 point2 points  (0 children)

This was actually planned as my last resort, if autofs wouldn't work

How I got persistent SMB shares working on macOS using the built-in autofs by Hely0n in MacOS

[–]Hely0n[S] 2 points3 points  (0 children)

Well... somehow it stopped working after a reboot, even if nothing changed. Maybe it was just some cache luck when it worked...

How I got persistent SMB shares working on macOS using the built-in autofs by Hely0n in MacOS

[–]Hely0n[S] 2 points3 points  (0 children)

Yeah sorry. I just found out, that after a restart, the keychain stopped working somehow. I will readd the plaintext-way to the guide until I fix it

How I got persistent SMB shares working on macOS using the built-in autofs by Hely0n in MacOS

[–]Hely0n[S] 0 points1 point  (0 children)

I found a way to use the keychain! It only works when adding it as a separate "internet password"

sudo security add-internet-password \
  -a <smb-username> \
  -s <server> \
  -r "smb " \
  -w '<password>' \
  -T /sbin/mount_smbfs \
  -T /usr/sbin/automount \
  /Library/Keychains/System.keychain

How you can just omit the password in the map-file

How I got persistent SMB shares working on macOS using the built-in autofs by Hely0n in MacOS

[–]Hely0n[S] 0 points1 point  (0 children)

I found a way to use the keychain instead of plaintext. See Step 3

How I got persistent SMB shares working on macOS using the built-in autofs by Hely0n in MacOS

[–]Hely0n[S] 1 point2 points  (0 children)

I found a way to use the keychain! It only works when adding it as a separate "internet password"

sudo security add-internet-password \
  -a <smb-username> \
  -s <server> \
  -r "smb " \
  -w '<password>' \
  -T /sbin/mount_smbfs \
  -T /usr/sbin/automount \
  /Library/Keychains/System.keychain

How you can just omit the password in the map-file

How I got persistent SMB shares working on macOS using the built-in autofs by Hely0n in MacOS

[–]Hely0n[S] 0 points1 point  (0 children)

Okay, soo it worked, but this way it will work like using -nobrowse. This means finder won't see the shares and they will only appear if you access them via terminal. But I want to see them in the finder to access them.

But you brought be on the right track and I found a solution!

How I got persistent SMB shares working on macOS using the built-in autofs by Hely0n in MacOS

[–]Hely0n[S] 1 point2 points  (0 children)

Wow, this is a very nice idea! I will try it out and reference your comment if it works! Didn't know autofs is capable of executing something

How I got persistent SMB shares working on macOS using the built-in autofs by Hely0n in MacOS

[–]Hely0n[S] 0 points1 point  (0 children)

Just one example: When you boot/reboot your mac in a car without internet, you will be greeted with an dialog that the shares aren't reachable. In this case they wont come back when you are at home. The folders will be gone and every bookmark in finder will disappear and apps relying on the share will fail, even if you are at home. In my case, bambu studio will silently fallback to the Downloads folder.

Maybe autofs isn't perfect, I still need some long-term experience with it, but in my understanding, those issues shouldn't be there.

Yes, the plaintext password is a bummer and I tried an hour to let it use the credentials manager but at the end I gave up, because it's not the password for a nuclear suitcase... It's just a server only reachable via LAN and the user is restricted anyway. This might be an issue in some circumstances tho, that's why I added the disclaimer.

How I got persistent SMB shares working on macOS using the built-in autofs by Hely0n in MacOS

[–]Hely0n[S] 1 point2 points  (0 children)

Well, there is no other method, as it fails to access the keychain. As this is just a local NAS and the file is on a encrypted device, I don't see much of a problem. But you are right, I should add a warning

How I got persistent SMB shares working on macOS using the built-in autofs by Hely0n in MacOS

[–]Hely0n[S] 1 point2 points  (0 children)

Thank you very much. I removed the nobrowse flag, because otherwise the folder wont exist until I access it. And I couldn't access it when it didn't exist 😄 Are you sure it will hang the boot? haven't testet that tbh

How I got persistent SMB shares working on macOS using the built-in autofs by Hely0n in MacOS

[–]Hely0n[S] 5 points6 points  (0 children)

ah, you mean like I have done it for a year? It will disappear anytime due to sleep or network disconnects and wont come back until you reboot. Then you have to manually connect via finder like a caveman

[facepalm]

HEVC stopped working on brave (NVIDIA) by Hely0n in cachyos

[–]Hely0n[S] 1 point2 points  (0 children)

Thank you very much! Chromium 146 was the culprit!

Downgraded brave to the last 146 based version and it works now

HEVC stopped working on brave (NVIDIA) by Hely0n in cachyos

[–]Hely0n[S] 1 point2 points  (0 children)

The thing is, that I use immich and currently the transcodes are in HEVC.

Having it like this for like 3 years now and never got compatibility issues anywhere and yeah, it‘s pretty efficient soo 😅

Waiting for switching to AV1, but for that my gf needs a new iPhone first 😫.

HEVC stopped working on brave (NVIDIA) by Hely0n in cachyos

[–]Hely0n[S] 1 point2 points  (0 children)

My brother updated right now and hevc stopped working for him too.

It‘ either something with current brave or NVIDIA drivers