SliTaz SliTaz Forum

You are not logged in.

#1 2018-05-15 15:34:41

HGT
Administrator
From: Germany
Registered: 2016-03-25
Posts: 170

WLAN adapter Intel 3160 does not show up when driver is loaded

WLAN adapter is a Intel Corporation Wireless 3160

[c]$ lspci
00:00.0 Host bridge: Intel Corporation Device 2280 (rev 21)
00:02.0 VGA compatible controller: Intel Corporation Device 22b1 (rev 21)
00:10.0 SD Host controller: Intel Corporation Device 2294 (rev 21)
00:13.0 SATA controller: Intel Corporation Device 22a3 (rev 21)
00:14.0 USB controller: Intel Corporation Device 22b5 (rev 21)
00:1a.0 Encryption controller: Intel Corporation Device 2298 (rev 21)
00:1b.0 Audio device: Intel Corporation Device 2284 (rev 21)
00:1c.0 PCI bridge: Intel Corporation Device 22c8 (rev 21)
00:1c.1 PCI bridge: Intel Corporation Device 22ca (rev 21)
00:1c.2 PCI bridge: Intel Corporation Device 22cc (rev 21)
00:1c.3 PCI bridge: Intel Corporation Device 22ce (rev 21)
00:1f.0 ISA bridge: Intel Corporation Device 229c (rev 21)
00:1f.3 SMBus: Intel Corporation Device 2292 (rev 21)
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 0c)
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 0c)
04:00.0 Network controller: Intel Corporation Wireless 3160 (rev 83)

Packages firmware-iwlwifi-3160 and linux64-wireless are installed

$ tazpkg info firmware-iwlwifi-3160
Paket        : firmware-iwlwifi-3160
Status       : installiertes Paket
Version      : 20171030
Kategorie    : Nicht-frei
Kurzbeschr.  : Firmware files for iwlwifi 3160
Betreuer     : al.bobylev@gmail.com
Lizenz       : other
Benötigt     : linux-wireless
Wanted src : firmware
website      : https://wireless.wiki.kernel.org/en/users/Drivers/iwlwifi#Firmware
Stellt bereit: iwlwifi-3160
Größe        : 960K/5.6M

$ tazpkg info linux64-wireless

Paket        : linux64-wireless
Status       : installiertes Paket
Version      : 3.16.55
Kategorie    : Basissystem
Kurzbeschr.  : The Linux kernel wireless modules.
Betreuer     : devel@slitaz.org
Lizenz       : GPL2
Benötigt     : linux-crypto wireless_tools
Wanted src : linux
website      : http://www.kernel.org/
Stellt bereit: linux-wireless:linux64
Größe        : 1.9M/2.2M

modprobe loads two modules

# modprobe -v iwlwifi
insmod /lib/modules/3.16.55-slitaz64/kernel/net/wireless/cfg80211.ko.xz
insmod /lib/modules/3.16.55-slitaz64/kernel/drivers/net/wireless/iwlwifi/iwlwifi.ko.xz

$ dmesg

cfg80211: Calling CRDA to update world regulatory domain
Intel(R) Wireless WiFi driver for Linux, in-tree:
Copyright(c) 2003- 2014 Intel Corporation

$ lsmod
Module                  Size  Used by
iwlwifi                72236  0
cfg80211              181899  1 iwlwifi
ipv6                  262371  22
i915                  659101  0
btusb                  17084  0
bluetooth             222341  2 btusb
6lowpan_iphc            5116  1 bluetooth
rfkill                 13648  2 cfg80211,bluetooth

but no network adapter with a wireless extension shows up

$ iwconfig
lo        no wireless extensions.

dummy0    no wireless extensions.

eth2      no wireless extensions.

eth1      no wireless extensions.

tunl0     no wireless extensions.[/c]

Offline

#2 2018-05-15 15:46:04

HGT
Administrator
From: Germany
Registered: 2016-03-25
Posts: 170

Re: WLAN adapter Intel 3160 does not show up when driver is loaded

My initial message seems to irritate get-feeds.php (because of imbedded control characters), so that the slitaz home page shows a lot of error messages in the activity window.

I am sorry for that.

Offline

#3 2018-05-15 20:15:06

lexeii
Administrator
Registered: 2012-03-21
Posts: 1,853

Re: WLAN adapter Intel 3160 does not show up when driver is loaded

Hi Hans,

I removed all the control characters from your post and added "code backticks".

Have a nice day!

Offline

#4 2018-05-18 17:39:20

kultex
Administrator
Registered: 2011-03-28
Posts: 1,175

Re: WLAN adapter Intel 3160 does not show up when driver is loaded

http://doc.slitaz.org/en:guides:wifi-easy

you have to change network.conf and

/etc/init.d/network.sh restart

Offline

#5 2018-05-21 06:12:42

HGT
Administrator
From: Germany
Registered: 2016-03-25
Posts: 170

Re: WLAN adapter Intel 3160 does not show up when driver is loaded

After setting WIFI="yes" in /etc/network.conf

# /etc/init.d/network.sh restart

results in:

Loading network settings from /etc/network.conf

Stopping all interfaces

ifconfig: SIOCGIFFLAGS: Kein passendes Gerät gefunden

Killing all daemons

killall: udhcpc: no process killed

wlan0     No such device

wlan0 is not a Wi-Fi interface, changing it.

Configuring Wi-Fi interface ...                                       lo        no wireless extensions.

dummy0    no wireless extensions.

eth2      no wireless extensions.

eth1      no wireless extensions.

tunl0     no wireless extensions.

                                                                     [ Fertig ]

Change network settings in /etc/wpa/wpa.conf

iwconfig: unknown command "any"

Configuring static IP on : ###.###.###.###...

ifconfig: SIOCSIFNETMASK: Kein passendes Gerät gefunden

route: SIOCADDRT: Das Netzwerk ist nicht erreichbar

Connecting to any...                                                 [ Fehlgeschlagen ]

network.sh looks for wlan0 in /sys/class/net, but there is no such device:

$ ls /sys/class/net

dummy0  eth1    eth2    lo      tunl0

$ find /sys/devices/pci0000\:00/ -name "net"

shows only:

/sys/devices/pci0000:00/0000:00:1c.1/0000:02:00.0/net

/sys/devices/pci0000:00/0000:00:1c.2/0000:03:00.0/net

and these are the ethernet adapters only:

# ls /sys/devices/pci0000:00/0000:00:1c.1/0000:02:00.0/net

eth1

# ls /sys/devices/pci0000:00/0000:00:1c.2/0000:03:00.0/net

eth2

I think something goes wrong with

# modprobe iwlwifi

that loads the drivers but does not create a device tree for wlan0 in /sys/devices

On another computer with another WLAN adapter (Ralink), after modprobe a new branch in the devices tree is created for wlan0.

Offline

#6 2018-05-21 16:14:06

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: WLAN adapter Intel 3160 does not show up when driver is loaded

iwlwifi-3160 requires iwlmvm firmware loading is not enabled in the 64-bit kernel.

http://hg.slitaz.org/wok/file/2bf373a3a59f/linux/stuff/linux-slitaz.config64#l2227

# CONFIG_IWLMVM is not set

This configuration is enabled for the 32-bit kernel:

http://hg.slitaz.org/wok/file/2bf373a3a59f/linux/stuff/linux-slitaz.config#l2319

CONFIG_IWLMVM=m

tux@slitaz:~$ uname -a

Linux slitaz 3.16.55-slitaz #4 SMP Tue Mar 27 13:38:39 CEST 2018 i686 GNU/Linux

tux@slitaz:~$ tazpkg search-file iwlmvm.ko.xz

Search result for file "iwlmvm.ko.xz"

================================================================================

Package linux-wireless:

/lib/modules/3.16.55-slitaz/kernel/drivers/net/wireless/iwlwifi/mvm/iwlmvm.ko.xz

================================================================================

1 file

Reference:

https://wiki.gentoo.org/wiki/Iwlwifi

https://wireless.wiki.kernel.org/en/users/drivers/iwlwifi#firmware

https://cateee.net/lkddb/web-lkddb/IWLMVM.html

Resolution:

http://hg.slitaz.org/wok/rev/c1a747d0e778

Offline

#7 2018-05-22 15:37:25

HGT
Administrator
From: Germany
Registered: 2016-03-25
Posts: 170

Re: WLAN adapter Intel 3160 does not show up when driver is loaded

Thank you Richard,

your resolution is a full success:

The module iwlwifi is now loaded automagically after booting SliTaz Rolling 64bit flavor and wlan0 shows up and can be configured.

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.016 seconds, 7 queries executed - Memory usage: 1.55 MiB (Peak: 1.77 MiB) ]