Celebrity News...
  1. Lindsay Lohan's happy movies
  2. Oasis fan Liam Gallagher
  3. Victoria Beckham's Spice advice
  4. Colin Farrell's grave drinking
Entertainment...
  1. Preity Zinta Has 'Karmic' Connection
  2. Rock's nice guy Fran Healy
  3. High School Musical graduates
  4. Squire Open To Anderson Returning To Yes.
Latest Music...
  1. Ironik’s New Single Stay With Me
  2. The Best Of Creedence Clearwater Revival
  3. Black Kids New Album Partie Traumatic
  4. Paul Heaton New Album The Cross Eyed Rambler
Movie Reviews...
  1. Katyn
  2. Roman Polanski: Wanted and Desired
  3. The Heckler
  4. Cinema's Action Women


Female First Forum Forum Index
Get MAC Address
 
Post new topic   Reply to topic    Female First Forum Forum Index -> Computer Problem Solver
Author Message
jinjin
FemaleFirst Guru


Joined: 11 Oct 2006
Posts: 85109


PostPosted: Fri Sep 21, 2007 5:23 pm    Post subject: Get MAC Address Reply with quote

I wish to establish a Wake On LAN command console at home. The Magic Packet Wake On LAN application (that I plan to use) requires both the IP and MAC Address of the destination computer to wake up.

So I have been wondering if there is an alternative to accessing the console of each of my machines to identify the MAC address of the network interface.

Ideally, I wish to be able to query each computer remotely get their MAC address. The MAC address should be stored in the IP packet, so I think it is possible for a specially designed network application to display it.

What are your recommendations on freeware or shareware networking applications that can perform this task?
Back to top
monosodium
FemaleFirst Guru


Joined: 21 Oct 2005
Posts: 5766
Location: In UR base snifin all UR pantys

PostPosted: Fri Sep 21, 2007 9:38 pm    Post subject: Reply with quote

If I remember rightly you have a router - you can get the MAC addresses out of that although it may not tell you which machine is which depending on how your network is configured.

Alternatively you can use the windows command line utilities PING and ARP to get them.


PING will translate the machine name to an IP address.

Code:
>ping oldpc

Pinging oldpc [192.168.1.16] with 32 bytes of data:

Reply from 192.168.1.16: bytes=32 time<1ms TTL=128
Reply from 192.168.1.16: bytes=32 time<1ms TTL=128
Reply from 192.168.1.16: bytes=32 time<1ms TTL=128
Reply from 192.168.1.16: bytes=32 time<1ms TTL=128

Ping statistics for 192.168.1.16:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 0ms, Average = 0ms



ARP (with the -a switch) shows you the MAC address for a given IP address. So using the ip address from the ping...

Code:
>arp 192.168.1.16 -a

Interface: 192.168.1.6 --- 0x2
  Internet Address      Physical Address      Type
  192.168.1.16          xx-xx-xx-xx-xx-xx     dynamic


If you leave out the IP address for the ARP command it will show all the IP's and MAC addresses that your machine has contacted (recently-ish).
Back to top
jinjin
FemaleFirst Guru


Joined: 11 Oct 2006
Posts: 85109


PostPosted: Sun Sep 23, 2007 4:16 am    Post subject: Reply with quote

Thanks. arp will do just fine.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Female First Forum Forum Index -> Computer Problem Solver All times are GMT
Page 1 of 1

 


Powered by phpBB © 2001, 2005 phpBB Group
terms and conditions Latest Posts