[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: mac address



On Thu, December 22, 2005 21:28, Jay Zach said:
> Kent West wrote:
>> Tony Heal wrote:
>>>how do I obtain the mac address of eth0 and eth1 on a remote server?
>> ssh in, and run "ifconfig"
>
>
> run
>
> 'nmap -sP hostname'
>

Yes, that is correct if you run it as root...


ernst@mad $ nmap -sP homes

Starting nmap 3.81 ( http://www.insecure.org/nmap/ ) at 2005-12-22 21:31 CET
Host homes (x.x.x.x) appears to be up.
Nmap finished: 1 IP address (1 host up) scanned in 0.168 seconds

ernst@mad $ sudo nmap -sP homes

Starting nmap 3.81 ( http://www.insecure.org/nmap/ ) at 2005-12-22 21:31 CET
Host homes (x.x.x.x) appears to be up.
MAC Address: x:x:x:x:x:x (3com)
Nmap finished: 1 IP address (1 host up) scanned in 0.365 seconds
ernst@mad $


>
>
>
> --
> --------------------------------------------------------------------------------
>
> Sun in the night, everyone is together,
> Ascending into the heavens, life is forever.
> 		-- Brand X, "Moroccan Roll/Sun in the Night"
>
> Thursday Dec 22, 2005
>
> --------------------------------------------------------------------------------
>
>
>
> --
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmaster@lists.debian.org
>
>


-- 
/ernst-magne

Webmail @ vindal.com - Debian - Apache2
-----------------------------------------
Mailen er sendt med SquirrelMail.
   "Webmail for nuts!"
http://squirrelmail.org/





Webmail @ vindal.com - Debian - Apache2
-----------------------------------------
Mailen er sendt med SquirrelMail.
   "Webmail for nuts!"
http://squirrelmail.org/



Reply to: