Closed jiapei100 closed 6 years ago
Sorry,We don't maintain armbian's rom. In friendlyelec's rom: $ cd uboot $ grep mac_node ./* -nR ./board/sunxi/board.c:778: char mac_node[32]; ./board/sunxi/board.c:779: sprintf(mac_node, "[%x %x %x %x %x %x]", \ ./board/sunxi/board.c:783: env_set("mac_node", mac_node); ./board/sunxi/board.c:784: sprintf(mac_node, "[%x %x %x %x %x %x]", \ ./board/sunxi/board.c:788: env_set("wifi_mac_node", mac_node); and check boot.cmd: fdt set ethernet0 local-mac-address ${mac_node}
Hi, I met another weird issue:
I tried to setup a static IP address for my NanoPi NEO, which should actually bundle the NanoPI NEO's GigE MAC address and the static IP. Whenever I reboot the NanoPI NEO, its GigE MAC address changes, and an random IP address is automatically allocated, via DHCP.
I mean, the previous MAC address did bundle to the static IP address that I allocated. However, there always exists a 2nd HOST name NanoPINEO which has a NEW MAC address and is allocated to a NEW IP address automatically.
I'm not sure if this is an issue of the latest kernel I've just built? Or it is an issue of the FriendlyARM BSP for AllWinner H3 ? I posted the question on armbian, FriendlyARM and AllWinner H3.
About the current NanoPiNEO (I'm still able to ssh into the random allocated IP address):