Solved i can't find any wlan0 interface with ifconfig

my wireless adapter is ac9260, i saw the svn have that driver code,
so i have just checkout https://svnweb.freebsd.org/base/stable/12/sys/dev/iwm/ and copy it to /usr/src/sys/dev/iwm.

i make it and install
kload /boot/module/if_iwm.ko
i get this message from demsg


iwm0: <Intel(R) Dual Band Wireless AC 9260> mem 0xf0800000-0xf0803fff at device 0.0 on pci2
iwm0: hw rev 0x320, fw ver 34.0.0, address xx:xx:xx:xx:Xx


that mean i load the kernel module successfuly, right?
but i cant find any interface with ifconfig, why?

run sysctl net.wlan.devices , i got this information
net.wlan.devices: iwm0

who can tell me why i cant find any adapter interface with ifconfig command
 
Maybe stupid question, but have you configured wireless interface in /etc/wpa_supplicant.conf and /etc/rc.conf like advised in Handbook ?

Buy the way, you should not need to compile that module yourself, as it is included in base system (in stable branch).
 
Thanks all,the problem has been solved,I have already installed firmware before I compile own module.
just add wlans_iwm0=“wlan0” into roc.conf.
 
Back
Top