First my setup:
- I have Ubuntu 10.04 and i am using Oracle VirtualBox to run my Windows 7.
On my windows i have access to a the shared drives for example, all i need to do is go tools-> map drive and i can enter the name of the drive (user/password) and i am done:
\\smalldrive
so i am trying to access the same drive on ubuntu, because i dont want to open the VM just to access those files.
I have read on Liberian Geek How to mount the share on ubuntu, but i am missing some piece of information to make it work:
sudo mount -t cifs //Windows_PC/Shares /mnt/Windows -o user=username
^----Here---^
how can i get the name of the computer from which i am getting the shared folder. I was thinking even if i can get the ip address i can use it in place of the name.
So unless someone has a better suggestion here is what i need:
- How can i get the ip address of the computer from the shared drive
- How can i mount it directly on ubuntu.
EDIT:
The shared drive is not on my machine but on a different machine on the network. i don't know the name of the computer nor the ip address