Originally Posted by
love2learn
Code:
# //192.168.1.***/Movie1 /media/Movies1 cifs guest,rw,iocharset=utf8,file_mode=0777,dir_mode=07$
//MEDIA/Movies1 /media/movies1 cifs credentials=/home/lucana/.smbcredentials,uid=1000 0 0
# ,iocharset=utf8,file_mode=0777,dir_mode=0777 0 0
okay ... the above lines just seem messed up, so just remove them.
Originally Posted by
love2learn
I see everything i need to get to:
lucana@laptop:~$ smbtree
Password:
CHOPPERS
\\MEDIA Server
\\MEDIA\Movies2 (F)
\\MEDIA\C$ Default share
\\MEDIA\ADMIN$ Remote Admin
\\MEDIA\Music (E)
\\MEDIA\F$ Default share
\\MEDIA\Movies1 (D)
\\MEDIA\SharedDocs
\\MEDIA\D$ Default share
\\MEDIA\IPC$ Remote IPC
\\MEDIA\E$ Default share
\\LAPTOP Samba 3.0.26a
\\LAPTOP\IPC$ IPC Service (Samba 3.0.26a)
\\****
\\****\Printer Microsoft Office Document Image Writer
\\****\SharedDocs
\\*****\print$ Printer Drivers
\\*****\IPC$ Remote IPC
lucana@laptop:~$
with the above knowledge, you should now be able to automatically mount your samba shares via fstab with the following line:
Code:
//MEDIA/Movies1 /media/Movies1 cifs credentials=/root/.smbcredentials,iocharset=utf8,file_mode=0777,dir_mode=0777 0 0
the above should all appear on one line in fstab.
then try this command:
Code:
sudo /etc/init.d/networking restart
and see if your share gets mounted or not.
edit:
no need to obscure your local ip address, as it cannot resolve from the internet anyway.
Bookmarks