Firstly, are you sure you have installed Samba (including smbclient?). Do
rpm -qa | grep samba
to find out.
Second, is the smbfs module loaded. Find out by doing
lsmod | grep smbfs
If it is not, (as root) do
to load it. I think you need to add a line to /etc/init.d/boot.local
to do this automatically at boot, but others here will be more knowledgeable
Thirdly, make smbmnt and smbumount suid root, so that ordinary users can use
them. As root, do
chmod 4755 /usr/bin/smbmnt
chmod 4755 /usr/bin/smbumount
I am sure there are some security implications in this (which others may
perhaps be kind enough to point out), but it may be sensible to get the thing
working first and then worry about them.
Fourthly, ensure that there are shared resources on the Windows (I am
assuming 98) machines. You may have done this already, but if you have not,
you need to add the File Sharing for MS Networks service via
right-click/Properties/Add on the Network Neighbourhood icon. Ensure that
all Win PCs are in the same workgroup, and that the name (Identification tab)
is proper (ie no weird characters like periods). Then, via the My Computer
icon, right-click the resource you want to share (eg C:), and select Sharing.
Give it a name and description, and decide on whether you want to give full
or read-only access.
Fifthly, try pinging from each computer to all others. If this does not
work, there is something wrong at a base level, and nothing else will work.
Ensure that all Win PCs can see the shared resources of all others - if this
does not work, there is something wrong with your Windows setup, which will
need to be sorted out before you try browsing via Samba.
Now, open LinNeighbourhood. Click on Options/Browse entire network. In the
popup box, you should be the user (greyed out). (If you are not, tick the
Browse as user box, and enter your username and password. Then untick the
box.) Click on OK.
Give it a few seconds, particularly if you have just made changes to your Win
PCs - it can take up to 10 minutes for changes made to a Win network to
propagate. But you should eventually end up with a nested hierarchy in the
left-hand panel, with your machine at the top. Below it there is a network
(perhaps called TUX-NET) which will have entries for the Linux machines on
which Samba is installed (so your machine should also appear here). Below
that there is another network (perhaps called WORKGROUP). This should
consist of your Windows PCs. If it does not, try doubleclicking on the
entry. Each PC entry should have a + next to it, and if you click on that
you should see the shares you established earlier. Doubleclick on one, click
Mount, and LN should mount it at your chosen point, and open Konq to display
it. (Thanks to: Kevin Donnelly email@example.com)
I hope this helps to get you started. If LinNeighborhood isn't on your CD's,
do a search for it at http://www.google.com/linux Download the source, and
then log in as su and do the following:
# tar xzvf filename.tar.gz
This will give you a new directory, presumably named linneighborhood.
Enter this directory:
# cd linneighborhood
# make install