Meshtastic --tunnel -> sh: 1: ifconfig: not found

I have also created an issue for this: Tunnel: ifconfig are outdated · Issue #467 · meshtastic/python · GitHub

On Linux distributions ifconfig is no longer up to date and ip should be used. The only legitimate purpose for ifconfig would be on BSD systems.