<shellcmd> in interfaces not working
-
if I run below from ssh cli, it works
ifconfig igb2 -txcsum -rxcsum -tso4 -tso6 -lro -txcsum6 -rxcsum6 -vlanhwtso
but for my 8 port i3, even though i have disabled all in the advanced menu,
igb0 and igb2 show with them enabled.on a separate note, all interfaces get an ipv6 address, even though ip6 is disabled in the menu
I added below, but does not seem to work
<lan> <descr><![CDATA[INT_KG_SPARE]]></descr> <if>igb2</if> <enable></enable> <spoofmac></spoofmac> <ipaddr>192.168.x.x</ipaddr> <subnet>26</subnet> <gateway></gateway> <ipaddrv6></ipaddrv6> <subnetv6></subnetv6> <gatewayv6></gatewayv6> <shellcmd>ifconfig igb2 -txcsum -rxcsum -tso4 -tso6 -lro -txcsum6 -rxcsum6 -vlanhwtso</shellcmd> </lan>
-
@gwaitsi i solved the problem by installing the shellcmd package and install via the package. now have the desired results.
i am still curious why each interface gets an ipv6 if it is meant to be disabled
-
@gwaitsi said in <shellcmd> in interfaces not working:
i am still curious why each interface gets an ipv6 if it is meant to be disabled
Your interfaces will get IPv6 link-local addresses. Those are harmless.
-
shellcmds don't go in the interfaces config like that. They would never get run there. They should be in the main <system> section, you will see the package has added them there.