Networking - Samba / Linux
Let say your local network is pure window OSes.
PC # 1:
Win98 with 192.168.0.1
Workgroup is "HOME".
Host name is "yourhost"
PC # 2:
Win98 with 192.168.0.2
Workgroup is also "HOME".
Host name is "anything"
If you can see "yourhost" and "anything" in your Network Neighborhood, of
course, you
can browse to "anything"'s C drive and create a shortcut of it, it will then
be a
folder named "c on anything" to your desktop.
Next, cut and paste this folder shortcut from your desktop to your C drive
in
windows explorer.
Same methods apply to Linux OS in your local network assuming the IP is
192.168.0.2 for linux machine.
The path = / would share all the directories of your linux machine.
This is the example of the smb.conf file:
---------------------------------------
[global]
workgroup = HOME
server string = Samba
interfaces = 192.168.0.2/24 127.0.0.1/24
bind interfaces only = Yes
security = SHARE
log file = /var/log/samba/log.%m
max log size = 50
time server = Yes
socket options = TCP_NODELAY
os level = 65
preferred master = Yes
dns proxy = No
wins support = Yes
guest account = root
hide dot files = No
[public]
path = /
read only = No
directory mask = 0777
guest ok = Yes
Go to
http://www.sfu.ca/~yzhang/linux/samba/toc.html
for further details.