i want to connect my suse 9.1 machine with my windows xp machine to share files using a crossover cable and using samba. how can this be done?
Printable View
i want to connect my suse 9.1 machine with my windows xp machine to share files using a crossover cable and using samba. how can this be done?
Since you're new to linux, I assume you don't want any techno babble and
step by step instructions. If you want more detailed instructions, then prove me wrong.
1. Get samba. Either install it using whatever way Suse uses.
or
Download the samba 3.0.6 sources and do the following:
tar -zxf samba-3.0.6.tar.gz
cd samba-3.0.6
./configure --prefix=<choose a directory to install to (preferrably /opt/samba or /usr/local/samba)>
make
su <enter root password>
make install
2. use the following as your configuration file (<samba dir>/lib/smb.conf) BTW this example is absolutely evil since anyone can access it, the password is empty, and it shares /, so adjust it to suit your needs.
[global]
workgroup = MSHOME
wins support = yes
encrypt passwords = yes
browsable = yes
security = share
[root]
path = /
read only = yes
guest ok = yes
public = yes
3. run smbd and nmbd in <samba directory>/sbin as root.
(put these in a startup script later)
4. From the windows computer, try to map \\<computer name>\root
as a network drive. If all went well, you will be prompted for a password
which you should just leave blank.
For more information, see the complete samba book at http://www.faqs.org/docs/samba/ch00.html
happy hacking,
Yale