How to Map Windows Nework Drive in Linux - Gnome 2, Gnome 3 and Unity
I originally wrote an article on how to map a network drive using Ubuntu. Since then things have really changed in the Linux desktop world. Gnome 3 has been released and Ubuntu has moved away from Gnome and switched to Unity as their primary desktop environment.
The process on how to map a windows network drive has not really changed much. The steps you take may be slightly different. The instructions below should apply to just about any version of linux such as Fedora, Ubuntu, OpenSUSE, Debian, ..etc. You will need to make sure you have the samba client installed for your version of linux.
|Quickly Find Instructions For Your Desktop Enviorment|
|How To Map A Network Drive In Gnome 2|
|How To Map A Network Drive In Gnome 3|
|How To Map A Network Drive In Unity|
In this example I am using Gnome 2 on Ubuntu 7.10. (ScreenShots taken a few years ago) The steps should be the same on just about any Linux Desktop using Gnome 2 for the desktop enviorment. Below you will find two methods on how to do this.
I am going to connect to the sharing drive on a windows server named jenna07. This server is on the domain internal.net. If you are trying to connect to a share that is just running on a stand alone windows machine, use WORKGROUP or MSHOME for the domain or leave it blank.
- Click on Places > Connect to Server…
- Select Windows Share from the drop down under server type.
- Fill in the needed information. In this example I am connecting to a folder called shared$ on the server Jenna07. This server is on the internal.net domain. The user ID I am using is also part of the internal.net domain. If you don't know the domain you could use the IP address as well or leave it blank.
(Note you may need to use the IP address instead of the server name if it is not in internal DNS)
You should now see a box prompting for password.
If you entered the information correctly you should see a folder open and a icon appear on the desktop.
With this method you can just browse to the drive.
- Click Places > Network
- Click on Windows Network.
- Browse to the domain your network folder is on. In my example it is on the internal.net domain.
(Note: If the share is not on a domain it could maybe in a workgroup like MSHOME or WORKGROUP.)
- Select the server or PC that the shared drive is on.
- Enter your user-name, domain, and password
- Browse to the folder you are looking for.
Gnome 3 is showing up on more and more Linux distributions as the default desktop enviroment such as Fedora. The way you map the drive is almost identical except on how to launch gui samba client in Gnome.
Click on Activities in the upper left hand corner.
Often times the Files icon is located in the favorites but can also be found under applications.
You should now see your home directrory.
Click on File > Connect To Server
Select from the Connection Type drop down, and select Windows Share
• Enter the Server Name (Example: jenna07)
• Enter the Share Name (Example: Shared$)
• Enter your Domain (Example: workgroup, internal.net)
• Enter your user name (Example: eric)
• Enter Your Password:
The other method is as simple as just browsing your network.
- Click on Files icon under applications
- Click on Browse Network (located on the left side of the window)
- Click on Windows Network
- Click on the domain that your shared drive in located on.
- Click on the server or computer that the shared drive is on.
Enter your username and password.
In the examples below, I am going to connect to the sharing drive on a windows server named Server2002. This server is in the workgroup MSHOME. If you are trying to connect to a share that is just running on a stand alone windows you can often leave it blank.
Start by click on the home folder icon located in the doc on the left.
In the universal menu click on File > Connect to Server...
Click on the Service Type drop down and select Windows Share
Enter your Server name or IP address (Example: server2002), Your Share Name (Example: Sharing), and User Name (Example: eric)
Enter Your Password
Now start browsing your network share.
(Note: You can also browse to the shares similar to the Gnome 2, See examples above.)
If you enjoyed this post, please share it on your favorite social network by clicking on the “Share / Save” bar below.