Home opinion-and-analysis Apexing the Linux learning curve Connecting Ubuntu Linux to a Windows server

Author's Opinion

The views in this column are those of the author and do not necessarily reflect the views of iTWire.

Have your say and comment below.

In the last article I explained a little about how a user would see the (Ubuntu) Linux file system and where they'd expect certain files to be located. In this article I will talk about how to access files stored on network servers from an Ubuntu Linux machine.
I am not quite sure how to say this, so I will just come out and say it directly. Ubuntu 8.04 has a nasty little bug in it, that prevents you from browsing a "workgroup" and finding the shares on a remote (Windows based) server. You can access them quite happily and successfully, you just can't browse for them as can do from a Windows XP/Vista machine.

The following information is aimed at people who are at home or work but who are not using an Active Directory domain. I am assuming that you have a little workgroup setup or you have a nice little Network Attached Storage (NAS) device that functions as a Windows server and has shares on it. Ubuntu can connect to a Windows Active Directory setup, but I don't have one to try it out.

What follows is very much the same as "mapping a network drive" from XP or Vista. Just like in XP or Vista it's really quite easy to do.

Unfortunately, as you can't use the network browsing functionality (if you go to Places, Network Servers, Windows Network then nothing shows up), you will need to know the IP address of your server (which may well be an XP or Vista machine that has some shared folders on it) or your NAS device. If you didn't set it up yourself, then you might want to ask your network admin for this. You'd be expecting to see something like: 192.168.0.2 or 10.0.0.2. Don't worry if it is not exactly like that, it might be different numbers, that's OK.

You'll also need to know the names of the shares on the device to which you have access rights. For the sake of this exercise I am going to assume that the following shares exist: share1, music, applications.

If you want to make a one-off connection to a share, then go to Places, Home. In the Go menu, choose Location. In the Location bar you can directly type in: smb://serveripaddress/sharename. For example, smb://192.168.0.2/music. You'll get a usename and password prompt. Type those in and click OK. You might get a message that the share is not mounted. Go back to the Places menu and click on the name of the share on the left hand side, it will mount and you should be able to access the share.

Please read onto page 2 to find out how to make the connection permanent...

WEBINAR 26/27th May

Thinking of deploying Business Intelligence (BI)? So are your competitors.

And the most important, fundamental, tool for delivering your BI information to your users? Dashboards.

THIS IS ONE NOT TO MISS SO REGISTER NOW

DON'T MISS OUT - REGISTER NOW!

FREE WHITEPAPER - RISKS OF MOVING DATABASES TO VMWARE

VMware changed the rules about the server resources required to keep a database responding

It's now more difficult for DBAs to see interaction between the database and server resources

This whitepaper highlights the key differences between performance management between physical and virtual servers, and maps out the five most common trouble spots when moving production databases to VMware

1. Innacurate metrics
2. Dynamic resource allocation
3. No control over Host Resources
4. Limited DBA visibility
5. Mutual ignorance

Don't move your database to VMware before learning about these potential risks, download this FREE Whitepaper now!

DOWNLOAD!

Connect

 

 

 

 

Join the iTWire Community and be part of the latest news, invites to exclusive events, whitepapers and educational materials and oppertunities.
Why do I want to receive this daily update?
  • The latest features from iTWire
  • Free whitepaper downloads
  • Industry opportunities