Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How to tell what your MAC address is.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
zecora
l33t
l33t


Joined: 17 Aug 2004
Posts: 627
Location: Minneapolis, MN

PostPosted: Tue Nov 30, 2004 10:58 pm    Post subject: How to tell what your MAC address is. Reply with quote

How to find out mac address?

I know i can just look on the card, but is there a command i can do that tells me it?
Back to top
View user's profile Send private message
Little Nemo
l33t
l33t


Joined: 29 Mar 2004
Posts: 623
Location: Berlin, Germany

PostPosted: Tue Nov 30, 2004 10:59 pm    Post subject: Reply with quote

ifconfig
Back to top
View user's profile Send private message
zecora
l33t
l33t


Joined: 17 Aug 2004
Posts: 627
Location: Minneapolis, MN

PostPosted: Tue Nov 30, 2004 11:13 pm    Post subject: Reply with quote

where does it say the mac address?
Back to top
View user's profile Send private message
j-m
Retired Dev
Retired Dev


Joined: 31 Oct 2004
Posts: 975

PostPosted: Tue Nov 30, 2004 11:19 pm    Post subject: Reply with quote

zecora wrote:
where does it say the mac address?


Quote:

# ifconfig
eth0 Link encap:Ethernet HWaddr 00:04:61:11:22:33



Duh! :roll:
Back to top
View user's profile Send private message
zecora
l33t
l33t


Joined: 17 Aug 2004
Posts: 627
Location: Minneapolis, MN

PostPosted: Tue Nov 30, 2004 11:23 pm    Post subject: Reply with quote

i thought it was longer than that.


my bad
Back to top
View user's profile Send private message
Cocker68
Apprentice
Apprentice


Joined: 16 Jan 2003
Posts: 227
Location: Germany

PostPosted: Wed Dec 01, 2004 1:10 pm    Post subject: Reply with quote

How to find out mac address, sitting on a different machine?

Code:
# ping -c 1 <IP-address>
# arp -a <IP-address>

with <IP-address> being the one of the machine to query.

- Cocker :wq
Back to top
View user's profile Send private message
Little Nemo
l33t
l33t


Joined: 29 Mar 2004
Posts: 623
Location: Berlin, Germany

PostPosted: Wed Dec 01, 2004 2:21 pm    Post subject: Reply with quote

That only works for machines on the same ethernet segment, of course.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum