Forum Home
Press F1
 
Thread ID: 49089 2004-09-09 23:27:00 Network Linux to Winxp pro sp2 miknz (3731) Press F1
Post ID Timestamp Content User
270813 2004-09-09 23:27:00 I want to be able to network a friends linux pc to my lappy running xp prosp2 for file sharring . Is this link still reliable?

. pcworld . co . nz/thread . jsp?forum=1&thread=36884&message=177529&q=%22network+linux%22#177529" target="_blank">pressf1 . pcworld . co . nz .

I cant remember what version of Liux he is running but I think it is red hat 7 .

Cheers

Mike
miknz (3731)
270814 2004-09-09 23:37:00 Try it. :D

The easiest access is with the Linux end running Samba, but if he's got RH7 he might need a more recent version of Samba.

If it works, it will be as reliable as the Windows XP. :O
Graham L (2)
270815 2004-09-10 00:12:00 I use Red Hat 7 with Samba 2.2.x which I found a bit flaky in my environment so upgraded to 3 and its fine. Dolby Digital (160)
270816 2004-09-10 00:39:00 I agree with getting the latest Samba. There should be rpm's from the website.

If not, download the source-code and we can easily step you through compiling the code (Three easy steps!) yourself.

I wrote this a while back:
www.nzlinuxfaq.orcon.net.nz
(This link is on that PF1 thread also) and its just a basic .conf file. You should be able to edit /etc/samba/smb.conf and throw the contents of it in there and have it work straight off the bat!

Cheers


Chill.
Chilling_Silence (9)
270817 2004-09-10 01:04:00 thanks, will try it out tonight and report back miknz (3731)
270818 2004-09-10 21:13:00 Hi again,

Had Samba set up with IP 10.0.0.20 had them connected with the network cable. I was in the network section of xp and it kept saying that the network was not connected. I know this could be a little vague but it was a long day and a late night. Can anyone shed any light on our problem?
miknz (3731)
270819 2004-09-10 21:43:00 A few things:
Firstly - Its not _samba_ that you're connecting with an IP of 10.0.0.20... Its the whole Box. TCP/IP still works regardless of the File-Sharing format you choose (Windows uses the SMB Server Messaging Block to share files - Linux natively uses NFS Network FileSystem).

As root, type:
ifconfig
This will print all the network card details.

Secondly - Windows normally networks on the 192.168.0.XYZ range....
On your WinXP box, try clicking Start
-Run
type:
cmd
Now, type:
ipconfig /all

This will give you the IP Address of the WinXP box.
Great - Now, back to your linux box:
ping W.X.Y.Z
where W.X.Y.Z is the IP Address of your WinXP box. If it doesnt ping it, then on to this (on the linux box):
ifconfig eth0 down
ifconfig eth0 W.X.Y.A
(where W.X.Y.A is W.X.Y.Z+1). Then type (Still on your linux box as root):
route add default gw W.X.Y.Z
ping W.X.Y.Z

This should be nicely networked now....
Now try file-sharing!

We've kinda been left in a bad place here from your posts because we dont know if your PC's are even networked via TCP/IP, let alone samba.....
Dont forget to restart the Samba service when you're done:
service samba restart
should do the trick (dont forget to be root). Otherwise, use:
redhat-config-services
To give you a gui status of the lot, and let you set it to auto-start on boot :-)

Hope this helps


Chill.
Chilling_Silence (9)
270820 2004-09-10 22:43:00 >> it kept saying that the network was not connected
Are you using a hub/switch or crossover cable connection?
Dolby Digital (160)
270821 2004-09-11 07:14:00 we were using a network cable, do we need to use a router??? miknz (3731)
270822 2004-09-12 02:51:00 Nope - But make sure if you're directly connecting the two PC's that you're using a Crossover Cable Chilling_Silence (9)
1 2