Monday, August 11, 2008

Windows/Linux Sharing

aarklon

In my office there are lot of ubuntu machines and a few windows machines, now how to access data in the Linux machines from windows machines ,without using samba....????


ray
One way would be with ftp - you may need to install the free Unix Tools from MS.


douglas maine

It depends on what you're trying to do. To share files, samba is the easiest.

To use the computational resources on the remote box, then ssh is a good way to get a command line. Putty is a Windows command line tool.Also, if the windows boxes have an X server (say, cygwin's X), then you can also run X apps over ssh.

A word of caution...
Be aware of these facts:
1. Filenames under Linux are completely case sensitive, while
2. Filenames under Windows are only case preserved.

This subtle difference can cause some problems for users who are allowed to login via ssh and also intend to interact with the same directory over Samba.


the natural philosopher

Another way is to put web server on the box, and use something like php to up and download files to it. Mysql database makes it more fun ;-)


David Bianchi

Using ftp or webdav for example? You know, you can "mount" an ftp-share or a web-dav share just like a samba share.


huwnet

Use Windows Services for Unix which can provide an NFS server / client on Windows
see:-http://en.wikipedia.org/wiki/Microsoft_Windows_Services_for_UNIX

ilrudie

There's also something called "Windows services for Unix (SFU)" available from microsoft, which enables windows to use nfs, but using samba to connect to a windows share from a linux computer is probably a lot easier than using SFU to connect to an nfs share from a windows computer...
FTP is insecure. If you setup an ssh server on your Linux machines windows users can use winscp to get at the files. They will need an account on the Linux box and the account will need read access to the files (probably through a group).

General schvantzkopf

SAMBA is the easiest way, why don't you want to use it?

You could install Cygwin on your Windows boxes which would allow you to rsync files between the Windows boxes and Linux boxes. There is an NFS client for Windows also.


Willem bogaerts

I personally like SSH. I have it installed on all my Xubuntu machines anyway, and you can use Putty and WinSCP from Windows machines if you like. If you want to connect from home, you can create tunnel through your router/server. Be sure to limit SSH access to your router/server from trusted IP adresses only, as brute-force attacks are alas not uncommon.


cork soaker

AFAIK Windows has had support for NFS for a while.You have to dig around to find it though. Depends on the version of Windows.


john thompson

Yes: http://technet.microsoft.com/en-us/interopmigration/bb380242.aspx

Doesn't work in Vista, though:

System Requirements

* Supported Operating Systems: Windows 2000; Windows 2000 Service
Pack 3; Windows 2000 Service Pack 4; Windows Server 2003; Windows XP

* The minimum system requirements for installing Windows Services
for UNIX depends on which components you are installing and the file
system of the disk where the components will be installed.

* The maximum disk space required to install all Windows Services
for UNIX components is approximately 275 MB. The minimum disk space
required is 19 MB.

Note: The product will not install on Windows 9x or Windows XP Home
Edition or Windows Vista.


cork soaker

Windows Vista has built-in support. You have to go into the Control Panel and "extras" or "add-ons" or some such nonsense. But it's definitely there, just well hidden.


john thompson

Not in Vista Home Premium, as far as I can tell.


seven

You should virtualise your windummy PCs using VirtualBox.VirtualBox can run windummy XP OSen 2x to 4x faster than a real PC if you have a dual core or quad core machine Linux machine.So you could run all your windummy PCs virtualised in one or two quad core Linux PCs.For file transfer use Winscp - it looks similar to explorer with two windows to copy files from one to the other.

http://sourceforge.net/projects/winscp/

No samba - 128 bit encryption so you can also use it over the real internet from one machine to another.

Also Works from within VirtualBox running windummy osen to connect from windummy virtual PC to the real PC.


cork soaker

Ah, wouldn't know about that, I've only *used* Ultimate.Looks like you have to pay a shitload extra just for NFS support! IPX isn't there either, I noticed.

No comments:

Post a Comment