It's finally solved.
There was a small conflict where I had to remove wpad-openssl in order to install wpad-mini.
I also had to install the necessary packages for wireless connectivity, including kmod-cfg80211
, wpad-mini
, mt76
, kmod-mac80211, kmod-mt76-core and kmod-mt7603.
Then I loaded the necessary kernel modules using the modprobe
command to enable the wireless card to function correctly. I checked the output of various commands, including lsmod
, iwconfig
, and ifconfig
, to troubleshoot issues with the wireless interface and connectivity.
Once I got it running, I rebuilt my own build removing some of the packaged that should not be installed and adding the ones above.
Other than the packages, your suggestion to add the wwan interface into the network file again ended up resolving the issue.
I then set option metric so that wifi becomes the default route when enabled and gets dropped when wifi is shut down.
Thank you for your help and willingness to continue helping even if we didn't understand each other in the beginning. Very much appreciated.