Click to See Complete Forum and Search --> : smbclient Error


kam
07-23-2002, 01:50 PM
I am trying to access shares on my WinXP box via smbclient. I'm not messing with the Samba server though, that comes next.

Anyway, I type:

$ smbclient //192.168.0.152/share

and I get this:

added interface ip=192.168.0.118 bcast=192.168.0.255 nmask=255.255.255.0
session request to 192.168.0.152 failed (Called name not present)
session request to 192 failed (Called name not present)
Password:
Domain=[WORKGROUP] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]
tree connect failed: NT_STATUS_BAD_NETWORK_NAME

FYI, 192.168.0.152 is the IP of the WinXP box, and 192.168.0.118 is the IP of my Linux box. If I need to enter NetBIOS names and/or Workgroups, I need to know where those go. The computers are networked through a router running a DHCP server. Help would be very much appreciated.

chikn
07-23-2002, 02:16 PM
Try it this way

smbmount //servername/share /mountdirectory -o username=yourname,password=yourpassword

Also you can enter the IP and name you wish the linux box to associate to the windows box in /etc/hosts

kam
07-23-2002, 02:24 PM
Doh! I just realized I made a stupid mistake...
The folder is called "share" on the WinXP box, but its share name is "shared."
I kept trying to access the folder "share."

Thanks for the help though.