Accessing a NAS device - Sustaining Credentials - Printable Version +- Linux Lite Forums (https://www.freecinema2022.gq/forums) +-- Forum: Hardware - Support (https://www.freecinema2022.gq/forums/forumdisplay.php?fid=6) +--- Forum: Network (https://www.freecinema2022.gq/forums/forumdisplay.php?fid=24) +--- Thread: Accessing a NAS device - Sustaining Credentials (/showthread.php?tid=6512) Pages:
1
2
|
Accessing a NAS device - Sustaining Credentials - allen04084 - 10-11-2019 I just installed Linux Lite. Very nice so far. I followed "Accessing a NAS device" with success, selecting "connect as user" + NAS creds +"Remember forever" for the shares, and then created shortcuts that appear under PLACES. I see my NAS shares and files no issue. Here's the question: when logging back in, the shortcuts appear no problem, but they require inputting the NAS credentials all over again. Is there a way to connect these shares at login so I don't need to re-enter them every time I start the system up? Thanks! Re: Accessing a NAS device - Sustaining Credentials - Valtam - 10-12-2019 There is some command line involved. Be VERY careful editing the fstab file, make a backup of it first! One character wrong or out of place will leave your computer unbootable to the OS desktop. https://unix.stackexchange.com/questions/178187/how-to-edit-etc-fstab-properly-for-network-drive Re: Accessing a NAS device - Sustaining Credentials - allen04084 - 12-27-2019 So, fstab specifies mount points, and Thunar appears to use the following location for mount points, /run/user/1000/gvfs/'smb-shareerver=shareIP,share=sharename', once smb://serverIP is entered, and creds are entered in Thunar and the desired share is selected. How does this reconcile with fstab?? Am I asking the impossible for the file manager to automount the share with the credentials supplied via Thunar. If I am, then fine, does the automounting of NAS shares in LL preclude using Thunar as the file manager, in favor of a file manager that can use fstab ?? If so, is there another file manager suggested to use with LL?? This could be a deal breaker. Happy New year!!! Re: Accessing a NAS device - Sustaining Credentials - Valtam - 12-27-2019 It's very simple. You create a folder in your home directory, let's call it 'nas'. Then edit the fstab to something like, what the article gives an example of. Then create your .smbcredentials in your home folder as also shown in the article. Boom, Bob's your uncle. All done. When you Reboot, you will not be asked for any credentials if you have followed the tutorial to the letter. Sent from my Mobile phone using Tapatalk Re: Accessing a NAS device - Sustaining Credentials - allen04084 - 12-27-2019 When I make that fstab change and reboot, wireless networking never connects. After restoring the original fstab file, wireless networking is normal. I fail to see the connection here, but that's what happens. However, after making the fstab change and then sudo mount -a BEFORE rebooting (while I still have the wireless connection), I am able to see the NAS share in Thunar Re: Accessing a NAS device - Sustaining Credentials - Valtam - 12-27-2019 Show me your entire fstab file please. Sent from my Mobile phone using Tapatalk Re: Accessing a NAS device - Sustaining Credentials - allen04084 - 12-27-2019 Code: # /etc/fstab: static file system information. Re: Accessing a NAS device - Sustaining Credentials - Valtam - 12-27-2019 You haven't created the .smbcredentials in your home folder. Please do not miss ANY steps. Re: Accessing a NAS device - Sustaining Credentials - allen04084 - 12-27-2019 I know. Once it works like it is, I'll add the credential files. For now, this eliminates any additional error. Troubleshooting 101 Quote:However, after making the fstab change and then sudo mount -a BEFORE rebooting (while I still have the wireless connection), I am able to see the NAS share in Thunar was added to the entry above Re: Accessing a NAS device - Sustaining Credentials - Valtam - 12-27-2019 I see 'vers=1.0,' in your fstab too, what's that for? |