The default DIR-615E4 Chaos Calmer image doesn't have WiFi due to space constraints(4mb flash).
However, with the Image Generator ( https://wiki.openwrt.org/doc/howto/obta … e.generate ) it's possible to overcome this in most use-cases. Using LuCi, it's possible to have WiFi at the expense of either ipv6 or ppp support. Without LuCi, you can have it all.
Personal WiFi with IPV6 but without PPP:
make image PROFILE=DIR615E4 PACKAGES="kmod-ath9k wifitoggle wpad-mini luci -wpad -hostapd -hostapd-mini -ppp -ppp-mod-pppoe -kmod-ppp -kmod-pppoe -kmod-pppox -luci-proto-ppp" FILES=files/
Personal WiFi with PPP and without IPV6:
make image PROFILE=DIR615E4 PACKAGES="kmod-ath9k wifitoggle wpad-mini luci -wpad -hostapd -hostapd-mini -ip6tables -odhcp6c -kmod-ipv6 -kmod-ip6tables -luci-proto-ipv6" FILES=files/
Enterprise WiFi (RADIUS) without IPV6 and PPP:
make image PROFILE=DIR615E4 PACKAGES="kmod-ath9k wifitoggle wpad luci -wpad-mini -hostapd -hostapd-mini -ppp -ppp-mod-pppoe -kmod-ppp -kmod-pppoe -kmod-pppox -ip6tables -odhcp6c -kmod-ipv6 -kmod-ip6tables -luci-proto-ipv6 -luci-proto-ppp" FILES=files/
Enterprise WiFi (RADIUS) with IPV6 and PPP but without LuCi:
make image PROFILE=DIR615E4 PACKAGES="kmod-ath9k wifitoggle wpad -luci -wpad-mini -hostapd -hostapd-mini" FILES=files/
config wifitoggle option button 'wps' option persistent '0' option timer '0' option led_sysfs 'd-link:blue:wps' option led_enable_trigger 'none' option led_enable_delayon '0' option led_enable_delayoff '0' option led_disable_default '0'
The wifitoggle part is optional (as well as the package) but if you're going through the trouble of building your own image, you might as well put in a little something extra
Also, if you want WiFi to turn-off on boot, consider:
# Put your custom commands here that should be executed once # the system init finished. By default this file does nothing. # turnoff wifi on boot uci set wireless.@wifi-device.disabled=1 && wifi exit 0