Currently I have a custom firmware with kmod-bonding included on my teltonika rutx12 router. I can bond eth0 and eth1 into a new interface bond0. I even see packets coming through bond0 after running ifconfig.
Trying to bond wwan0 and wwan1 using :
ip link set dev wwan0 down
ip link set dev wwan0 master bond0
after running set master, I get a permission error. Though i can handle working around this by routing wwan0 and wwan1 traffic to eth0 and eth1, but im not sure how hacky that solution is.
Alternatively, is there a way to allow wwan interfaces to be assigned as slaves?
It appears you are using firmware that is not from the official OpenWrt project.
When using forks/offshoots/vendor-specific builds that are "based on OpenWrt", there may be many differences compared to the official versions (hosted by OpenWrt.org). Some of these customizations may fundamentally change the way that OpenWrt works. You might need help from people with specific/specialized knowledge about the firmware you are using, so it is possible that advice you get here may not be useful.
Ask for help from the maintainer(s) or user community of the specific firmware that you are using.
Provide the source code for the firmware so that users on this forum can understand how your firmware works (OpenWrt forum users are volunteers, so somebody might look at the code if they have time and are interested in your issue).
If you believe that this specific issue is common to generic/official OpenWrt and/or the maintainers of your build have indicated as such, please feel free to clarify.
I see, okay will go to teltonika forum. so just as quick clarification, wwan0 should then typically be able to be assigned as a slave in normal circumstances?