Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Networking & Security
  • Search

[nmblookup] name_query failed to find name

Having problems getting connected to the internet or running a server? Wondering about securing your box? Ask here.
Post Reply
Advanced search
6 posts • Page 1 of 1
Author
Message
commandline
n00b
n00b
User avatar
Posts: 70
Joined: Wed Oct 20, 2004 2:12 pm

[nmblookup] name_query failed to find name

  • Quote

Post by commandline » Tue Nov 08, 2005 2:32 pm

i've been searching so long...
i cannot deal with it yet.

i hope you can suggest me some tips... :idea:

Code: Select all

$ nmblookup -M lores
querying lores on 10.0.0.255
name_query failed to find name lores#1d
this is my smb.conf:

Code: Select all

[global]
    workgroup = WORKGROUP
    server string = linus
    syslog only = no
    syslog = 0;
    #log file = /var/log/samba/%s.log
    socket options = IPTOS_LOWDELAY TCP_NODELAY SO_SNDBUF=4096 SO_RCVBUF=4096
    encrypt passwords = yes
    smb passwd file = /etc/samba/smbpasswd
    wins support = yes
    name resolve order = bcast wins lmhosts host
    dns proxy = no
    preserve case = yes
    short preserve case = yes
    max log size = 1000
    hosts allow = 10.0.0. 127.
    interfaces = eth1
    #wins server = 10.0.0.2
    remote announce = 10.0.0.255/WORKGROUP
    remote browse sync = 10.0.0.255
    local master = yes
    os level = 34
    preferred master = yes
    domain master = yes
[lan]
    comment = lan
    path = /lan
    read only = no
    public = yes
    hide unreadable = yes
    force create mode = 0774
    directory mode = 0775
thank you so much!
gentoo stage3-2008.0 kernel 2.6.28-hardened-r9
Top
rivitir
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 105
Joined: Tue Oct 04, 2005 2:28 pm
Contact:
Contact rivitir
Website

  • Quote

Post by rivitir » Fri Jun 09, 2006 12:48 pm

As a windows admin, I have to have Wins resolution working, I found that you can do this by doing the following:

First edit your /etc/nsswitch.conf file like so:

Code: Select all

hosts:           files dns wins
Then you need to edit your smb.conf, you currently have the following line commented out:
#wins server = 10.0.0.2
You need to delete the "#" and change the ip address from 10.0.0.2 to the IP address of your wins server, and start nmbd. If you do not have a Wins server, then you may want to build one, or just use the IP of the master browser PC on your network because windows likes to make it's own wins, just not tell anyone about it.
Top
commandline
n00b
n00b
User avatar
Posts: 70
Joined: Wed Oct 20, 2004 2:12 pm

  • Quote

Post by commandline » Fri Jun 09, 2006 1:40 pm

first of all, thank you for the unexpected answer!

then, it still does not work... :cry:
i remember i could send messages from my linux box to my windows machine without particular settings, neither with a wins server...

what do i need to send popup messages to windows?
..."nmblookup -A lores" works fine.
gentoo stage3-2008.0 kernel 2.6.28-hardened-r9
Top
magic919
Advocate
Advocate
Posts: 2182
Joined: Fri Jun 17, 2005 7:31 am
Location: Berkshire, UK

  • Quote

Post by magic919 » Fri Jun 09, 2006 1:57 pm

I use

smbclient -M hostname
Top
commandline
n00b
n00b
User avatar
Posts: 70
Joined: Wed Oct 20, 2004 2:12 pm

  • Quote

Post by commandline » Fri Jun 09, 2006 2:08 pm

$ smbclient -M lores
Connection to lores failed
gentoo stage3-2008.0 kernel 2.6.28-hardened-r9
Top
magic919
Advocate
Advocate
Posts: 2182
Joined: Fri Jun 17, 2005 7:31 am
Location: Berkshire, UK

  • Quote

Post by magic919 » Fri Jun 09, 2006 5:11 pm

Have you checked the subnet mask on Lores?
Top
Post Reply

6 posts • Page 1 of 1

Return to “Networking & Security”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic