nmblookup


Results 1 to 5 of 5

Thread: nmblookup

  1. #1
    Join Date
    Nov 2002
    Posts
    165

    Question nmblookup

    When I do a nmblookup of my hostname I always get this message:
    admin@Linuxbox:~> nmblookup linuxbox
    querying linuxbox on 192.168.1.255
    name_query failed to find name linuxbox

    Linuxbox is the name of my machine, but when I do a nmblookup on a machine on the network it can always find it as shown:
    admin@Linuxbox:~> nmblookup machine2
    querying laptop2 on 192.168.1.255
    192.168.1.101 machine2<00>

    Why would this be?
    Luke 18:27 - Jesus Said, "The things which are impossible with men are possible with God." (King James Version)

  2. #2
    Join Date
    Dec 1999
    Location
    Toronto
    Posts
    39,307
    Do you have /etc/hosts properly setup for your hostname?

    127.0.0.1 localhost.localdomain localhost
    192.168.1.255 linuxbox
    SEARCH FIRST... ASK SECOND Read the JL 'Community Help Posting Guidelines' before posting in the forums.

    Precompiled Redhat NTFS Modules

    Linuxplanet Tutorials

    If Linux doesn't have the solution, you have the wrong problem. ... Please do not send me a PM asking for help...

    Please read the search suggestion thread in JL Ideas

  3. #3
    Join Date
    Aug 1999
    Location
    Juneau, AK USA
    Posts
    780
    Try "nmblookup Linuxbox" (case sensitive)

    Just a guess from looking at your prompt.
    We'll get thisright yet!

  4. #4
    Join Date
    Nov 2002
    Posts
    165
    I tried using case sensativity but that didn't work either. I am posting my /etc/hosts file (posted as hosts.txt) maybe you can see whats wrong?
    Attached Files Attached Files
    Luke 18:27 - Jesus Said, "The things which are impossible with men are possible with God." (King James Version)

  5. #5
    Join Date
    Dec 1999
    Location
    Toronto
    Posts
    39,307
    Originally posted by clinux
    I tried using case sensativity but that didn't work either. I am posting my /etc/hosts file (posted as hosts.txt) maybe you can see whats wrong?
    You couldn't post the contents within the thread instead of attaching the file? It isn't that long and some of us have to 'download' to our HD's first before we can view.

    Next time please use a file extension of .php.

    Try

    127.0.0.1 localhost.locadomain localhost Linuxbox
    192.168.1.105 Linuxbox Linuxbox
    SEARCH FIRST... ASK SECOND Read the JL 'Community Help Posting Guidelines' before posting in the forums.

    Precompiled Redhat NTFS Modules

    Linuxplanet Tutorials

    If Linux doesn't have the solution, you have the wrong problem. ... Please do not send me a PM asking for help...

    Please read the search suggestion thread in JL Ideas

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •