Yes... I assumed that you used a prebuild image... You could also build from master and include the mentioned packages with make menuconfig...
If you build from a stable tagged version you have to build with the same kernel config, else you will also see the dependency error because of kernel config hash mismatch.
I've now installed 17.01.04 - There was no reference to it from https://wiki.openwrt.org/toh/raspberry_pi_foundation/raspberry_pi
so didn't know where to find a newer version initially.
After installing kmod-rt2800-usb, a wireless file appears. I set 'disabled' to 0 and reload the network but see no wireless interface when running ifconfig, even after a reboot.
Looks good...
Do you see any output with logread if you execute wifi down or wifi up?
And if you do wifi up, is the file /tmp/run/hostapd-phy0.conf created?
daemon.notice netifd: radio0 (396): command failed: Not supported (-95)
daemon.notice netifd: radio0 (396): ./mac80211.sh: eval: line 1: /usr/sbin/hostapd: not found
It looks like you still lack the hostapd program itself. Generally wpad or wpad-mini is installed to supply /usr/sbin/hostapd. Wpad is a dual purpose binary that can be run as an AP (hostapd) or a client (wpa-supplicant).
Note that hostapd-common is just the script that creates the hostapd config. It isn't hostapd itself.
root@OpenWrt:~# opkg files wpad-mini
Package wpad-mini (2018-04-09-fa617ee6-5) is installed on root and has the following files:
/usr/sbin/wpad
/usr/sbin/hostapd
/usr/sbin/wpa_supplicant
hostapd and wpa_supplicant are links to wpad. I'm not sure what the purpose of the various "hostapd" packages are. wpad contains the full hostapd functionality.
After running opkg update (although it has already been run today) I was able to install hostapd and after running wifi up, ifconfig now shows wlan0! So must be getting close now.
Thanks to all the help I've received here I know Wifi card active, I see wlan0 and the associated SSID, but I can't connect to it.. Not sure if I have ommitted anything or got the configuration wrong. My RPi is not running DHCP, it gets its IP address from pfSense which is the internet gateway.
What else do I need to do to get Internet access on my phone or tablet via my OpenWrt RPi?
Is your lan and wlan in the same network bridge?
You hostapd config files does not have something like bridge=br-lan but your initial wifi config does define option network lan. Does lan exist?
I commented out the 'bridge' before because I didn't understand it. OpenWrt is such a good learning tool for networks. i may even try setting up a VLAN next.