Linux client with wine no connection to a windows server

Questions about Wine on Linux
Locked
troppogigio
Newbie
Newbie
Posts: 2
Joined: Fri Sep 19, 2014 12:02 pm

Linux client with wine no connection to a windows server

Post by troppogigio »

Hello everybody,
I'm trying to make work a software to do invoices and other similar things that it's installed in a client computer with linux mint.
This software must be able to connect with the server that's a computer with windows xp.
The software and the connection with the windows server has worked until an accounting software version upgrade it's arrived.

the solution that I've used before is this:
sudo mount -t cifs //192.168.0.64/Az1Report /media/Az1Report/ -o iocharset=utf8,dir_mode=0777,file_mode=0777
mkdir ./.wine/dosdevices/unc
ln -s /media/Az1Report ./.wine/dosdevices/unc/cav-11be59fa84 this solution now don't work anymore. A new problem is borned. The client don't read the file data.ini that it's contained in another directory of the server machine that is called /192.168.0.64/Res in the shared network

So I've tried to make the same work that I've done for the Report directory but unsuccefull.
I've readed a lot of discussion in this forum but with no good results.

Thank you to all for the help!
troppogigio
Newbie
Newbie
Posts: 2
Joined: Fri Sep 19, 2014 12:02 pm

Re: Linux client with wine no connection to a windows server

Post by troppogigio »

So.... I've solved the problem....

For those who that can help this is the solution:
The software to make invoice and accounting it's an italian software called Evolution.

First of all we need to mount every directory shared by the server that the client searching of

Code: Select all

mkdir /media/Az1Report

Code: Select all

mkdir /media/Az1Res

Code: Select all

sudo mount -t cifs //192.168.0.64/Az1Report /media/Az1Report/ -o iocharset=utf8,dir_mode=0777,file_mode=0777

Code: Select all

sudo mount -t cifs //192.168.0.64/Az1Res /media/Az1Res/ -o iocharset=utf8,dir_mode=0777,file_mode=0777
After this we go to create a symbolic link in the wine's installation

Code: Select all

mkdir ./wine/dosdevices/unc

Code: Select all

mkdir ./wine/dosdevices/unc/192.168.0.64

Code: Select all

ln -s /media/Az1Report ./.wine/dosdevices/unc/192.168.0.64/Az1Report

Code: Select all

ln -s /media/Az1Res ./.wine/dosdevices/unc/192.168.0.64/Az1Res
where 192.168.0.64 is the server IP

in the end we make an automatic mount of the shared directory

Code: Select all

sudo nano /etc/fstab
and we add the following lines
  • //192.168.0.64/Az1Report /media/Az1Report cifs dir_mode=0777,file_mode=0777,iocharset=utf8 0 0
    //192.168.0.64/Az1Res /media/Az1Res cifs dir_mode=0777,file_mode=0777,iocharset=utf8 0 0
I hope this can help somebody.
Thank you!
Locked