On Thu, Oct 25, 2001 at 01:32:04AM +0800, Andres Montiel wrote:
> Thanks Micheal! Now both nmbd and smbd are working. Yet still, my
> Windows machine does not see my Linux box. I have a very basic setup: 2
> computers connected via a cross-cable (no network hub). All I want is to
> be able to backup files from my Windows machine to my Linux machine. No
> security needed. Nothing fancy, really.
>
> Do I have to fix anything else on my machine aside from smb.conf? BTW,
> my smb.conf is listed below.
Is this the correct workgroup?
> # workgroup = NT-Domain-Name or Workgroup-Name
> workgroup = Home
Also, make sure the user is in the smbpasswd file. You can use this
command:
# smbpasswd -a username
to add the user there. Make sure that you use the same password that is
used when you login to Windows.
You should also make sure that Samba is properly running on the Linux
machine. To do that, log in to the machine and run the smbclient
command like this:
% smbclient -L localhost -U username
It should then prompt you for a password, and show you all the shares
available from that samba server. Here's what I get:
[mdchaney@10x50 mdchaney]$ smbclient -L localhost -U mdchaney
added interface ip=10.0.0.21 bcast=10.0.0.255 nmask=255.255.255.0
added interface ip=127.0.0.1 bcast=127.255.255.255 nmask=255.0.0.0
Password:
Domain=[TRAILER] OS=[Unix] Server=[Samba 2.0.10]
Sharename Type Comment
--------- ---- -------
homes Disk
IPC$ IPC IPC Service (10x50 - Samba)
mdchaney Disk Home directory of mdchaney
Server Comment
--------- -------
10X50 10x50 - Samba
BIG DADDY Mikey's Desktop Computer
Workgroup Master
--------- -------
TRAILER BIG DADDY
You should see something like that (with your shares in it) when you run
that command. If it doesn't accept your password, then fix it with
smbpasswd. You should be able to get this running before you try to get
to it from Windows.
When it's running, see if you can use "find computer" on the Windows side
to find your samba box. Also, if that doesn't work, try to connect up
directly by opening an "explorer" window on your Windows machine and
type "\\192.168.1.2\" into the address line (using your samba box's IP
address).
If you have it set to the proper workgroup, have the proper user in
smbpasswd, and have the networking working between the two (should be
able to ping each other), then you should be able to get samba working
between them.
Michael
--
Michael Darrin Chaney
[EMAIL PROTECTED]
http://www.michaelchaney.com/
_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]
To subscribe to the Linux Newbies' List: send "subscribe" in the body to
[EMAIL PROTECTED]