Re: [PATCH] ath25: fix preinit Ethernet port configuration

2020-09-10 Thread Karl Palsson
Sergey Ryazanov wrote: > On Wed, Sep 9, 2020 at 6:08 PM Adrian Schmutzler > wrote: > > > - vconfig add eth0 1 > > > + ip link add dev eth0.1 link eth0 type vlan > > > id 1 > > > > Are you sure this is correct? > > Yes, I tested this comma

Re: [PATCH] ath25: fix preinit Ethernet port configuration

2020-09-09 Thread Sergey Ryazanov
On Wed, Sep 9, 2020 at 6:08 PM Adrian Schmutzler wrote: > > - vconfig add eth0 1 > > + ip link add dev eth0.1 link eth0 type vlan id > > 1 > > Are you sure this is correct? Yes, I tested this command with an OpenWrt ip package :) > I only

RE: [PATCH] ath25: fix preinit Ethernet port configuration

2020-09-09 Thread Adrian Schmutzler
Hi, > - vconfig set_name_type > DEV_PLUS_VID_NO_PAD > ip link set eth0 up > - vconfig add eth0 1 > + ip link add dev eth0.1 link eth0 type vlan id 1 Are you sure this is correct? I on

[PATCH] ath25: fix preinit Ethernet port configuration

2020-09-06 Thread Sergey Ryazanov
vconfig is no more installed by default to a firmware image. So, replace vconfig calls for VLAN subinterface configuration by coresponding ip-link commands. Also drop few useless comments from the preinit hook script, while we are at it. I have no chance to test this fix since I have no board wit