Connecting to a Windows share from a Ubuntu machine using the Nautilus file manager

© copyright 19.Jun.2009 by Paul Bradley filed under Ubuntu


Even though I have moved over to using Ubuntu full time on my work machines, I still have one Windows machine on the network for maintaining some legacy code. I needed to copy a huge file over from the Ubuntu machine to the Windows PC, and rather than using a USB stick, I wanted to copy the file over the local network.

It turns out to be very easy to connect to a Windows share from within the Nautilus file manager, you first need to know the IP address of the Windows machine you want to connect to, and you can get this information by running the ipconfig command from a DOS command window.

Once you have the IP address of the windows machine, then the syntax you need to enter into the Nautilus Location field is :-

smb://ip address/share name/

Windows by default has a share name called c$, which will connect you to the C drive. So for example the full command on my network is :-

smb://192.168.1.101/c$/
Nautilus Screen Shot

In my case the Windows machine is also part of wider VPN network, so I am prompted for my Windows credentials, you may or may not need to do this step depending on the set-up of your windows machine.

Nautilus Credentials Dialog

Aftering entering the correct crendentials, I have full access to the local C drive on my Windows machine.

Nautilus Browsing Windows Share

 


If you have found this article helpful or useful please consider linking to it, emailing it to friends, or share it with others using social sites like del.icio.us, Stumble Upon or Twitter.

Paul Bradley

About the Author
Paul Bradley is a VB.NET software developer living and working in Cumbria. He has over 20 years programming experience. He also produces e-learning videos at Linux by Example

Other Popular Articles

Categories & Topics

Home · Apache · JavaScript · Perl · PDF · PHP · MySQL · MSSQL · TAR · Ubuntu Linux · Video · Visual Basic

Browse the complete article history, and if you like what you see; consider subscribing to the rss feed.