Wi-Fi chips SliTaz 5.1

Which Wi-Fi chips work on SliTaz 5.1, which package brings their driver and firmware, and what to do when the card does not show up. The Handbook has the short version in Wi-Fi firmware and the kernel packages in Kernel and firmware. To connect once the card works, see the Handbook Wi-Fi section or Wi-Fi from the console.

Driver and firmware

A Wi-Fi card needs two things:

The desktop ISOs (core, firefox) carry linux-lts-wireless, the firmware of the most common chips, wpa_supplicant and iw. SliTaz Base carries no Wi-Fi driver at all: see "On SliTaz Base" below.

Find your chip

The quickest way, as a normal user:

$ trame hardware summary

The Wi-Fi line names the card and its driver, between brackets. When the card has no driver or no firmware, this command says which package to install:

$ trame hardware firmware

It reads the kernel messages, so run it after a boot with the card plugged in. When everything is in place, it says "Every network and bluetooth device has its driver and firmware".

By hand

Internal cards are on the PCI bus. The lspci of SliTaz is the BusyBox one: it prints numbers, and -k adds the driver in use. Network controllers have the class 0280:

$ lspci -k | grep 'Class 0280'
00:14.3 Class 0280: 8086:51f1 iwlwifi

8086:51f1 is the vendor and device ID: search it on the web with the word "linux" to learn the chip. For names instead of numbers, install pciutils and run lspci -nn.

USB dongles show up with lsusb, with their ID and often their name.

The kernel messages tell what the driver did, and which firmware file it loaded or missed:

$ dmesg | grep -i -E 'firmware|wlan|iwlwifi|rtw|mt79|ath|brcm'

A line such as Direct firmware load for <file> failed with error -2 means the firmware file is missing. Each driver also lists the firmware files it can load:

$ modinfo -F firmware iwlwifi

Chips and packages

The packages below are those of the 5.1 mirror for linux-lts. Install the one of your chip with spk-add (or tazpkg get-install on Base i486), then reboot.

Intel (drivers iwlwifi, and iwl3945/iwl4965 for the oldest):

Realtek:

MediaTek and Ralink:

The PCIe cards MT7615, MT7921, MT7922 and MT7925 have a driver on x86_64 only; their USB versions work on both.

Qualcomm Atheros:

Broadcom:

Others: Marvell (mwifiex, libertas, mwl8k): firmware-marvell; TI WiLink: firmware-ti-wifi. The drivers zd1211rw, p54, at76c50x-usb and rsi are in linux-lts-wireless-extra, but no SliTaz package has their firmware.

Bluetooth often sits on the same chip: firmware-bt-intel and firmware-bt-realtek give it its firmware.

What is installed

$ trame hardware firmware installed

lists the firmware packages of the system and the drivers that use them.

When the firmware is missing

  1. Find the package with trame hardware firmware, or in the list above.
  2. Install it, as root. For example, for an Intel AX201:
# spk-add firmware-iwlwifi-ax
  1. Reboot. Or load the driver again without rebooting, with the name trame hardware summary shows between brackets; if it says the module is in use, reboot.
# trame kernel modules reload rtw88_8822ce
  1. Check with trame hardware summary and trame wifi status, then connect.

The network is needed to download the package. Without a wired connection, a phone in USB tethering mode often works with the rndis_host driver, which is in the kernel package. Or download the .tazpkg file on another computer from the SliTaz mirror (the address is in /var/lib/tazpkg/mirror), copy it on a USB key and install it with spk-add /path/to/file.tazpkg.

On the live system, what you install is lost at shutdown, unless you keep your changes (see Keeping your data).

On SliTaz Base

SliTaz Base is made for servers and wired machines: it has no Wi-Fi driver. To add Wi-Fi, from a wired connection:

# spk-add linux-lts-wireless wpa_supplicant iw

plus the firmware package of your chip, then reboot. Base i486 uses tazpkg get-install instead of spk-add.

SliTaz Core Retro

Core Retro runs Linux 3.16 for very old machines: its Wi-Fi drivers are in the linux-wireless package, not linux-lts-wireless, and the chips of the last ten years are not supported there. The i486 mirror also has broadcom-wl and ndiswrapper for that kernel only; they were not checked on 5.1.

Troubleshooting

trame hardware firmware names no package ("not in the SliTaz mirror"): the firmware is not packaged. Report your chip and its ID on the forum.

The card has no driver at all: your chip is newer than the kernel, or its driver only exists outside the kernel, as for many cheap USB dongles. SliTaz has no out-of-tree Wi-Fi drivers for linux-lts. A dongle with a supported chip (Atheros ath9k_htc, MediaTek MT7601U or MT7921U, Realtek rtw88) is the simple way out.

The card is there but blocked: trame wifi status says Blocked: yes. Look for a Wi-Fi switch or an Fn key, or the airplane mode in the firmware settings.

On a 32-bit system, a recent card does not work: the Wi-Fi 6 and 7 drivers (rtw89, MT7921/7922/7925 PCIe, ath11k, ath12k) and the PCIe rtw88 are built for x86_64 only. Use the x86_64 ISO.