Mailinglist Archive: opensuse (3378 mails)

< Previous Next >
Re: [SLE] Baffled newbie trying to reach Win 98 LAN (was NT)
  • From: Kevin Donnelly <kevin@xxxxxxxxxx>
  • Date: Tue, 16 Apr 2002 16:23:14 +0000
  • Message-id: <E16xUhI-0007DJ-00.2002-04-16-16-16-45@xxxxxxxxxxxxxxxxxxx>
On Tuesday 16 April 2002 1:35 pm, you wrote:
> Now we are getting somewhere ;-) The question is what does this than say
> about the condition of the SuSE network, i.e. why can't I get smbclient and
> LinNeighborhood to work?

Well, I always found Windows networking to be wild and wacky. When it works,
it really is very good, but too often it doesn't work, and it isn't
immediately obvious what the problem is. So it's difficult to know whether
your problem is with Windows itself, or with the Linux layer you're trying to
lay on top of that.

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
If it is not, (as root) do
modprobe smbfs
to load it. I think you need to add a line to
to do this automatically at boot, but others here will be more knowledgeable
on this.

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.

(Thanks to Nick Davis for these two points:

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



< Previous Next >