Am 02.03.2017 um 17:37 schrieb Freek de Kruijf:
Op donderdag 2 maart 2017 14:59:16 CET schreef Roger Oberholtzer:
On Thu, Mar 2, 2017 at 12:11 PM, Andreas Färber <afaerber@suse.de> wrote:
Am 02.03.2017 um 08:19 schrieb Roger Oberholtzer:
I have just updated my previously working RI 3 to the latest kernel for openSUSE 42.2
It seems that the device now generates a unique MAC address on the wired Ethernet connection each time it is powered on. Could this happen? If so, how can I change it back to use a fixed MAC address?
I noticed a similar DHCP issue on RPi2 with Tumbleweed recently - so far no one knew why. U-Boot should pass the MAC address to the kernel in the device tree so that this doesn't happen - TW and Leap should be using different U-Boot versions, so that hints at a kernel regression.
I changed the Raspberry to use a static address. Now I can access it over the network.
I'm not sure how to proceed to get back using an address if gets via dhcp.
The kernel command line is:
BOOT_IMAGE=/boot/Image-4.9.6-1-default root=UUID=7c83a65d-25cb-4a95-a693-349caca50955 root=/dev/disk/by-id/mmc-SU32G_0x815062d3-part2 disk=/dev/disk/by-id/mmc-SU32G_0x815062d3 resume=/dev/disk/by-id/mmc-SU32G_0x815062d3-part3 quiet splash=silent plymouth.enable=0 console=ttyS0,115200n8 quiet
You can use a hack by using a systemd file generated by the following shell script:
Another solution is to interrupt U-Boot by pressing a key, looking up the real address with `printenv ethaddr` (untested) and putting that into /etc/sysconfig/network/ifcfg-eth0. Maybe even try YaST. That avoids a custom service. Regards, Andreas -- SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG Nürnberg) -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org