Op zondag 14 december 2014 22:27:24 schreef Evan McClain:
While setting up my new rpi B+, I noticed that my eth0's MAC address
would change after each boot which was causing a new ip address to be
issued by my router after every boot.
I found this post roughly describing my issue:
My /proc/cpuinfo shows my Revision as 0000 (instead of 0010) and my
Serial is also just 0s. Adding: program_serial_random=1 and
program_board_rev=2 to Config.txt didn't fix the issue.
Other raspberry pi distributions do show my Serial and Revision as
expected, and eth0's MAC address isn't random.
It appears that the command line doesn't get updated with the proper
bcm2708.boardrev and bcm2708.serial (and possibly smsc95xx.macaddr)
I have built an upstream kernel (3.18.0 branch) and that doesn't seem to
help (I thought the default kernel may not be parsing the options). And
I even tried updating the boot firmware to the raspberrypi's next branch
with no impact.
I'm not too familiar with opensuse's rpi boot process, but it looks
fairly different from what I've seen on arch and raspbian (i.e. the vfat
partition is used to start the boot.scr on the ext4's /boot directory).
As this is my first rpi, I'm still trying to figure things out...
Is it possible that the kernel parameters are not being passed properly
when the kernel on the /boot/zImage is loaded?
Also, do the previous pi revisions work or is this new to the B+? Or
could this be an issue with the Factory port?
I found that entering a line in /etc/sysconfig/network/ifcfg-eth0 specifying a
desired MAC address makes it permanent. You can choose the one it got
randomly. The line looks like:
where 00:00:00:aa:bb:cc is anything of your choice.
lowercase hexadecimals worked for me.
Freek de Kruijf
To unsubscribe, e-mail: opensuse-arm+unsubscribe(a)opensuse.org
To contact the owner, e-mail: opensuse-arm+owner(a)opensuse.org