this post was submitted on 01 May 2024
26 points (90.6% liked)

Linux

47952 readers
1675 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 
 Fedora 39
 KDE DE
 Current Login: "User" with Password "1" 

This allows me to connect to the share; however, it is "empty" on both the local and the remote machines.

I've followed at least 5-6 guides all w/ completely different instructions and would love somebody w/ experience on this to point to my fuck up and what I'm very clearly missing.

sudo nano /etc/samba/smb.conf

[global]

[share]

   path = /mnt/2666EE3966EE097F/
   writeable = yes
   browseable = yes
   public = yes
   create mask = 0777
   public = yes
   guest ok = yes

sudo nano /etc/fstab

/dev/disk/by-uuid/D02A6F152A6EF7BC /mnt/D02A6F152A6EF7BC auto nosuid,nodev,nofail,x-gvfs-show 0 0
//192.168.0.30/share /mnt/2666EE3966EE097F cifs username=user,password=1 0 0

Dolphin also has this tab below (local machine w/ the mounted drive), but any password input doesn't do anything (the explorer flashes w/ no info about what the "Set Password" button did)

you are viewing a single comment's thread
view the rest of the comments
[–] hypoproteinosis96@lemmy.dbzer0.com 2 points 6 months ago (1 children)

So if I had to guess morethanevil, this is the line that ended up fixing it! Really appreciate it, because everything else seemed to fall into place after this:

setsebool -P samba_export_all_ro=1 samba_export_all_rw=1

I really appreciate all of your help Certainly_No_Brit! I had it set up in such a ridiculous way, but your assistance really helped me grasp why each guide was so wildly different (creation vs. adding a remote SMB on linux). After it worked, I could look up the network drive in Dolphin/Windows File Explorer in a very normal manner and can access all of the files :)!

Maybe your issue was with your firewall or permission in some regard unknowing8343? I still really prefer Windows' method (gag), but this was certainly very doable w/ the SELinux tweaks in the link above.

[–] morethanevil@lemmy.fedifriends.social 2 points 6 months ago (1 children)

I had the same problem with Fedora, as I started to use it as my server OS for my homelab. SELinux can be tricky, expect the same if you ever run FTP. Webservers are different too. Bookmark the Fedora dics, they are very useful ☺️

You can disable SELinux completly if you struggle too much. Firewalld is another part to learn, but you can switch easily to ufw if you want. Uninstall firewalld and install ufw

Appreciate it! Yeah everything that sounds like it would be easy, always has a fun extra hurdle on Fedora it seems haha.

Still loving it :)