Cannot ssh in to OpenWrt router over wifi?

Thanks a lot mk24,

Yes I definitely want to get OpenWrt working as a client to my home router as well but for now I'm trying to get it working as an access point so I can connect to it directly from my laptop.

My laptop wifi adapter can only work at 802.11n at 2.4GHz band and 20MHz (htmode I think)

But no matter what I try I can't get the Pi 4 radio to work at 2.4GHz. (It will create an AP on 5GHz)

This config never comes "up":

config wifi-device 'radio0'
        option type 'mac80211'
        option path 'platform/soc/3f300000.mmc/mmc_host/mmc1/mmc1:0001/mmc1:0001:1'
        #option path 'platform/soc/fe300000.mmcnr/mmc_host/mmc1/mmc1:0001/mmc1:0001:1'
        option channel '2'
        option hwmode '11g'
        option htmode 'HT20'
        option country 'IE'

config wifi-iface 'wifinet2'
        option device 'radio0'
        option mode 'ap'
        option encryption 'psk2'
        option key 'mypassword'
        option network 'lan'
        option ssid 'OpenWrt-2.4G'

When I delete the /etc/config/wireless and do: wifi config I get this:

config wifi-device 'radio0'
        option type 'mac80211'
        option channel '34'
        option hwmode '11a'
        option path 'platform/soc/fe300000.mmcnr/mmc_host/mmc1/mmc1:0001/mmc1:0001:1'
        option htmode 'VHT80'
        option disabled '1'

config wifi-iface 'default_radio0'
        option device 'radio0'
        option network 'lan'
        option mode 'ap'
        option ssid 'OpenWrt'
        option encryption 'none'

It's like OpenWrt cannot see the 2.4GHz mode on the Pi4. I wonder is that a bug? Hopefully it's something I'm doing wrong.

These are some errors I see in the System log

Tue Dec  1 23:11:35 2020 daemon.notice netifd: radio0 (10779): Could not find PHY for device 'radio0'
Tue Dec  1 23:11:35 2020 daemon.notice netifd: radio0 (10795): WARNING: Variable 'data' does not exist or is not an array/object
Tue Dec  1 23:14:40 2020 daemon.notice netifd: radio0 (10975): Could not find PHY for device 'radio0'
Tue Dec  1 23:14:40 2020 daemon.notice netifd: radio0 (10988): WARNING: Variable 'data' does not exist or is not an array/object
Tue Dec  1 23:15:10 2020 daemon.err uwsgi[946]: *** has_emperor mode detected (fd: 8) ***
Tue Dec  1 23:15:10 2020 daemon.err uwsgi[946]: [uWSGI] getting INI configuration from /etc/uwsgi/vassals/luci-cgi_io.ini
Tue Dec  1 23:15:10 2020 daemon.err uwsgi[946]: Tue Dec  1 23:15:10 2020 - [emperor] vassal /etc/uwsgi/vassals/luci-cgi_io.ini has been spawned
Tue Dec  1 23:15:10 2020 daemon.err uwsgi[946]: Tue Dec  1 23:15:10 2020 - [emperor] vassal /etc/uwsgi/vassals/luci-cgi_io.ini is ready to accept requests

Maybe I need to fill in wpa_supplicant details as discussed in this GitHub thread or install a missing module? There is also a thread on these OpenWrt forums about the same thing looks like. I tried those fixes but still can't bring up 2.4GHz wifi.

Thank you,

Flex