Wifi Interface not selectable in the gui

after installing version 173 my wifi (Intel 3160) isn’t selectable in the gui.
I installed the Testing versin 174 and the wifi interface was selectable again.
Today i installed the stable 174 version and again…the wifi interface is not selectable again.

lspci
00:00.0 Host bridge: Intel Corporation Haswell-ULT DRAM Controller (rev 0b)
00:02.0 VGA compatible controller: Intel Corporation Device 0a0e (rev 0b)
00:03.0 Audio device: Intel Corporation Haswell-ULT HD Audio Controller (rev 0b)
00:14.0 USB controller: Intel Corporation 8 Series USB xHCI HC (rev 04)
00:16.0 Communication controller: Intel Corporation 8 Series HECI #0 (rev 04)
00:1b.0 Audio device: Intel Corporation 8 Series HD Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 1 (rev e4)
00:1c.2 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 3 (rev e4)
00:1c.3 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 4 (rev e4)
00:1c.4 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 5 (rev e4)
00:1d.0 USB controller: Intel Corporation 8 Series USB EHCI #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation 8 Series LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation 8 Series SATA Controller 1 [AHCI mode] (rev 04)
00:1f.3 SMBus: Intel Corporation 8 Series SMBus Controller (rev 04)
02:00.0 Network controller: Intel Corporation Wireless 3160 (rev 83)
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 07)
04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 07)

in the setup (cli) assignment, the assignment seems to be ok but the wifi isn’t working.

when i try to start hostapd /etc/init.d/hostapd start
i get this message

/etc/init.d/hostapd start
++ . /etc/sysconfig/rc
+++ rc_base=/etc/rc.d
+++ rc_functions=/etc/rc.d/init.d/functions
+++ network_devices=/etc/sysconfig/network-devices
++ . /etc/rc.d/init.d/functions
+++ umask 022
+++ export PATH=/bin:/usr/bin:/sbin:/usr/sbin
+++ PATH=/bin:/usr/bin:/sbin:/usr/sbin
+++ RELOADSIG=HUP
+++ KILLDELAY=10
+++ '[' -z '' ']'
++++ stty size
+++ COLUMNS='47 192'
+++ COLUMNS=192
+++ '[' 192 = 0 ']'
+++ COL=184
+++ WCOL=182
+++ SET_COL='\033[184G'
+++ SET_WCOL='\033[182G'
+++ CURS_UP='\033[1A\033[0G'
+++ NORMAL='\033[0;39m'
+++ SUCCESS='\033[1;32m'
+++ WARNING='\033[1;33m'
+++ FAILURE='\033[1;31m'
+++ INFO='\033[1;36m'
+++ BRACKET='\033[1;34m'
+++ STRING_LENGTH=0
++ CHANNEL=6
++ COUNTRY=00
++ TXPOWER=auto
++ INTERFACE=blue0
++ MACMODE=0
+++ /usr/local/bin/readhash /var/ipfire/wlanap/settings
++ eval APMODE=on DRIVER=NL80211 COUNTRY=DE SSID=Hallo HTCAPS= HIDESSID=off CLIENTISOLATION=off HW_MODE=gn NOSCAN=off INTERFACE= DEBUG=4 TXPOWER=auto IEEE80211W=off SYSLOGLEVEL=4 MACMODE=0 VHTCAPS= ENC=wpa2 CHANNEL=8
+++ APMODE=on
+++ DRIVER=NL80211
+++ COUNTRY=DE
+++ SSID=Hallo_Nachbar1
+++ HTCAPS=
+++ HIDESSID=off
+++ CLIENTISOLATION=off
+++ HW_MODE=gn
+++ NOSCAN=off
+++ INTERFACE=
+++ DEBUG=4
+++ TXPOWER=auto
+++ IEEE80211W=off
+++ SYSLOGLEVEL=4
+++ MACMODE=0
+++ VHTCAPS=
+++ ENC=wpa2
+++ CHANNEL=8
++ case "${1}" in
+++ find_interface ''
+++ local address=
+++ local path
+++ for path in /sys/class/net/*
+++ '[' -s /sys/class/net/green0/address ']'
+++ '[' 00:01:2e:65:3b:30 = '' ']'
+++ for path in /sys/class/net/*
+++ '[' -s /sys/class/net/lo/address ']'
+++ '[' 00:00:00:00:00:00 = '' ']'
+++ for path in /sys/class/net/*
+++ '[' -s /sys/class/net/ppp0/address ']'
+++ '[' '' = '' ']'
+++ basename /sys/class/net/ppp0
+++ return 0
++ interface=ppp0
++ '[' -z ppp0 ']'
++ boot_mesg 'Starting hostapd... '
++ local ECHOPARM=
++ true
++ case "${1}" in
++ break
+++ echo 'Starting hostapd... '
+++ grep -c '$'
+++ sed -e s,.,.,g -e 'l 1'
++ STRING_LENGTH=22
++ echo -e 'Starting hostapd... '
Starting hostapd...
++ loadproc /usr/bin/hostapd -B /etc/hostapd.conf -i ppp0
++ local pidfile=
++ local forcestart=
++ local nicelevel=
++ '[' -n '' ']'
++ true
++ case "${1}" in
++ break
++ '[' 5 = 0 ']'
++ '[' -z '' ']'
++ '[' -z '' ']'
++ pidofproc -s /usr/bin/hostapd
++ local pidfile=
++ local lpids=
++ local silent=
++ pidlist=
++ true
++ case "${1}" in
++ silent=1
++ shift 1
++ true
++ case "${1}" in
++ break
++ '[' 1 '!=' 1 ']'
++ '[' -n '' ']'
+++ pidof -o 15515 -o 5957 -x /usr/bin/hostapd
++ pidlist=
++ '[' x1 '!=' x1 ']'
++ '[' -n '' ']'
++ return 3
++ case "${?}" in
++ local 'cmd=/usr/bin/hostapd -B /etc/hostapd.conf -i ppp0'
++ '[' -n '' ']'
++ /usr/bin/hostapd -B /etc/hostapd.conf -i ppp0
nl80211: Driver does not support authentication/association or connect commands
nl80211: deinit ifname=ppp0 disabled_11b_rates=0
nl80211 driver initialization failed.
ppp0: interface state UNINITIALIZED->DISABLED
ppp0: AP-DISABLED
ppp0: CTRL-EVENT-TERMINATING
hostapd_free_hapd_data: Interface ppp0 wasn't started
++ evaluate_retval
++ error_value=1
++ '[' 1 = 0 ']'
++ echo_failure
++ echo -n -e '\033[1A\033[0G\033[184G\033[1;34m[\033[1;31m FAIL \033[1;34m]'                                                                                                          [ FAIL ]++ echo -e '\033[0;39m'

++ boot_mesg_flush
++ STRING_LENGTH=0
++ return 0

The WebGUI list all interfaces that has a phy80211 foder in /sys/class/net/*/ this should be present for all supported wlan interfaces.

Check if you found messages about failed firmwares in /var/log/messages. If the kernel could not load the firmware it creates a nic that can assigned in the setup but it is not detected as wireless device.

2 Likes

i found a message in /var/log/messages
(why was there no failure in the “not stable 174 version”?

Apr 20 12:45:31 ipfire syslogd 1.5.1: restart (remote reception).
Apr 20 12:45:31 ipfire kernel: iwlwifi 0000:02:00.0: 0x00000000 | isr4
Apr 20 12:45:31 ipfire kernel: iwlwifi 0000:02:00.0: 0x00000000 | last cmd Id
Apr 20 12:45:31 ipfire kernel: iwlwifi 0000:02:00.0: 0x00000000 | wait_event
Apr 20 12:45:31 ipfire kernel: iwlwifi 0000:02:00.0: 0x00000000 | l2p_control
Apr 20 12:45:31 ipfire kernel: iwlwifi 0000:02:00.0: 0x00000000 | l2p_duration
Apr 20 12:45:31 ipfire kernel: iwlwifi 0000:02:00.0: 0x00000000 | l2p_mhvalid
Apr 20 12:45:31 ipfire kernel: iwlwifi 0000:02:00.0: 0x00000000 | l2p_addr_match
Apr 20 12:45:31 ipfire kernel: iwlwifi 0000:02:00.0: 0x00000000 | lmpm_pmg_sel
Apr 20 12:45:31 ipfire kernel: iwlwifi 0000:02:00.0: 0x00000000 | timestamp
Apr 20 12:45:31 ipfire kernel: iwlwifi 0000:02:00.0: 0x00000000 | flow_handler
Apr 20 12:45:31 ipfire kernel: iwlwifi 0000:02:00.0: Failed to run INIT ucode: -110
Apr 20 12:45:31 ipfire kernel: iwlwifi 0000:02:00.0: retry init count 0
Apr 20 12:45:31 ipfire kernel: iwlwifi 0000:02:00.0: Detected Intel(R) Dual Band Wireless AC 3160, REV=0x164
Apr 20 12:45:31 ipfire kernel: iwlwifi 0000:02:00.0: Could not load the [0] uCode section
Apr 20 12:45:31 ipfire kernel: iwlwifi 0000:02:00.0: Failed to start INIT ucode: -5
Apr 20 12:45:31 ipfire kernel: iwlwifi 0000:02:00.0: Collecting data: trigger 16 fired.
Apr 20 12:45:31 ipfire kernel: ------------[ cut here ]------------
Apr 20 12:45:31 ipfire kernel: WARNING: CPU: 0 PID: 673 at drivers/net/wireless/intel/iwlwifi/iwl-trans.h:1414 iwl_fwrt_dump_lmac_error_log+0x4bd/0x510 [iwlwifi]
Apr 20 12:45:31 ipfire kernel: Modules linked in: sch_cake x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvm iwlmvm(+) snd_hda_codec_realtek snd_hda_codec_generic i2c_algo_bit fb_sy
s_fops syscopyarea mac80211 ledtrig_audio sysfillrect sysimgblt snd_hda_intel snd_intel_dspcfg iTCO_wdt snd_hda_codec iTCO_vendor_support libarc4 mei_pxp iwlwifi snd_hda_core i2c_i801 irqbypas
s snd_hwdep i2c_smbus r8169 cfg80211 lpc_ich pcspkr i2c_core snd_pcm rfkill ir_rc6_decoder realtek mfd_core rc_rc6_mce nuvoton_cir snd_timer rc_core snd mei_me soundcore mei lp parport_pc parp
ort crct10dif_pclmul crc32_pclmul polyval_generic video ghash_clmulni_intel ums_realtek sha512_ssse3 wmi dm_mirror dm_region_hash dm_log dm_mod
Apr 20 12:45:31 ipfire kernel: CPU: 0 PID: 673 Comm: modprobe Tainted: G W 6.1.11-ipfire #1
Apr 20 12:45:31 ipfire kernel: Hardware name: ZOTAC ZBOX-CI321NANO/ZBOX-CI321NANO, BIOS B246P104 04/09/2015
Apr 20 12:45:31 ipfire kernel: RIP: 0010:iwl_fwrt_dump_lmac_error_log+0x4bd/0x510 [iwlwifi]
Apr 20 12:45:31 ipfire kernel: Code: 48 c7 c2 3f fa 59 c0 e8 51 27 fe ff 48 8b 7b 10 8b 8c 24 9c 00 00 00 31 f6 48 c7 c2 53 fa 59 c0 e8 38 27 fe ff e9 ca fb ff ff <0f> 0b 48 8b 7d 40 48 c7 c2
30 2c 5a c0 31 f6 e8 1f 27 fe ff 48 8b

have found the error…wlan interface was defect.

2 Likes