Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Send popup messages to Windows users' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Send popup messages to Windows users
Authored by: maged on Dec 13, '03 08:56:00AM
Nice companion to this hint is the open source nbtscan. You can run:

nbtscan <IP ADDRESS>
and it will give you a dump of all relevant NETBIOS info, including NETBIOS machine name (similar to Windoze):

nbtstat -A <IP ADRESS>
Compiles fine from source under 10.2.x and 10.3 with normal UNIX compile sequence:
tar zxvf nbtscan-1.5.1.tar.gz
./configure
make
make install
(use sudo as appropriate)



[ Reply to This | # ]
Send popup messages to Windows users
Authored by: kyle_r_b on Dec 13, '03 03:30:34PM

Does anyone know how to lookup NETBIOS names over the internet. I've tried nbtscan, but it only seems to work for IPs on my local network. Am I configuring something wrong? Are there any other programs that probide this funtionality?

Thanks



[ Reply to This | # ]
Compiling nbtscan-1.5.1
Authored by: olmy on Dec 16, '03 11:10:41AM

I'm a Mac person (17" G4 PB running 10.2.8) who wants to learn about UNIX and as such am a newcomer to UNIX syntax, so this may seem to be a silly question. I am trying to install the "nbtscan-1.5.1.tar.gz" utility. Using Terminal I moved the package file from my desktop to the "/usr/bin" directory where it looked like all the other Terminal utilities were stored. I then unpacked it using your directions and it unpacked itself as a folder full of stuff called "nbtscan-1.5.1a". Then I typed "./configure" and it said "command not found". I changed my working directory from "usr/bin" to "usr/bin/nbtscan-1.5.1a" and typed "configure" (which is the name of a file in there) but got the same result. What am I missing? Thanks for your help!



[ Reply to This | # ]
Making sure it's executable
Authored by: osxpounder on Dec 17, '03 10:13:32AM
I'm no UNIX expert, but:

In Terminal, look at a listing of that directory you mention, the one that has the file "configure" in it, but type the ls command as follows:

ls -la|more

[If there are too many files to show in the window, the 'more' keeps the list from scrolling until you whack the space bar]

Listing the files this way shows you what permissions are set on each file, over at the far left. You want to see if the 4th place over from the left has an 'x' in it, as follows:

-rwxr--r-x 1 james james 169 12 Dec 17:32 foo

The above example shows a file that is executable, and I know because of the 4th character from the left: it's an 'x' instead of a dash ['-'].

If you don't see an 'x' there, you need to use the chmod command to make your file executable:

chmod u+x foo

Pardon me if I've just explained something you already knew! I started this post yesterday and just now noticed I hadn't finished it yet.

---
--
osxpounder

[ Reply to This | # ]