Author Topic: nmblookup & smbmount - please please help  (Read 4397 times)

Ansel_Tk1

  • Newbie
  • *
  • Posts: 22
    • View Profile
    • http://
nmblookup & smbmount - please please help
« on: May 21, 2004, 08:05:25 pm »
I am trying to mount one of my windows shares...

I have read to use nmblookup to find the netbios name of the share I have created, but I can\'t seem to find nmblookup! I have read that it is part of samba, but it is not in any directory I can find...

Any help would be appreciated - I would love to get smbmount working and this seems to be my stumbling block (just using mount -t smbfs - //192.168.1.100/mp3 //mnt/smb/mp3 is not working!

Then I can sleep tonight...

mitchrl

  • Newbie
  • *
  • Posts: 33
    • View Profile
    • http://
nmblookup & smbmount - please please help
« Reply #1 on: May 22, 2004, 06:19:00 am »
I have no idea what your config is on either side (zaurus/win) but the more specific you are with smbmount the better. For my win98 box, this works for me:

smbmount //host_name/sharename /zaurus/mountname -o username=username,password=password,ip=ip

where host_name is the name of the win98 box, sharename is the name of the share on the win98 box, mountname is a existing directory on the zaurus, username is a valid user on the win98 box, password is the pw of the user and ip is the ip of the win98 box. hth.
Robert

Ansel_Tk1

  • Newbie
  • *
  • Posts: 22
    • View Profile
    • http://
nmblookup & smbmount - please please help
« Reply #2 on: May 22, 2004, 08:59:45 pm »
Hi Robert - thank you for the help.

Here is the command I am typing (192.168.1.100 is the ip of the winxp box, K is the share name, there is no password or login (I have it set to allow everyone in the WinXP share)

# # smbmount //192.168.1.100/K /zaurus/mp3

I get:
unrecognized character set 866
unrecognized character set 866
Could not resolve mount point /zaurus/mp3

I have created a directory called //mnt/smb/mp3 where (I think) it mounts to?

Any pointers? Thank you.

DrWowe

  • Hero Member
  • *****
  • Posts: 696
    • View Profile
    • http://
nmblookup & smbmount - please please help
« Reply #3 on: May 22, 2004, 09:12:09 pm »
While we\'re on the subject, is there compiled version of smbclient somewhere?  I prefer smbclient to smbmount because its less crash prone (all user space).

mitchrl

  • Newbie
  • *
  • Posts: 33
    • View Profile
    • http://
nmblookup & smbmount - please please help
« Reply #4 on: May 23, 2004, 06:39:27 am »
If you are allowing access to all to your share, you still need to provide a valid user/password to get access. Also if you have created a directory called \"/mnt/smb/mp3\" then that is what you should use. I think this may work for you:

smbmount //192.168.1.100/K /mnt/smb/mp3 -o username=validuser,password=validpassword

If not then swap the ip with your computer name, add workgroup and ip. You may also need to run this command as root.