You are not logged in.
Right now, I manually have to execute a command after every boot to mount my samba share locally:
sudo mount --mkdir -t cifs //192.168.8.1/disk1_part1 /mnt/smb -o _netdev,nofail,uid=1000But I wanted to have it auto run at login/etc. But since I don't want to go through the hassle of setting up pkexec to work with all requests (Since using pkexec geany as an example says it could not open display) I'd rather try using fstab. I don't know how to go about doing this, however, since the samba drive DOES NOT REQUIRE A USERNAME OR PASSWORD, and most guides/topics show using credentials. This is a home network, no one else accesses it but me and/or my family. So all devices on the network (including printers/etc.) do not have passwords/etc.
Last edited by coldreactive (2025-03-23 02:46:21)
Offline
Offline
Thanks, adding this to fstab worked:
//192.168.8.1/disk1_part1 /mnt/smb cifs _netdev,nofail,sec=none,uid=1000 0 0Offline