Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-09-2009, 06:43 PM   #1
LQ Newbie
Registered: Dec 2008
Posts: 25

Rep: Reputation: 16
Hi, how do you find names on a network?

How do you search for computer names on a network. And how do you search for available shared files.

I have samba setup properly because I can access my wife's computer and share files.

I found her computer because I already knew her computer name.

I tried
nmblookup -d 2 '*'
added interface eth0 ip=fe80::20d:56ff:fead:92fe%eth0 bcast=fe80::ffff:ffff:ffff:ffff%eth0 netmask=ffff:ffff:ffff:ffff::
added interface ath0 ip=fe80::214:6cff:fe09:b33%ath0 bcast=fe80::ffff:ffff:ffff:ffff%ath0 netmask=ffff:ffff:ffff:ffff::
added interface eth0 ip= bcast= netmask=
querying * on
name_query failed to find name *
I found her computer using smbclient -L mom
However, as stated before, I already knew her computer name.
Domain=[MOM] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]

Sharename Type Comment
--------- ---- -------
Photos Disk
print$ Disk Printer Drivers
SharedDocs Disk
HPOffice Printer HP Officejet Pro L7500 Series
hpphotos Printer hp photosmart 7900 series
Fdrive Disk
Printer Printer Microsoft Office Document Image Writer
Domain=[MOM] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]

Server Comment
--------- -------

Workgroup Master
--------- -------
So how do I find other computer names?
Old 07-09-2009, 07:06 PM   #2
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910

The "problem" is that there's two different 'names' on the
network; there's the hostname that ties an IP address to
a name; and then there's Windows (WINS) machine names
that don't necessarily match the hostname, and is relevant
only for the windows side of things.

I assume you're after the windows stuff (and that your LAN
doesn't have a DNS server).
Have a look at smb4k, NMBscan, or the likes.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Network World names Zenoss Clear Choice for Network Management LXer Syndicated Linux News 0 06-20-2007 09:01 AM
Find out module names fasta Debian 2 12-14-2006 11:33 AM
Find and special file names CritterZ Linux - Newbie 2 12-23-2004 10:49 PM
How to find out my scsi dev names? Thaidog Linux - Newbie 3 08-31-2004 05:18 AM
how to find volume names for CD? sanglih Linux - Software 0 06-24-2002 12:57 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:24 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration