Computing.Net > Forums > Novell Netware > Tracking users by mac address

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Tracking users by mac address

Reply to Message Icon

Name: khalsa
Date: April 4, 2003 at 10:14:00 Pacific
OS: Win Xp, Novell netware
CPU/Ram: none
Comment:

Hi,

i have tried using nlist to track a user from a his mac address, but the problem is it doesn't list the mac address it just prints 0 , why is that? is there any other solution that i can track down a user from his mac address?

c:\>nlist user /a/b | find "mac address"

but all the mac addresses listed are 0

Thanks




Sponsored Link
Ads by Google

Response Number 1
Name: wanderer
Date: April 4, 2003 at 13:27:19 Pacific
Reply:

how about nbtstat -A ipaddress? It gives you the mac address if they are ms machines. You can see what the ip address is of the logged in user in nwadmin and their client properties.


0

Response Number 2
Name: Khalsa
Date: April 4, 2003 at 16:47:32 Pacific
Reply:

yes, nbtstat will give me info about the mac address if i provide the ip address/hostname. But what i need is the ip address/hostname from the mac address.

The mac address will always remain the same,
and the ip address changes. Yes, you are right i can get the ip address of the all the active users but i wanted to track down users from their mac address.. not ip

Thanks


0

Response Number 3
Name: wanderer
Date: April 5, 2003 at 14:06:38 Pacific
Reply:

Mac address and host name don't change even if you use dhcp. Instead to mac address why not use host name? I think Zenworks could give you that kind of info by quering the dynamic dns tables but otherwise I don't know. In windows and .net forums someone posted a script by which they could get the ipaddress by the mac address so you might want to search/post there.


0

Response Number 4
Name: Khalsa
Date: April 5, 2003 at 21:53:42 Pacific
Reply:

Hostname does change depending on the location you are logged in from, and along with the changed hostname resolves to a different IP. The only way to keep track of a computer is the MAC. I couldn't find any script file that you were saying, but i have made my a batch file for that does the same thing. It will ping the network and fill up tyhe arp cache which you can then use to find the ip address, by

arp -a | find "mac address"

Here is the script that i made, if anyone requires to find the IP address from the MAC address

@echo off
:Start
IF "%4"=="" GOTO Help
SET thirdOctet=%1
SET thirdlimit=%2
SET fourthOctet=%3
SET fourthlimit=%4
IF "%5"=="" SET net1=131
SET net1=%5
IF "%6"=="" SET net2=162
SET net2=%6
IF "%7"=="" SET timeOut=100
SET timeOut=%7
GOTO IP

:IP
IF %fourthOctet% GEQ %fourthlimit% GOTO PART2
SET ipadd=%net1%.%net2%.%thirdoctet%.%fourthOctet%
ECHO Processing %ipadd%
GOTO PART1

:PART1
ping -n 1 %ipadd% -w %timeOut% > junk.del
GOTO Update

:Update
SET /A fourthOctet=%fourthOctet%+1
GOTO IP

:PART2
IF %thirdOctet% GEQ %thirdlimit% GOTO END
SET fourthOctet=1
SET /A thirdOctet=%thirdOctet%+1
SET ipadd=%net1%.%net2%.%thirdOctet%.%fourthOctet%
ECHO Processing %ipadd%
GOTO PART1

:Help
ECHO Usage :
ECHO C_ARP 3rd_octet 3rd_limit 4th_octet 4th_limit [Optional 1st_octet] [Optional 2nd_octet] [Optional Timeout]
----------------
ECHO Example Usage 1 :
ECHO C_ARP 145 147 1 255
ECHO will scan the ip ranges from 131.162.145.1 to 131.162.145.255
ECHO and 131.162.146.1 to 131.162.146.255
ECHO and 131.162.147.1 to 131.162.147.255
ECHO C_ARP 145 147 1 255 156 230 10
ECHO will do the same thing except that 131 will be replaced by 156
ECHO and 162 will be replaced by 230
ECHO the timeout will be 10 instead of 100
ECHO NOTE :
ECHO The parameters 1st_octet, 2nd_octet and Timeout should be
ECHO entered in sequence if you use it.
ECHO .....................................................................
ECHO ABOUT THE BATCH FILE
ECHO .....................................................................
ECHO I created this as i needed a way to get the ip address
ECHO from the mac address, since the hostname changes
ECHO depending from where you are logged in (ex, Carnegie or Library)
ECHO This batch script pings all the ip addresses of the range of
ECHO 131.162.third_octet.fourth_octet to 131.162.third_limit.fourth_limit
ECHO This in effect fills the cache tables of your ARP, which you can
ECHO then use to determine the ip address from the mac address you have!!
ECHO Use arp -a to display your arp table and Use arp -d * to clear your arp cache
---------------
ECHO DEVELOPED BY KHALSA
ECHO CONTACT : 050188s@acadiau.ca
ECHO When one door closes, another opens
GOTO LETGO

:END
del junk.del
arp -a > results.arp
ECHO ARP table saved in file results.arp, Good luck !!
:LETGO



0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Novell Netware Forum Home


Sponsored links

Ads by Google


Results for: Tracking users by mac address

Login Via Mac Addresses on WIn2k Server www.computing.net/answers/netware/login-via-mac-addresses-on-win2k-server/3377.html

Giving a user an IP address www.computing.net/answers/netware/giving-a-user-an-ip-address/4540.html

Netware client says user is logging in to too many stations www.computing.net/answers/netware/netware-client-says-user-is-logging-in-to-too-many-stations/714.html