install samba on the linux machine. edit /etc/samba/smb.conf to the configuration of the network. Mine looks like this..
Code:
# Global parameters
[global]
server string = floods[box]
security = SHARE
log file = /var/log/samba.%m
max log size = 50
dns proxy = No
ldap ssl = no
hosts allow = 192.168.0.
[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No
[public]
path = /home/floods/
read only = No
guest only = Yes
guest ok = Yes
printable = Yes
[floods' home]
comment = floods' home directory
path = /home/floods
valid users = floods
admin users = floods
read list = floods
write list = floods
read only = No
guest ok = Yes
That shows that linux has two shares, and they're both the same share. I did that because I couldn't get it to work for some reason, but //floodsbox/public is the share that works I think.
Some of it looks redundant becuase.. well.. it didn't want to work for some reason.
Samba makes a great server, and an ok client.
Anyways..
To copy files from windows to linux.
share the directory, then open a terminal in linux. type up mount -t smbfs -o username=username,password=password //servername/sharename /mnt/servername/sharename.
the /mnt/servername/sharename will need to be created before hand. If you want the shared directories to mount on boot (which I've done,) you'll need to edit your fstab some...
my samba mounts from fstab that auto-mount..
Code:
//JOEY/Music /mnt/JOEY/Music smbfs rw,credentials=/home/floods/Samba 0 0
//JOEY/Downloads /mnt/JOEY/Downloads smbfs rw,credentials=/home/floods/Samba 0 0
//JOEY/Drivers /mnt/JOEY/Drivers smbfs rw,credentials=/home/floods/Samba 0 0
//JOEY/Kazaa /mnt/JOEY/Kazaa smbfs rw,credentials=/home/floods/Samba 0 0
//JOEY/Movies /mnt/JOEY/Movies smbfs rw,credentials=/home/floods/Samba 0 0
//JOEY/Soulseek /mnt/JOEY/Soulseek smbfs rw,credentials=/home/floods/Samba 0 0
//JOEY/Warez /mnt/JOEY/Warez smbfs rw,credentials=/home/floods/Samba 0 0
//JOEY/floodspics /mnt/JOEY/floodspics smbfs rw,credentials=/home/floods/Samba 0 0
//JOEY/slack /mnt/JOEY/slack smbfs rw,credentials=/home/floods/Samba 0 0
//JOEY/xvids /mnt/JOEY/xvids smbfs rw,credentials=/home/floods/Samba 0 0
the rw shows the directories are read-write, though it doesn't do a lot of good if the directories aren't allowed to be written in by the other computer. the credentials=/home/floods/Samba is directing to a file named Samba, that has two lines in it, that looks like this.
Code:
username=USERNAME
password=PASSWORD
This username and password needs to be the same as the windows computers username and password.
That's about all I can remember. I may be missing something or another, but its late. You can probably take it from there..
good luck