Re: [Tutor] Find and test a device by MAC address

2007-01-05 Thread János Juhász
Dear Lumbricus, > From: [EMAIL PROTECTED] > Subject: Re: [Tutor] Find and test a device by MAC address > To: tutor@python.org > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain; charset="iso-8859-1" > Quick and dirty: > As root: > >>>

Re: [Tutor] Find and test a device by MAC address

2007-01-04 Thread lumbricus
Quick and dirty: As root: >>> from scapy import * >>> arping("192.168.0.1/24") # or whatever fits to your network and then filter the answers; or build your own arp packets with ARP(). -- Freedom, Freedom, Freedom, Oi! -- Zoidberg Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu

[Tutor] Find and test a device by MAC address

2007-01-03 Thread János Juhász
Dear All, I got a device that uses DHCP on my network, I know just the MAC address of it. Is it possible to find out (not from the DHCP server), what IP address is given for it ? I just mean something like ping_by_MAC 00-19-E7-5C-D4-28 Yours sincerely, __ Janos J