Page 1 of 1

MAC adress

Posted: Thu Aug 25, 2016 8:49 am
by Lucky06200
Hi,

On NanoPi-NEO, how is MAC adress defined ?
This adresse seems to be random (no IEEE manufacturer valid), but unique for a board.

Best regards,
Luc

Re: MAC adress

Posted: Fri Aug 26, 2016 1:32 pm
by HermannSW
Friendlyarm people should answer for the Neo.

Since the M1 is big brother of Neo (I just took Neo micro SD card and used it to boot my new M1 without problems), the answer from M1 might be the same as for the Neo. And the answer for M1 is "its a random number":
http://wiki.friendlyarm.com/wiki/index.php/NanoPi_M1#Ethernet_Connection
The NanoPi M1 by default doesn't have a valid MAC address. If the board connects a network successfully it will automatically generates a random MAC in "/etc/network/interfaces.d/eth0". Users can change it to a self-defined valid one


Hermann.

Re: MAC adress

Posted: Wed Sep 07, 2016 8:48 am
by Lucky06200
:'(

The file "/etc/network/interfaces.d/eth0" do not exist on NanoPi NEO.
It seems also that MAC adresse do not seek sd card, but seek NanoPi NEO board.

Another idea?

Re: MAC adress

Posted: Sat Oct 22, 2016 5:17 pm
by mikemoy
why would they ship a product without a valid mac address, I am not happy to hear this.

Re: MAC adress

Posted: Fri Oct 28, 2016 3:12 am
by lawrence
You can edit this file to manually set a mac address: /etc/init.d/brcm_patchram_plus