From: Lorenz Kolb <linuxppcemb@lkmail.de>
To: smitha.vanga@wipro.com
Cc: scottwood@freescale.com, linuxppc-dev@lists.ozlabs.org
Subject: Re: Mac address in the DTS file
Date: Fri, 30 Dec 2011 15:00:18 +0100 [thread overview]
Message-ID: <4EFDC3F2.7000607@lkmail.de> (raw)
In-Reply-To: <40631E9A2581F14BA60888C87A76A1FE01C6BB@HYD-MKD-MBX4.wipro.com>
Hi Smitha,
actually it should work as normal
On 12/30/2011 1:51 PM, smitha.vanga@wipro.com wrote:
> Its constant. Am not able to change this mac -address in linux once the target is up with LINUX.
> How do I change the MAC address.
actually it should work as normal:
ifconfig ethX down
ifconfig ethX hw ether 00:11:22:33:44:55
ifconfig ethX up
> If different targets boards are connected on the network then every board will have the same MAC address as the .dtb file is the same. How to go about this problem?
Depends on your setup: normally the real MAC is stored on some onboard
configuration space (eeprom or flash).
Afterwards there are multiple ways you could work aroun the problem:
most elegant: make your bootloader replace the fake MAC with the real
one within the dtb.
Most simple one: have a startup script that reads the real MAC and does
the ifconfig magic.
Regards,
Lorenz
next prev parent reply other threads:[~2011-12-30 14:07 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-05 5:31 FW: Ethernet driver WR linux smitha.vanga
2011-08-05 18:12 ` Scott Wood
2011-08-08 5:53 ` smitha.vanga
2011-08-08 20:54 ` Scott Wood
2011-08-09 5:46 ` smitha.vanga
2011-08-09 17:56 ` Scott Wood
2011-08-25 7:57 ` Kernel boot up smitha.vanga
2011-08-25 11:11 ` Gary Thomas
2011-08-25 19:31 ` Scott Wood
2011-08-26 6:00 ` smitha.vanga
2011-08-26 20:08 ` Scott Wood
2011-09-22 15:25 ` I2c driver crash smitha.vanga
2011-09-23 1:28 ` Benjamin Herrenschmidt
2011-09-23 6:05 ` MohanReddy koppula
2011-10-03 12:31 ` Request_irq fails for IRQ2 smitha.vanga
2011-12-30 12:51 ` Mac address in the DTS file smitha.vanga
2011-12-30 14:00 ` Lorenz Kolb [this message]
2011-12-30 18:28 ` Wolfgang Denk
2012-01-09 13:54 ` Mac address in the DT smitha.vanga
2012-01-09 14:20 ` Joakim Tjernlund
2012-01-09 14:28 ` smitha.vanga
2012-01-09 14:59 ` Joakim Tjernlund
2012-01-09 22:40 ` Wolfgang Denk
2012-01-10 9:37 ` smitha.vanga
2012-01-10 9:47 ` Joakim Tjernlund
2012-01-10 21:55 ` Wolfgang Denk
2012-01-11 6:03 ` smitha.vanga
2012-02-06 14:25 ` Erase flash boot from default env smitha.vanga
2012-01-02 17:53 ` Mac address in the DTS file Scott Wood
2012-01-24 7:35 ` NTP server sync issue smitha.vanga
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4EFDC3F2.7000607@lkmail.de \
--to=linuxppcemb@lkmail.de \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=scottwood@freescale.com \
--cc=smitha.vanga@wipro.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).