[OpenWrt-Devel] [PATCH 1/3] gemini: Make a per-board case for ethernet MAC

Linus Walleij linus.walleij at linaro.org
Tue Jun 11 10:40:12 EDT 2019


Hi Christian,

I worked in all the changes you requested until I got to this:

On Thu, May 30, 2019 at 12:46 AM Christian Lamparter <chunkeey at gmail.com> wrote:

> > +                             ifconfig eth0 hw ether $MAC1 2>/dev/null
>
> I guess while we are at it, why not change it to
> "ip link set dev eth0 address $MAC1"

Testing this:

ip link set eth0 address 00:50:c2:11:11:11
ip: socket(AF_PACKET,2,0): Address family not supported by protocol

Any hints? According to the help it should work ...

Yours,
Linus Walleij

_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list