Re: Remote MAC address on Windows

2007-09-04 Thread Mark Talluto
On Sep 1, 2007, at 7:16 PM, J. Landman Gay wrote: Luis wrote: A plain text file should do it, with the MAC code encrypted. That's what I'm thinking. But encrypted or not, anyone who copies it will have access to the software. (I'm starting to wonder if I care...) ;) How about having

Re: Remote MAC address on Windows

2007-09-04 Thread J. Landman Gay
Mark Talluto wrote: How about having the server run a validation app full time. It can periodically check to see that it is installed legally on the server by checking the MAC address and then generating the appropriate key. If they both match as expected it continues to run. The server

Re: Remote MAC address on Windows

2007-09-02 Thread Jan Schenkel
--- J. Landman Gay [EMAIL PROTECTED] wrote: Is there a way to obtain the MAC address of a server from a client machine on a Windows LAN? Some web research suggests that the arp command will give what I want, but when I run it in the command line it says there are no arp entries, even

Re: Remote MAC address on Windows

2007-09-02 Thread J. Landman Gay
Jan Schenkel wrote: Qory to be so late with this, but have you considered executing a VBScript by means of a shell command? Here's the first entry of a google for mac address vbscript: http://www.winforums.com/showthread.php?t=8842 It seems it is possible to go through all the Windows machines

Re: Remote MAC address on Windows

2007-09-01 Thread Alex Tweedly
J. Landman Gay wrote: Alex Tweedly wrote: J. Landman Gay wrote: From what I read, the arp command is supposed to get what I need but I can't make it work. I think that's because my server is a Mac. If I had a Windows-only network it might work but I don't know how to test it with my

Re: Remote MAC address on Windows

2007-09-01 Thread J. Landman Gay
Alex Tweedly wrote: In any case, there was nothing in your description that said to me must be on same subnet, so as Luis said, arp is pretty much a loser once you need to handle a routed (multi-subnet) network; I'd look more into his suggestions of a script / file on the server which

Re: Remote MAC address on Windows

2007-09-01 Thread Stephen Barncard
Hi, J. I assume your clients want to do this like we used to with Hypercard, sharing a single stack. Are they trying to save per-seat charges, by saying that one user at a time is good enough? How about, as I've mentioned, a splash screen standalone at each seat to do the local

Re: Remote MAC address on Windows

2007-09-01 Thread Luis
A plain text file should do it, with the MAC code encrypted. Other than that, you could pop over and get the MAC address off the interface directly! It's stamped on all network hardware (might be on the inside though...). Whoever installs the soft can get access and use that as the key.

Re: Remote MAC address on Windows

2007-09-01 Thread Stephen Barncard
there you go! You could create a little giveaway app that does nothing but run locally, gets the MAC address of the local machine in question, and either provide a way for the user to display or cut and paste the number, or send the number to be added to a list on the server. A plain text

Re: Remote MAC address on Windows

2007-09-01 Thread J. Landman Gay
Stephen Barncard wrote: Hi, J. I assume your clients want to do this like we used to with Hypercard, sharing a single stack. Are they trying to save per-seat charges, by saying that one user at a time is good enough? No, not like that. The standalone needs to be loaded from the server, and

Re: Remote MAC address on Windows

2007-09-01 Thread J. Landman Gay
Luis wrote: A plain text file should do it, with the MAC code encrypted. That's what I'm thinking. But encrypted or not, anyone who copies it will have access to the software. (I'm starting to wonder if I care...) ;) Other than that, you could pop over and get the MAC address off the

Remote MAC address on Windows

2007-08-31 Thread J. Landman Gay
Is there a way to obtain the MAC address of a server from a client machine on a Windows LAN? Some web research suggests that the arp command will give what I want, but when I run it in the command line it says there are no arp entries, even if I successfully ping the server first. --

Re: Remote MAC address on Windows

2007-08-31 Thread Andre Garzia
Jacque, I don't know how to find a remote mac address, but a local windows mac address you can use: ipconfig /all and parse it. I think that to touch such low level info as MAC Addresses you may need some raw C/C++ code to socket structures. On 8/31/07, J. Landman Gay [EMAIL PROTECTED] wrote:

Re: Remote MAC address on Windows

2007-08-31 Thread chris bohnert
Jacque, Using XP home and the command: arp -a works here as long as I perform the requisite ping and pause briefly to let the arp cache update. -- cb On 8/31/07, J. Landman Gay [EMAIL PROTECTED] wrote: Is there a way to obtain the MAC address of a server from a client machine on a Windows

Re: Remote MAC address on Windows

2007-08-31 Thread J. Landman Gay
Andre Garzia wrote: Jacque, I don't know how to find a remote mac address, but a local windows mac address you can use: ipconfig /all Thanks. I'm already doing that locally but now I need to get it from a remote machine. and parse it. I think that to touch such low level info as MAC

Re: Remote MAC address on Windows

2007-08-31 Thread Alex Tweedly
J. Landman Gay wrote: Is there a way to obtain the MAC address of a server from a client machine on a Windows LAN? Some web research suggests that the arp command will give what I want, but when I run it in the command line it says there are no arp entries, even if I successfully ping the

Re: Remote MAC address on Windows

2007-08-31 Thread J. Landman Gay
chris bohnert wrote: Jacque, Using XP home and the command: arp -a works here as long as I perform the requisite ping and pause briefly to let the arp cache update. Thanks, that's what I read on the web too. I think I am going to have to write this blind and let the testers try it out.

Re: Remote MAC address on Windows

2007-08-31 Thread Alex Tweedly
J. Landman Gay wrote: From what I read, the arp command is supposed to get what I need but I can't make it work. I think that's because my server is a Mac. If I had a Windows-only network it might work but I don't know how to test it with my current setup. :( I very much doubt that :-)

Re: Remote MAC address on Windows

2007-08-31 Thread J. Landman Gay
Alex Tweedly wrote: allow a few seconds after the ping before trying it (should update within one second unless there are some funny config changes on the machine). remember that it will not work on wifi networks, and will only work on a simple LAN (i.e. no router between client and server)

Re: Remote MAC address on Windows

2007-08-31 Thread J. Landman Gay
Alex Tweedly wrote: J. Landman Gay wrote: From what I read, the arp command is supposed to get what I need but I can't make it work. I think that's because my server is a Mac. If I had a Windows-only network it might work but I don't know how to test it with my current setup. :( I very

Re: Remote MAC address on Windows

2007-08-31 Thread Luis
Run ifconfig on the server, plop the output into a text file on a shared folder, examine said shared file. Or, if possible, email the text file and then parse. If you have permission to run a remote shell, then you can run that in directly from the remote end. ARP info from:

Re: Remote MAC address on Windows

2007-08-31 Thread Stephen Barncard
Perhaps I'm being naive, but couldn't you use the splash screen technique for the remote 'clients'? The executable on each station could launch the main stack on the network after getting the MAC address Then that's a problem too. My app creates a serial key that is registered to a

Re: Remote MAC address on Windows

2007-08-31 Thread Luis
Ah, on Windows. Tried netstat ? I'm not in front of a Windows box at the moment, and I can't recall if the output includes the MAC address info. And note, arp is pretty much useless if it's not in the same subnet. Cheers, Luis. J. Landman Gay wrote: Alex Tweedly wrote: J. Landman Gay