Selected from Linux Selected from PHP
- Ubuntu 17.10 Install google's mod pagespeed for apache - PHP-Ubuntu-Youtube-dl simple script for converting and downloading youtube video or mp3
- Ubuntu SSH tunnel via proxy - PHP while loop with every row with a different color
- Install GoAccess Apache Log Analyzer Tool on Ubuntu 17.10 - PHP use while loop in function
- SSHFS and map folder with a proxy - PHP List Files And Folders As links
- How to connect to SSH server with a proxy - PHP Extract Text From String
➥ Ubuntu 17.04 add windows share to fstab
Added by sonik on 10-05-2017 and keywords: [ Print Article ]
First lets test the connection to check if we can connect to the remote dir with our user and password:
sudo apt-get install smbclient
smbclient "\\\\\sarg" -U yourusername

you will be asked for password, if you see:
smb: \>

you are connected, type exit and edit the fstab
pico /etc/fstab and add this line:
// /media/nas01sarg cifs username=yourusername,password=yourpass,iocharset=utf8,sec=ntlm 0 0

Now lets test
sudo mount -a

if you dont get any errors all is fine and you have mounted the remote server in /media/nas01sarg

@All rights reserved with Copyright 2018 by Sonik_Blast [ Site Map ] [ RSS ] [ YouTube Mp3 Downloader and converter ]