wifi can be a tricky thing
you need to identify what wifi chip it's using
you could open up the box and look at the wifi module on the board, or
you could grab a boot log from serial console output from original android installation, or
you could try to run `lsusb` to see if there are any obvious usb-based wifi adapter VID/PIDs there (e.g. realtek, etc)
If it's not usb internally-connected wifi module, then likely the module may be connected to internal SDIO bus, which I think will require custom dts to modify and produce a dtb which tells the kernel where to find the wifi adapter. (This usually involves dumping/grabbing the original dtb on the box, which is usually flashed to a particular amlogic partition, and then inspecting it, and hand translating it to modern devicetree - as steeman mentioned, all the android-based images use an ancient 3.x custom, vendor provided kernel, with very vendor specific devicetree features. Modern kernels use a different set of devicetree syntaxes.
Then you have to make sure you have the right wifi driver installed/available. Then you have to make sure you have the right firmware installed/available (as most of these wifi modules require soft-loading firmware at boot).
root@onecloud:~# lsusb
Bus 001 Device 003: ID 0bda:8179 Realtek Semiconductor Corp. RTL8188EUS 802.11n Wireless Network Adapter
Bus 001 Device 002: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub