Avatar

Certainly_No_Brit

Certainly_No_Brit@discuss.tchncs.de
Joined
0 posts • 18 comments
Direct message

GrapheneOS supports disabling Wifi and Bluetooth after some inactivity.

I think it’s also possible to do this with the apps Tasker or Automate, but I’m not sure how much they are able to do and how privacy friendly they are.

permalink
report
reply

Do you have a firewall on 192.168.43.87 that may be blocking external connections?

permalink
report
reply

The Samba service is normally run by root either way. Samba uses the logged in user’s uid to access the files. To be able to see the files, the user needs to have permissions for the directory and the contained files. The mnt folder currently only has root permissions, which is why the user can’t see the files.

You need to change the permissions of the NTFS mount. I’m not sure what the uid of user is, but you can find that out by executing id user. The numbers are the ids you need. In fstab, you need to add the user’s uid and gid by adding uid={},gid={} to the line.

Assuming the uid and gid are 1000, it would look like this: /dev/disk/by-uuid/2666EE3966EE097F /mnt/2666EE3966EE097F auto nosuid,nodev,nofail,uid=1000,gid=1000,x-gvfs-show 0 0 (you need to remount the partition after the change). You can check if the permissions changed in your file manager.

This will change the mount’s permissions to the user you want to access it from, but this also means that no other user (except root) will be able to. The link below has the answer if you want it to be accessible by all users.

I used this answer on Superuser, so it’s possible that this will not fully work, but I don’t have the devices to test it out currently.

permalink
report
parent
reply

You need to put the bommon line /dev/disk/by-uuid/2666EE3966EE097F /mnt/2666EE3966EE097F auto nosuid,nodev,nofail,x-gvfs-show 0 0 onto the computer with the NTFS partition.

The top line //192.168.0.30/share /mnt/2666EE3966EE097F auto cifs username=user,password=1 0 0 is for mounting the Samba share on another device.

permalink
report
parent
reply

I don’t fully understand this setup. Did I misunderstand something?

You have a Fedora PC with an NTFS partition mounted to /run/media/user/share. The Fedora computer shares a directory /mnt/2666EE3966EE097F over Samba.

Fedora and another computer connect to /mnt/2666EE3966EE097F/ over Samba, but they show no content.

Did you perhaps forget to remount your NTFS partition to /mnt/2666EE3966EE097F/? Otherwise I don’t see a way to access the content with your current configuration.

permalink
report
reply

Looks like Discord will do a Reddit in the near future.

I recommend switching to Matrix.

permalink
report
reply

The OS will wait until the mount is successful with these settings, which is why GNOME doesn’t load. Try adding nofail to your options. It should continue with the boot process if you are out of the network with that option set. (https://wiki.archlinux.org/title/Fstab#External_devices)

permalink
report
reply

https://wiki.archlinux.org/title/MongoDB

Do you know what the AUR (Arch User Repository) is? You can install MongoDB that way. (This is NOT an official source, all AUR packages are created by users!)

You can install an AUR manager like yay:

git clone https://github.com/Jguer/yay
cd yay
sudo make install

and install (compile) MongoDB:

yay -S mongodb

(or alternatively mongodb-bin for a pre-compiled version)

I apologize if some of the code doesn’t work, i can’t test it right now.

permalink
report
reply