Ran Shalit | 1 Jul 2012 11:29
Picon

Modifying IP&mac address

Hello,

I would like to ask your advise concerning modifying ip address:
I need to modify ip address and ethernet address according to some
hardware input in application. This change can be done in u-boot or
linux.
When I consider where is the best place to set the ip/mac address (
u-boot or linux), I also take into account that I will work with NFS
in debug stage.
Now, as far as I understand, If I will modify the ip/mac in linux
instead of u-boot, it can be a problem when working with NFS, becuase
NFS need constant ip address and ethernet.
Is it a problem to make this changes in linux if working with NFS or
should it be done in u-boot only ?

Thank you, Ran
Ran Shalit | 2 Jul 2012 21:45
Picon

Modifying IP&mac address

Hello,

I would like to ask your advise concerning modifying ip address:
I need to modify ip address and ethernet address according to some
hardware input in application. This change can be done in u-boot or
linux.
When I consider where is the best place to set the ip/mac address (
u-boot or linux), I also take into account that I will work with NFS
in debug stage.
Now, as far as I understand, If I will modify the ip/mac in linux
instead of u-boot, it can be a problem when working with NFS, becuase
NFS need constant ip address and ethernet address, right ?
Is it a problem to make this changes in linux if working with NFS or
should it be done in u-boot only ?

Thank you,
Ran
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@...
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Mike Frysinger | 19 Jul 2012 00:41
Picon
Favicon
Gravatar

Re: Modifying IP&mac address

On Sunday 01 July 2012 05:29:15 Ran Shalit wrote:
> I would like to ask your advise concerning modifying ip address:
> I need to modify ip address and ethernet address according to some
> hardware input in application. This change can be done in u-boot or
> linux.
> When I consider where is the best place to set the ip/mac address (
> u-boot or linux), I also take into account that I will work with NFS
> in debug stage.
> Now, as far as I understand, If I will modify the ip/mac in linux
> instead of u-boot, it can be a problem when working with NFS, becuase
> NFS need constant ip address and ethernet.
> Is it a problem to make this changes in linux if working with NFS or
> should it be done in u-boot only ?

if you store the IP/mac address in u-boot's environment, there are utils to 
update u-boot's environment from under linux.  look under tools/env/.
-mike
_______________________________________________
U-Boot mailing list
U-Boot <at> lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Gmane