If you are trying to get your Windows box to use files on your Linux box, the basic process is...
- Network computers, make sure they can ping eachother.
- Install Samba Server.
- Configure smb.conf to allow shares.
- Add users to smbpasswd file... smbpasswd -a user_name
- Restart Samba service... service smbd restart
- In Windows Explorer, browse to the Linux box, or "Map Network Drive".
If you are trying to get your Linux box to use files on your Windows box, the basic process is...
- Network computers, make sure they can ping eachother.
- Install Samba Client.
- Create a mount point... mkdir /mnt/windows
- Change permissions on mount point... chmod 0777 /mnt/windows
- List shares on Windows box... smbclient -L //windows_IP
- Try mounting a share as root... mount -t smbfs //windows_IP/share_name /mnt/windows
- Edit /etc/fstab to allow users to mount/unmount the Windows share...
Code:
//windows_IP/share_name /mnt/windows smbfs noauto,gid=users,fmask=0664,dmask=0775,iocharset=iso8859-15 0 0
- It can then be mounted by... mount /mnt/windows
- And unmounted by... umount /mnt/windows
You can use windows_name rather than windows_IP if you add an entry to your /etc/hosts to point to the Windows computer.
Check the
Linux Documentation Project to find a How-To for more info.
You can also get
LinNeighborhood to make mounting Windows shares on the Linux box a heckuva lot easier.