Dlink DIR-867 LuCi flashing problem and cant connect to internet

My firmware is from the ramips architecture so the packages I downloaded are from the generic folder of the same architecture. So maybe I missed a few packages?

openwrt-ramips-mt7621-dlink_dir-867-a1-squashfs-factory