[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: SAMBA problems



On Sat, 30 Jun 2001, Ernie Schroder wrote:

>
>
> ----------  Forwarded Message  ----------
> Subject: SAMBA problems
> Date: Sat, 30 Jun 2001 17:56:01 -0400
> From: Ernie Schroder <eschroder06478 yahoo com>
> To: seawolf-list redhat com
>
>
> I hope there's a SAMBA expert out there.... I've been trying to bring a
> WINDOZE 98 machine onto a home LAN with limited success. At this point I
> can browse the redhax box's shares from the 98 machine but I can't browse
> the windows box from LINUX. I've included the output of testparm, smbclient
> and ping below,
>
[SNIP]
> [root ernie /root]# smbclient //192.168.0.2/
> #(ip of windows 98 client)
> added interface ip=192.168.0.1 bcast=192.168.0.255 nmask=255.255.255.0
> session request to 192.168.0.2 failed (Called name not present)
> session request to 192 failed (Called name not present)
> session request to *SMBSERVER failed (Called name not present)
> [root ernie /root]# ping 192.168.0.2
> PING 192.168.0.2 (192.168.0.2) from 192.168.0.1 : 56(84) bytes of data.
> 64 bytes from 192.168.0.2: icmp_seq=0 ttl=128 time=3.010 msec
> Warning: time of day goes back, taking countermeasures.
> 64 bytes from 192.168.0.2: icmp_seq=1 ttl=128 time=3.069 msec
> 64 bytes from 192.168.0.2: icmp_seq=2 ttl=128 time=5.605 msec
>
> --- 192.168.0.2 ping statistics ---
> 3 packets transmitted, 3 packets received, 0% packet loss
> round-trip min/avg/max/mdev = 3.010/3.894/5.605/1.211 ms
> [root ernie /root]# smbclient -L //windows/c
> added interface ip=192.168.0.1 bcast=192.168.0.255 nmask=255.255.255.0
> Connection to windows/c failed
> [root ernie /root]#
>
I am not an expert, but I can see a couple of things wrong...  If you
want to use an IP address instead of the NetBIOS name for the machine,
you will need to use the -I option before the address.

When you did the "smbclient -L //windows/c" command, the machine name it
will look for is windows/c, so unless that is the name of your windows
machine, you are not going to get a list of the directories the windows
machine will share.  The correct form is "smbclient -L windows" if
windows is the name of your windows machine.  If you want to actualy see
a specific share on the windows machine, you can use something like
"smbclient //windows/c" and it will give you an ftp-like interface to
the share.  To actualy mount the share on your Linux machine, you will
need to use smbmount.  (You will need to be root...)

Mikkel
 --

    Do not meddle in the affairs of dragons,
 for you are crunchy and taste good with ketchup.





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]