No traffic in AP mode on Rasberry Pi4

@LilRedDog

I rebuilt the configuration from scratch to document exact steps of getting to the point that device connects to Internet via LTE dongle and has WiFi drivers for external card, but when that (or internal) card is set into AP mode, it doesn't provide IP address to connected clients, nor routes the traffic if IP is set statically

  1. Install WiFi drivers and utils for Comfast CF-WU785AC
opkg install kmod-mt76x2u usb-modeswitch kmod-usb-net kmod-usb3 kmod-usb-core usbutils
  1. Install modules, drivers and utils for Huawei E3372h-320
opkg install comgt-ncm kmod-usb-net-cdc-ether kmod-usb-serial-option
  1. Modify /etc/gcom/ncm.json Initialize section to look like this:
                "initialize": [
                        "AT",
                        "ATE1",
                        "AT+CGDCONT=${profile},\\\"${pdptype}\\\"${apn:+,\\\"$apn\\\"}"
                ],
  1. Modify /etc/usb-mode.json as per Huawei E3372h-320 in NCM mode - #12 by woec
  • Added this line at the end of messages block:
"55534243123456780000000000000011063000000000010000000000000000"
  • Modified this block in devices section to use new message (index 61):
"12d1:1f01": {
                         "*": {
                                 "t_vendor": 4817,
                                 "t_product": [ 5339, 5340 ],
                                 "mode": "HuaweiNew",
                                 "msg": [  61 ]
                    }
             }
  1. Added new lte interface to /etc/config/network:
config interface 'lte'
        option proto 'static'
        option device 'eth1'
        list ipaddr '192.168.8.10/24'
        option gateway '192.168.8.1'
        list dns '192.168.8.1'

With this I can access the internet from Raspberry, but not AP clients

P.S. Apologies for taking so long, I got sidetracked by... ugh... life...