hi, i have a problem with connecting to local wifi. I have wlan0 (iwm). When i do hotspot from mobile with disable security, wlan0 connects it. I install also iwmbt-firmware but without the result the same error. I have firmware on disk but he cannot load. em0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=4e524bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,LRO,WOL_MAGIC,VLAN_HWFILTER,VLAN_HWTSO,RXCSUM_IPV6,TXCSUM_IPV6,HWSTATS,MEXTPG> ether 68:f7:28:61:fc:23 media: Ethernet autoselect status: no carrier nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL> lo0: flags=1008049<UP,LOOPBACK,RUNNING,MULTICAST,LOWER_UP> metric 0 mtu 16384 options=680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6> inet 127.0.0.1 netmask 0xff000000 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2 groups: lo nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL> wlan0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=0 ether e8:b1:fc:95:42:7d groups: wlan ssid "" channel 1 (2412 MHz 11b) regdomain FCC country US authmode OPEN privacy OFF txpower 30 bmiss 10 scanvalid 60 wme bintval 0 parent interface: iwm0 media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) status: no carrier nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL> ue0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=80000<LINKSTATE> ether ff:ff:ff:ff:ff:ff media: Ethernet autoselect nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL> maxfx@hades2 ~> ifconfig wlan0 scan SSID/MESH ID BSSID CHAN RATE S:N INT CAPS WIFI-ASUS 00:e0:4c:99:55:c3 6 54M -63:-96 100 EP HTCAP WPA RSN WME WPS maxfx@hades2 ~> sysctl -a | grep iwm <118>Autoloading module: if_iwm iwm0: <Intel(R) Dual Band Wireless AC 7260> mem 0xf0400000-0xf0401fff irq 17 at device 0.0 on pci2 iwm0: hw rev 0x140, fw ver 17.352738.0, address e8:b1:fc:95:42:7d <118> parent interface: iwm0 <118>iwmbtfw: iwmbt_fw_read: open: /usr/local/share/iwmbt-firmware/ibt-hw-37.7.bseq: No such file or directory <118>iwmbtfw: iwmbt_hci_command: libusb_interrupt_transfer() failed: err=Other error <118>iwmbtfw: main: Firmware download failed! <118>iwmbtfw: iwmbt_hci_command: libusb_control_transfer() failed: err=No device <118>iwmbtfw: main: Firmware download failed! <118>Autoloading module: if_iwm iwm0: <Intel(R) Dual Band Wireless AC 7260> mem 0xf0400000-0xf0401fff irq 17 at device 0.0 on pci2 iwm0: hw rev 0x140, fw ver 17.352738.0, address e8:b1:fc:95:42:7d <118> parent interface: iwm0 net.wlan.0.%parent: iwm0 net.wlan.devices: iwm0 irq56: iwm0:115 @cpu0(domain0): 165 dev.iwm.0.debug: 0 dev.iwm.0.%iommu: rid=0x300 dev.iwm.0.%parent: pci2 dev.iwm.0.%pnpinfo: vendor=0x8086 device=0x08b2 subvendor=0x8086 subdevice=0xc270 class=0x028000 dev.iwm.0.%location: slot=0 function=0 dbsf=pci0:3:0:0 dev.iwm.0.%driver: iwm dev.iwm.0.%desc: Intel(R) Dual Band Wireless AC 7260 dev.iwm.%parent: Dec 20 13:43:21 hades2 wpa_supplicant[344]: wlan0: No network configuration found for the current AP Dec 20 13:43:21 hades2 kernel: wlan0: link state changed to UP Dec 20 13:43:21 hades2 wpa_supplicant[344]: wlan0: CTRL-EVENT-DISCONNECTED bssid=9e:6a:8e:a5:a0:2a reason=3 locally_generated=1 Dec 20 13:43:21 hades2 wpa_supplicant[344]: wlan0: Added BSSID 9e:6a:8e:a5:a0:2a into ignore list, ignoring for 10 seconds Dec 20 13:43:21 hades2 wpa_supplicant[344]: wlan0: CTRL-EVENT-DSCP-POLICY clear_all Dec 20 13:43:21 hades2 kernel: wlan0: link state changed to DOWN Dec 20 13:43:23 hades2 wpa_supplicant[344]: wlan0: Removed BSSID 9e:6a:8e:a5:a0:2a from ignore list (clear) Dec 20 13:43:33 hades2 root[1769]: /etc/rc.d/dhclient: WARNING: failed to start dhclient Dec 20 13:46:21 hades2 kernel: lo0: link state changed to DOWN Dec 20 13:46:22 hades2 wpa_supplicant[344]: wlan0: CTRL-EVENT-DSCP-POLICY clear_all Dec 20 13:46:22 hades2 syslogd: last message repeated 1 times Dec 20 13:46:22 hades2 wpa_supplicant[344]: wlan0: CTRL-EVENT-TERMINATING Dec 20 13:46:22 hades2 kernel: wlan0: Ethernet address: e8:b1:fc:95:42:7d Dec 20 13:46:22 hades2 kernel: lo0: link state changed to UP Dec 20 13:46:22 hades2 wpa_supplicant[2115]: Successfully initialized wpa_supplicant Dec 20 13:46:22 hades2 wpa_supplicant[2115]: ioctl[SIOCS80211, op=20, val=0, arg_len=7]: Invalid argument ctrl_interface=/var/run/wpa_supplicant eapol_version=2 ap_scan=1 fast_reauth=1 network={ ssid="WIFI-ASUS" password="********" }
firmware looks like loaded <118>Autoloading module: if_iwm iwm0: <Intel(R) Dual Band Wireless AC 7260> mem 0xf0400000-0xf0401fff irq 17 at device 0.0 on pci2 iwm0: hw rev 0x140, fw ver 17.352738.0, address e8:b1:fc:95:42:7d <118> parent interface: iwm0 net.wlan.0.%parent: iwm0 net.wlan.devices: iwm0 irq56: iwm0:115 @cpu0(domain0): 10941 dev.iwm.0.debug: 0 dev.iwm.0.%iommu: rid=0x300 dev.iwm.0.%parent: pci2 dev.iwm.0.%pnpinfo: vendor=0x8086 device=0x08b2 subvendor=0x8086 subdevice=0xc270 class=0x028000 dev.iwm.0.%location: slot=0 function=0 dbsf=pci0:3:0:0 dev.iwm.0.%driver: iwm dev.iwm.0.%desc: Intel(R) Dual Band Wireless AC 7260 dev.iwm.%parent:
Please add to /boot/loader.conf and reboot: if_iwm_load="YES" iwm7260fw_load="YES" comms/iwmbt-firmware is for bluetooth and not for wifi.
(In reply to Oleksandr Kryvulia from comment #2) Thank you for the idea but I have the same problem
Have you tried an iwlwifi(4) driver? Which FreeBSD version are you using?
(In reply to Oleksandr Kryvulia from comment #4) No but I can to try iwlwifi(4). I use FreeBSD 14.2-RELEASE
(In reply to Martin Filla from comment #5) Dec 20 13:43:21 hades2 wpa_supplicant[344]: wlan0: No network configuration found for the current AP Are you sure the ssid is wpa_supplicant.conf is correct and you reloaded the config file (or restarted the supplicant) after you put it in? Make sure there are no wide characters there by accident from pasting on a terminal which may not be immediately visible. I'd probably also add a proto=WPA2 line or maybe just try with a file like this: ===== ctrl_interface=/var/run/wpa_supplicant network={ ssid="WIFI-ASUS" proto=WPA2 psk="enter psk here" } ===== and see what happens.
(In reply to Bjoern A. Zeeb from comment #6) Thank you Bjoern. It works. Problem was in "password".