I have successfully set up MYOB (accounting software used a lot in Australia) to run with Wine 1.0 (on Ubuntu 8.04 LTS). I now need to be able to access the data file on another PC (Windows XP) via a network which I cannot seem to get to when using the drop down list to find the file - all I can see under 'My Computer' are: C: - fake windows drive, E: - CD drive and Z: - Linux drive. I can see the Windows network fine using Ubuntu - Places -> Network. I cannot see my Ubuntu machine from the XP machines. I found FAQ - 6.26. My program fails to do networking, but Linux can get online and was wondering if this is how to fix this? This seems to apply to games... My hosts file contains: 127.0.0.1 localhost 127.0.1.1 rich-Evo # The following lines are desirable for IPv6 capable hosts ::1 ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters ff02::3 ip6-allhosts
vitamin
2009-Feb-13 02:49 UTC
[Wine] Re: Accessing Windows network from application in Wine
RichShark wrote:> My hosts file contains: > 127.0.0.1 localhost > 127.0.1.1 rich-Evohttp://wiki.winehq.org/FAQ#head-0344b4325219c69636aeffeaa3596d6855283afd
RichShark
2009-Feb-18 02:49 UTC
[Wine] Re: Accessing Windows network from application in Wine
Thank you for the assistance everyone. I have had a few problems...
vitamin, thank you, I have changed the hosts file accordingly (192.168.1.6)
after checking with ifconfig:
rich at rich-Evo:/sbin$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:08:02:96:46:7e
inet addr:192.168.1.6 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::208:2ff:fe96:467e/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:82556 errors:0 dropped:0 overruns:0 frame:0
TX packets:45813 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:116746595 (111.3 MB) TX bytes:3984282 (3.7 MB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:1574 errors:0 dropped:0 overruns:0 frame:0
TX packets:1574 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:78700 (76.8 KB) TX bytes:78700 (76.8 KB)
I assume inet addr:192.168.1.6 is the one to use? Does this change ever?
Rico, I tried to do what you suggested and got the following error:
rich at rich-Evo:~$ sudo mount -t smbfs "//192.168.0.1/share/"
/mnt/local
mount: wrong fs type, bad option, bad superblock on //192.168.0.1/share/,
missing codepage or helper program, or other error
(for several filesystems (e.g. nfs, cifs) you might
need a /sbin/mount.<type> helper program)
In some cases useful info is found in syslog - try
dmesg | tail or so
James, I assume to give the share its own drive I just have to change some of
the above command given by Rico?
On further experimentation I have found that when I find (using Nautilus) the
MYOB data file (properties show location as smb://chantelle/myob%20files/) on
the Windows XP machine and double click it, it opens in MYOB (in Wine) without a
problem. I have tried to 'Make link' to put a 'shortcut' on my
desktop (I think) but get an error 'Error while creating link to ... The
target doesn't support symbolic links.' I have tried to create a
Launcher to run this file but it does not work. How can I do this? I have found
that the 'links' to the network are under /home/rich/.gvfs/ where (using
Nautilus and selecting 'Show Hidden Files') I can see the other 3
machines on the network (although I cannot seem to access one of them - I think
it may be because it is an old laptop with Win 98 and a FAT32 file system).
Network properties show locations of the network machines as smb://homenet/.....
I cannot see the .gvs part under the drop down list in MYOB...
I would prefer a Launcher or link to the MYOB file on the desktop that just
opens when I double click it.
Thanks for your patience and help, any ideas would be appreciated.
Cheers Richard