Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Configuring Network Access from Within Wine

198 views
Skip to first unread message

Suresh Paul

unread,
Apr 16, 2009, 10:51:23 AM4/16/09
to
Have ubuntu 8.10 and wine 1.01 installed. In Ubuntu file browser I can
view networked drive on Windows Network as //Network Name/Server Name/
Network Drive. How do I map this to a drive letter in Wine
configuration. In the Drives tab of Wine configuration, I've added a
drive letter and set the path to //Network Name/Server Name/Network
Drive with type as Network Share. Clicking on the relevant icon in
the .wine/dosdevices folder gives a broken link errror message saying
that the target does'nt exist.

I am needing to access a data file on the network drive from an
application within wine. Please can anyone tell me how to set this
up. Assume virtually no prior knowledge of linux. I have read the
wine user guide and tried entering the command given in the section on
Network Shares but that didn't seem to work. Google searches have not
seemed to make anything clearer.

Felix Saphir

unread,
Apr 19, 2009, 9:48:29 AM4/19/09
to
Suresh Paul <surp...@googlemail.com> wrote:

You'll have to mount the network share first, and then map the
drive letter to that directory, e.g:

smbmount //server/share /mount/dir -username=... -password=...

and map drive Z: to /mount/dir.

If your program requires to use an UNC-pathname, you can do the
following (it's a little tricky, but worth the effort):

1) create the directory ~/.wine/dosdevices/unc
2) create a subdirectory inside with the name of your server
3) create a softlink in that subdirectory pointing to the
directory where you've mounted the share.

It should look something like this:

$ ls -l ~/.wine/dosdevices/unc/<yourservername>
<sharename> -> /mount/<dir>

HTH,
Felix

0 new messages