LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 08-23-2004, 10:39 PM   #1
ntwkthtbtch
LQ Newbie
 
Registered: Aug 2004
Posts: 3

Rep: Reputation: 0
MAC address? DHCP - Home Network


How do I find my MAC address?
I tried the /sbin># ifconfig -a
but I get: "bash: ifconfig: command not found " (even as root/su)

As a noob to Linux; All I want to do it be able to surf the web (for starteres) on my laptop (running Fedora Core 2) from my Home Network (DLink DI-604 Router).
DHCP on the Laptop NIC didn't discover so I put in a static IP. This let me ping the router and other PC's but there was no DHCP entry in the router. I tried to put a static DHCP entry in but it wanted the MAC.

Anyone have any suggestions (besides going back to MSWindows)?

Thanks, l8r.
 
Old 08-23-2004, 10:45 PM   #2
ntwkthtbtch
LQ Newbie
 
Registered: Aug 2004
Posts: 3

Original Poster
Rep: Reputation: 0
Nevermind, I found it using a DOS prompt (>arp) from my windows machine and then again thru the GUI on the Linux box.

...I'm online, but it took a little trial-and-error.......

....I told you I was a noob.

Last edited by ntwkthtbtch; 08-23-2004 at 11:07 PM.
 
Old 08-24-2004, 07:08 AM   #3
myriad-zero
Member
 
Registered: Aug 2004
Location: /india/tn/chennai
Distribution: Debian
Posts: 38

Rep: Reputation: 15
You donot need root privelegs to just run 'ifconfig'. You will need the privelege only when you are about to set some values using it. Below is the output from my server.
Code:
<ravip@lfx1> (Tue Aug 24 08:03:59) [/netsim/bsdnfs05/ravip]
$ /sbin/ifconfig
eth0      Link encap:Ethernet  HWaddr 00:40:F4:51:39:2E
          inet addr:10.1.172.150  Bcast:10.1.175.255  Mask:255.255.252.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:8142793 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8951145 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:329376235 (314.1 Mb)  TX bytes:2539672855 (2422.0 Mb)
          Interrupt:17 Base address:0x5000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:1392814 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1392814 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:99483472 (94.8 Mb)  TX bytes:99483472 (94.8 Mb)
All you have to do is to run '/sbin/ifconfig'.

'arp' will give you the MAC address of all the neighbour nodes as well.
 
  


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
Home network: connecting to a Linksys router for DHCP IP address - no ping gunther Linux - Networking 28 05-20-2005 10:14 PM
DHCP + Mac address tiger3090 Linux - Networking 1 12-07-2004 08:13 AM
DHCP Server MAC Address found, IP address not assigned wmburke Linux - Wireless Networking 17 11-17-2004 10:33 AM
ISC DHCP Server MAC Address dlucas10 Linux - Networking 1 05-25-2004 05:49 PM
MAC Address Encap Vs DHCP zooma Linux - Networking 0 11-21-2001 09:14 AM


All times are GMT -5. The time now is 05:54 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration