[SunHELP] How can i get the MAC address

Joe Pampel joe at ardsley.com
Tue Jun 18 10:02:34 CDT 2002


I didn't realize that.. makes sense though!
Thanks!

>>> Jeremy RJ Towers <jeremytowers at yahoo.co.uk> 06/18/02 10:39AM >>>
ifconfig -a only returns the MAC address if you are root, it does not
return it as a normal user.

HTH

Jeremy


-Mark Sailer- wrote:

>ifconfig -a doesn't return the mac address.
>Try arp hostname.  This will give you IP and MAC
>address
>
>Mark
>
>--- Joe Pampel <joe at ardsley.com> wrote:
>
>
>>For host ID:  just type "hostid"  This will return
>>the hex host ID.
>>For hostname, type "hostname" This will return the
>>given machine name.
>>
>>For the MAC address, type "ifconfig -a"  This will
>>return all info about your
>>interfaces including the MAC addresses.
>>
>>hth
>>
>>Joe
>>
>>
>>
>>
>>
>>>>>"Zakaria A. Mattar" <zmattar at atc.com.sa>
>>>>>
>>>>>
>>06/18/02 08:10AM >>>
>>Hello there,
>>How can i get the MAC address, and the host id for a
>>sparc machine while
>>its up.
>>
>>Zakaria A. Mattar
>>Advanced Telecom Co.
>>Operation Engineer
>>Tel:   +966 1 4601877/114
>>Fax:   +966 1 4601988
>>Email: zmattar at atc.com.sa
>>_______________________________________________
>>SunHELP maillist  -  SunHELP at sunhelp.org
>>http://www.sunhelp.org/mailman/listinfo/sunhelp
>>
>>
>>
>>
>>
>>
>**********************************************************************
>
>
>>This email and any files transmitted with it are
>>confidential and
>>intended solely for the use of the individual or
>>entity to whom they
>>are addressed. If you have received this email in
>>error please notify
>>the system manager.
>>
>>This footnote also confirms that this email message
>>has been swept by
>>MIMEsweeper for the presence of computer viruses.
>>
>>www.mimesweeper.com
>>
>>
>>
>**********************************************************************
>
>
>>_______________________________________________
>>SunHELP maillist  -  SunHELP at sunhelp.org
>>http://www.sunhelp.org/mailman/listinfo/sunhelp
>>
>>
>_______________________________________________
>SunHELP maillist  -  SunHELP at sunhelp.org
>http://www.sunhelp.org/mailman/listinfo/sunhelp
_______________________________________________
SunHELP maillist  -  SunHELP at sunhelp.org
http://www.sunhelp.org/mailman/listinfo/sunhelp



**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**********************************************************************



More information about the SunHELP mailing list