Sharing files over network between Window XP and Ubuntu

Fred Roller froller at tnclimited.com
Thu Oct 22 18:49:35 UTC 2009


Amedee Van Gasse (ub) wrote:
> On Thu, October 22, 2009 07:35, dheeraj bansal wrote:
>   
>> Hi,
>>
>> Thanks a ton guys for all the help, my ultimate objective is to
>> connect a windows XP machine with a Ubuntu machine using cross cable
>> to share data between the two, and for this I was in the notion that
>> it is possible only if I have windows XP on both. So may be u can help
>> connecting cross cable in the current setup or help me in installing
>> XP on ubuntu box and then I will be able to connect the two. And I can
>> partition the harddisk and do geeky stuff with my machine, so please
>> everyone go ahead with all the possible solutions. Any help will be
>> highly appreciated.
>>     
>
> You were misinformed.
>
> It is fairly trivial to have a network connection between a Windows and a
> Linux machine. 

Pretty sure the cable needs to be a cross-over cable if you are /not/ 
going to go through a switch or router.  On the Windows machine set a 
static ip :

    ip         192.168.1.1
    mask   255.255.255.0
    gw      192.168.1.1

and Ubuntu (linux) is easier

    ifconfig eth0 192.168.1.2

This should work for two standalone systems and assumes eth0 id's the 
nic on the linux machine.

> Just plug in a network cable in both machines, make sure
> that they are on the same subnet (*ASK* if this sounds Greek to you), and
> you're done. To share files, you need some network file system, and
> usually that is Samba.
> I don't know if Samba is installed by default on Ubuntu but I think I
> remember that there is some "wizzard" in the file manager that makes it
> very easy to share files over the network.
>
>
>   
Easy activation of samba:

    [right click] share folder ->sharing options->[check] Share this folder

"Sharing service is not installed" window should come up [click] 
"install service" and this will install samba and configure you folder 
for sharing.  From there you should be able to navigate in "My Network 
Places" on the XP side.  Hope this helps.

-- 
Fred
www.fwrgallery.com

"Life is like linux, simple.  If you are fighting it you are doing something wrong."





More information about the ubuntu-users mailing list