This whole article is based on the below page...
https://forums.linuxmint.com/viewtopic.php?t=70187
Still I would like to summarize in short steps for mounting a remote Network Share Folder Locally.
1. Enter this into a terminal to install smbfs.
3. Enter this into a terminal replacing user with your actual user name to add yourself to the samba group.
Example: For me it would be sudo adduser jason samba since my user name is jason.
4. Enter this into a terminal to edit your sudoer file.
5. Paste this into the last line of the file.
6. Save and close the sudoer file.
8. Paste this into the file using your the actual username and password for the share. Replacing admin with the actual username of the share and passwordwith the actual password of the share.
Example: admin is the actual username of my samba share and password is the actual password of my samba share.
9. Save and close the file.
10. Enter this in a terminal to make a mount point for your share changing samba_share to whatever you want to call the folder. *A tip The fstab doesn't like spaces in folder names. Avoid them in the mount point and share folder name.
11. Enter this into a Terminal to open your fstab.
12. Add this line to your fstab to tell your system what it's mounting and where to mount it to, replacing myserver_ip_address with the actual IP of your share, in your case 192.168.0.1 and myshare with the actual path to the folder you want to mount in that share.
https://forums.linuxmint.com/viewtopic.php?t=70187
Still I would like to summarize in short steps for mounting a remote Network Share Folder Locally.
1. Enter this into a terminal to install smbfs.
CODE:
sudo apt-get install smbfs
2. Enter this into a terminal to add the samba goup.
CODE:
sudo groupadd samba
CODE:
sudo adduser user samba
4. Enter this into a terminal to edit your sudoer file.
CODE:
sudo vim /etc/sudoers
CODE:
%samba ALL=(ALL) /bin/mount,/bin/umount,/sbin/mount.cifs,/sbin/umount.cifs
6. Save and close the sudoer file.
7. Enter this in a terminal to create credentials for your share.
CODE:
sudo vim /etc/samba/user
CODE:
username=admin
password=password
9. Save and close the file.
10. Enter this in a terminal to make a mount point for your share changing samba_share to whatever you want to call the folder. *A tip The fstab doesn't like spaces in folder names. Avoid them in the mount point and share folder name.
CODE:
sudo mkdir /media/samba_share
CODE:
sudo vim /etc/fstab
CODE:
//myserver_ip_address/myshare /media/samba_share cifs credentials=/etc/samba/user,noexec 0 0
1 comment:
Thanks for providing such useful info. Keep sharing posts like this.
online pharmacy app development
telemedicine app development
Post a Comment