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

Christian Lamparter chunkeey at gmail.com
Fri Jun 14 13:23:56 EDT 2019

Hello Linus,

On Tuesday, June 11, 2019 4:40:12 PM CEST Linus Walleij wrote:
> 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 ...
Yeah, now that I'm home (I'm away pretty much "away" during the workdays
of the week) I did take a quick look.

target/linux/gemini/config-4.14 and target/linux/gemini/config-4.19
both have
# CONFIG_PACKET is not set

I think these should be removed (so CONFIG_PACKET is enabled because
target/linux/generic/config-4.1X sets it to =y)? Because otherwise
other helpful tools like tcpdump won't work either.

I put together a patchset in my staging tree starting from 


Let me know if this works now with the ip tool.


openwrt-devel mailing list
openwrt-devel at lists.openwrt.org

More information about the openwrt-devel mailing list