Installing the operating system Debian While traditionally associated with a wired Ethernet connection, modern versions of the distribution allow for fully wireless deployment. This is especially relevant for owners of laptops or desktop computers located far from the router, where running cables is impossible or impractical. The process requires careful component selection, as the standard image may not include proprietary drivers for some wireless adapters.
Unlike the graphical installers of other distributions, the classic debian-installer offers flexible tools for manually configuring network interfaces. You'll need to prepare a bootable USB flash drive with netboot (netinst) and, possibly, a separate image with proprietary firmware files if your hardware is less common. Understanding the operating principles wpa_supplicant and the structure of network configurations will be the key to a successful cable-free installation.
It's worth noting that wireless connection security is critical during installation, as you're transmitting data packets over an open medium. Although the installer tries to use secure protocols by default, the user should be prepared to manually enter encryption keys and select the correct authentication parameters. We'll cover all the details, from image selection to final network configuration on the installed system.
Preparing the boot image and hardware
The first step is to select the correct installation image. For WiFi installations, it is highly recommended to use the image netinst, which is lightweight but allows you to download the latest packages directly during the process. However, the standard image may not contain the proprietary driver binaries required for many WiFi modules, especially those from manufacturers. Realtek or Broadcom.
If you are unsure whether there are free drivers for your adapter, it is safer to download the unofficial image from the Debian website, which includes the package firmware-nonfreeThis will prevent you from having to deal with situations where the system is installed but the wireless card isn't detected. It's best to use a utility to write the image to a USB drive. dd or Rufus in ISO image mode to preserve the partition structure.
⚠️ Note: If your WiFi adapter requires loading firmware from a disk, the installer will ask you to insert a second USB drive with a folder
firmwarein the root. Make sure the files are located in the root of the flash drive, and not in an archive.
Checking hardware compatibility before starting work will save you a lot of time. You can run Debian Live mode or any other distribution (for example, Ubuntu or Fedora) and execute the command lspci or lsusb To identify the device vendor. Knowing the exact chip model makes it easier to find information about the need for proprietary firmware.
Launching the installer and selecting network components
After booting from the USB drive, you will see a text menu. At the installation component selection stage (Software selection) You need to be extremely careful. The default set may not include WiFi utilities if you haven't selected the appropriate options. In the task selection menu, be sure to check the items related to your network environment.
The installer will prompt you to select a network type. You should select "Wireless" instead of "Wired." The system will attempt to scan the air. If the scan is successful, you will see a list of available access points with their SSIDIf the list is empty, it may indicate that there is no driver or that the interface needs to be manually activated. In some cases, you may need to manually specify the interface name, often this is wlan0.
When entering a WiFi network password (PSK), use the on-screen keyboard or be very careful with the case of the characters, as the only way to correct an error at this stage is to backtrack. The encryption protocol is usually detected automatically (WPA2-PSK), but on corporate networks, manual configuration may be required. wpa_supplicant via config file.
- 📡 Select the "Wireless" option in the network settings menu to activate the scanner.
- 🔑 Enter the SSID and password, making sure your keyboard layout is correct.
- 💾 When prompted for firmware, insert the USB flash drive with the drivers into the appropriate USB port.
- 🔄 If the network is not found, try going back and selecting "Load driver from removable media".
☑️ Check before connection
Troubleshooting WiFi adapter drivers
The most common problem when installing Debian is the lack of firmware for the wireless module. The Linux kernel (kernel) contains drivers, but many devices require additional binaries to function. If the installer reports "No firmware found," you'll need to abort the installation, boot into a different OS, and download the package. firmware-misc-nonfree or a specific package for your chip.
The firmware files must be copied to a separate USB drive (not the installation flash drive, if it's occupied by the image) in the root directory. The files must be unzipped. After this, select "Load driver from removable media" in the installer. The system will automatically find the necessary files and load them into RAM for the current session.
⚠️ Warning: Do not attempt to install Debian without firmware if your adapter requires it. The system will install, but you will be left without internet access and will be unable to install drivers post-factum without an Ethernet cable or complex manual file transfers.
For popular chips Intel (7260, 8265, AX200 series) firmware is usually built into modern non-free images. Problems most often arise with adapters. Realtek (RTL8812AU, RTL8821CE) and some models MediaTekIn such cases, it may be necessary to search for specific repositories or use DKMS modules after installing the system.
List of popular firmware packages
firmware-realtek — for most Realtek adapters|firmware-atheros — for Qualcomm Atheros devices|firmware-brcm80211 — for Broadcom BCM43xx|firmware-iwlwifi — for Intel Wireless
Network setup and TCP/IP settings
After successfully connecting to the access point, the installer will proceed to IP addressing configuration. For most home networks, it is sufficient to select automatic configuration via DHCPThe router's server will provide the address, subnet mask, gateway, and DNS servers. However, some configurations may require a static IP, especially if you're setting up a server.
If DHCP doesn't work, you'll have to enter the information manually. You'll need the IP address (e.g., 192.168.1.50), network mask (255.255.255.0), default gateway (192.168.1.1), and DNS servers (you can use Google's public 8.8.8.8 or Cloudflare's 1.1.1.1). An error in one bit of the network mask will prevent you from accessing the global network.
During the network setup phase, the installer will also prompt you to select a repository mirror. For users in Russia and the CIS, it is critical to select a geographically close mirror (e.g., ru.debian.org or yandex.ru) to ensure high package download speeds. Connection speed at this point directly impacts installation time.
| Parameter | Value for DHCP | An example of statics | Description |
|---|---|---|---|
| IP Address | Automatically | 192.168.1.105 | A unique address on a local network |
| Netmask | Automatically | 255.255.255.0 | Determines the network size (/24) |
| Gateway | Automatically | 192.168.1.1 | Router address for Internet access |
| DNS 1 | From the provider | 8.8.8.8 | Name resolution server |
Completing the installation and initial configuration
Once the main packages are downloaded and installed, the system will prompt you to configure the package manager. APTAt this stage, a final check of the repositories occurs. If the WiFi connection is stable, you will be able to update the package lists immediately. Make sure that in the update sources (sources.list) repositories are present contrib And non-free, if you plan to use proprietary software.
During bootloader installation GRUB The system may prompt you to install it to the EFI partition. This is standard behavior for modern computers. After installation is complete, the system will reboot. If everything went well, you'll see a welcome screen or a login prompt. It's best to log in as root or the user created during installation for the first time to test network access.
After logging in for the first time, it is recommended to immediately update the kernel and packages. Command apt update && apt upgrade will download the latest security patches. If WiFi is unstable, check the logs via dmesg | grep firmware or journalctl -u NetworkManager to diagnose problems.
- 🚀 Perform a full system update immediately after the first boot.
- 🛡️ Set up a firewall
ufworiptablesto protect ports. - 📝 Save the network configuration to
/etc/network/interfacesor customize NetworkManager. - 🔍 Check that all necessary firmware is present in the directory
/lib/firmware.
Frequently Asked Questions (FAQ)
Why doesn't the Debian installer detect my WiFi adapter?
Most likely, your network card requires proprietary drivers (firmware) that are not included in the standard image. You will need to download the package. firmware-nonfree from the Debian website, unzip it onto a separate flash drive, and connect it during installation when the installer asks for firmware.
Is it possible to install Debian without an Ethernet cable at all?
Yes, this is possible if your WiFi adapter is supported by the Linux kernel out of the box or if you prepare an installation USB drive with integrated drivers. "Unofficial non-free" images contain the necessary binaries for most popular adapters.
Which Debian image is best for WiFi installation?
The image is best suited netinst Marked as "non-free firmware," it's minimal in size but allows you to download the latest versions of packages. Avoid full DVD images if you have a slow internet connection, as they don't contain all updates.
What should I do if WiFi drops out during installation?
An unstable connection can interrupt package downloads. Try choosing a repository mirror that's geographically close to you. If the problem persists, you can skip installing additional tasks (like GNOME or KDE) and install them after the basic system setup, when you can fine-tune WiFi power-saving settings.