LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-08-2003, 10:31 AM   #1
gexiaofei
Member
 
Registered: Jul 2003
Location: Beijing,China
Distribution: RedFlag Linux, and RedHat Linux(now)
Posts: 133

Rep: Reputation: 15
how to find out my MAC address


Hi,

Would someone pleasetel me how to find out my MAC address?

I did " ip maddr" and it showed me something. But I dont know whether it is my MAC address.

Thanks.

xiaofei
 
Old 08-08-2003, 11:12 AM   #2
Blinker_Fluid
Member
 
Registered: Jul 2003
Location: Clinging to my guns and religion.
Posts: 683

Rep: Reputation: 63
ifconfig
 
Old 08-08-2003, 11:17 AM   #3
gexiaofei
Member
 
Registered: Jul 2003
Location: Beijing,China
Distribution: RedFlag Linux, and RedHat Linux(now)
Posts: 133

Original Poster
Rep: Reputation: 15
[root@xiaofei root]# ipconfig
bash: ipconfig: command not found
[root@xiaofei root]#
 
Old 08-08-2003, 11:18 AM   #4
jalal
Member
 
Registered: Aug 2003
Location: .bh
Distribution: Gentoo
Posts: 188

Rep: Reputation: 30
as root, do a "ifconfig eth0"

and look at "HWaddr"
 
Old 08-08-2003, 12:04 PM   #5
Blinker_Fluid
Member
 
Registered: Jul 2003
Location: Clinging to my guns and religion.
Posts: 683

Rep: Reputation: 63
ifconfig not ipconfig
 
Old 08-08-2003, 12:42 PM   #6
gexiaofei
Member
 
Registered: Jul 2003
Location: Beijing,China
Distribution: RedFlag Linux, and RedHat Linux(now)
Posts: 133

Original Poster
Rep: Reputation: 15
Oh, I made a mistake.

Thank you. It works.
 
Old 08-18-2003, 01:24 AM   #7
VioLaToR
Member
 
Registered: Aug 2002
Distribution: ArchLinux 2007.08 / Slackware 11.0
Posts: 58

Rep: Reputation: 15
how about the equivanlent of ifconfig for RH9 ?

Code:
[root@dhcp-241-3 stuff]# ifconfig -a
bash: ifconfig: command not found
[root@dhcp-241-3 stuff]# ifconfig eth0
bash: ifconfig: command not found
 
Old 08-18-2003, 01:57 AM   #8
mobassir
Member
 
Registered: Jul 2003
Location: Pakistan
Distribution: Redhat , SME
Posts: 346

Rep: Reputation: 30
logon as a root
and use following command

ifconfig
and see = eth0 Link encap:Ethernet HWaddr (here should be
mac)
for more help use
ifconfig --help
man ifconfig

thanks for joining this forum
 
Old 08-18-2003, 02:05 AM   #9
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
Quote:
Originally posted by VioLaToR
how about the equivanlent of ifconfig for RH9 ?

Code:
[root@dhcp-241-3 stuff]# ifconfig -a
bash: ifconfig: command not found
[root@dhcp-241-3 stuff]# ifconfig eth0
bash: ifconfig: command not found
try using:

/sbin/ifconfig eth0

in rh 7.3, ifconfig is in /sbin and for me, anyway. if it's not there for you then this command should work in order to find it:

whereis ifconfig
 
Old 08-18-2003, 12:08 PM   #10
VioLaToR
Member
 
Registered: Aug 2002
Distribution: ArchLinux 2007.08 / Slackware 11.0
Posts: 58

Rep: Reputation: 15
/sbin/ifconfig

was just the ticket i needed. thanks.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to find an IP address from the MAC address of a remote machine ? jitz Linux - General 3 01-03-2006 07:55 AM
How to find IP address of a machine if I know their MAC Address dysenteryduke Linux - Networking 13 09-12-2005 10:21 AM
How to find MAC address of a specified IP address ? longtongfish Programming 1 07-12-2005 03:26 PM
how can i find mac address compzoo Linux - Networking 3 02-03-2005 02:02 PM
how to find IP if I have MAC address bojo Linux - Networking 3 11-29-2003 10:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:03 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration