Forum Home
Press F1
 
Thread ID: 31523 2003-03-24 21:00:00 Networking Linux and Windows PCs together wintertide (1306) Press F1
Post ID Timestamp Content User
130562 2003-03-24 21:00:00 I need to network my two PCs together at home. One is a dual boot with Linux/Win XP, and the other is Win98. So far I have managed to get them to ping each other, but I would like to be able to share files between the two. I can't seem to find a way to do this so far - I have installed Samba but don't know how to use it. Does anyone know how to do this? I am currently running Red Hat 8 and using KDE as the desktop. Any help would be appreciated.

Thanks,
Wintertide
wintertide (1306)
130563 2003-03-24 21:11:00 I think you have to setup shares in samba like you do in NT 5, but I'm not too sure how to do this, I know Clueless got it going really easily, so maybe he can give you a few pointers :) nz_liam (845)
130564 2003-03-24 22:15:00 Just trying to find the samba.conf file (can't find it!!) which specifies things like the same of the Linux box on the network, how the files are shared etc etc.

There it is, /etc/samba/smb.conf - have a look, there are comments in it to help you.
Dolby Digital (160)
130565 2003-03-24 22:31:00 wintertide,

DON'T TOUCH THE .CONF FILES unless you really know what you are doing.

Actually it took me ages to work it out, but when the penny dropped it was (as usual) embarrassingly easy.

Assuming you have installed samba client, run "LinNeighborhood" and you will see a simple window that allows you to browse round the windows network, and enter any passwords etc that might be needed to access windows shared drives.. You then can mount the said shares and it's done.

You will then be able to access the drives on your 'doze box(es) with ease.

(I'm assuming that you want to get into the other boxes of your network because you are running a dual boot machine, rather than a dedicated Linux file server)

.Clueless
Clueless (181)
130566 2003-03-24 22:36:00 The smb.conf files is very well documented.. Sorry, Ive forgotten already which distro you're using, but Ive set it up with RedHat 8 countless times and contrary to what some people might say, its dead easy to share from a linux box.

xfsamba is also another network browser that I use :-)

you'll need to su - to do this:
Make a folder, say /transfer
do a chmod to 777 so that everybody can read/write to it

edit the smb.conf file, and change the obvious things like Workgroup, comment, and now the slightly harder part:
scroll down in the file til you find sercurity and change it from user or server to Share

now, down the bottom is usually the shares, make one like this:

[Transfer]
read only = no
writable = yes
comment - Share Folder Comment
path = /transfer
public = yes

Save it and 'service smb restart' and you're set!

Give it a shot and lemme know how you get on :-)
Chilling_Silence (9)
130567 2003-03-24 22:48:00 Chill.... how do you chmod? :8}

BTW, thanks for pointing me at "LinNeighborhood"

.Clueless
Clueless (181)
130568 2003-03-24 22:58:00 chmod <value say 777> <file/directory name> nz_liam (845)
130569 2003-03-24 23:04:00 Hi Clueless,

Open a terminal window and type in chmod --help and it will give you the options
Gorela (901)
130570 2003-03-24 23:14:00 Hang on...
If i create a file area that "everyone can use" doesn't that mean the whole damn internet as well??

Sam the Linux box is also the gateway to the cable modem (fixed IP) and i really don't want to provide quite that much sharing.

.Clueless
Clueless (181)
130571 2003-03-24 23:18:00 Depends on your firewall, but basically it's the same as enabling file sharing with WinX. Everyone can play with it ;) Gorela (901)
1 2 3 4