WiFi is not working

Getting your soundcard to work, using Debian on non-i386 hardware, etc

WiFi is not working

Postby Daburu » 2018-08-30 15:35

Hi, I installed Debian 9.5 on my Lenovo ThinkPad t410 with Intel Centrino Avanced-N 6200 AGN WiFi card and my WiFi is not working. It doesn't show up in the "network menu". During the installation it said that it needs some firmware but it didn't install because I wasn't connected to the internet at the time of installation. I tryed this command, "apt-get update && apt-get install firmware-iwlwifi", which i found in some post where the person had a similar problem but on Debian 8. Any suggestion are welcome.
Daburu
 
Posts: 1
Joined: 2018-08-30 15:20

Re: WiFi is not working

Postby arochester » 2018-08-30 16:18

1) The wifi firmware comes from the non-free repository. You need to modify the sources list.

Open terminal & run the following commands,
su
Enter the root password

Now open the sources.list file by running the following command
nano /etc/apt/sources.list

You’ll find something like

deb http://ftp.us.debian.org/debian stretch main
deb-src http://ftp.us.debian.org/debian stretch main

deb http://security.debian.org/ stretch/updates main
deb-src http://security.debian.org/ stretch/updates main

Before editing the file, you should choose a mirror that is closest to you for the fastest downloads. Check the list of mirrors in this link, https://www.debian.org/mirror/list.

Now we have to add “contrib non-free” after main.

Also I’m disabling the source packages by commenting the source package repo. If you want to install the source packages also, then remove the # in front of the source repo.

Example of a stretch repo

deb http://ftp.us.debian.org/debian stretch main contrib non-free
#deb-src http://ftp.us.debian.org/debian stretch main contrib non-free

deb http://security.debian.org/ stretch/updates main contrib non-free
#deb-src http://security.debian.org/ stretch/updates main contrib non-free

Now lets update to fetch the list of packages from the newly added contrib & non-free repositories.

apt-get update
Source - https://linuxpanda.wordpress.com/2016/1 ... n-stretch/

2) Connect TEMPORARILY by cable.
Open terminal & run the following commands,
su
Enter the root password
Install firmware-iwlwifi
Code: Select all
apt install firmware-iwlwifi

Reboot
arochester
 
Posts: 1332
Joined: 2010-12-07 19:55

Re: WiFi is not working

Postby stevepusser » 2018-08-30 17:23

Or directly download the firmware deb from https://packages.debian.org/stretch/firmware-iwlwifi with a connected OS, then install it on the command line with "dpkg -i *.deb" as sysadmin.

Another alternative is to use the ISO provided by Debian that includes your non-free firmware, though you may still have to go through the steps of adding the non-free sections to your sources after installation.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Quod Libet 4.2.0, Pale Moon 28.1.0, wine-staging 3.19, GIMP 2.10.8, Liquorix kernel 4.18-21, CopyQ 3.7.0
User avatar
stevepusser
 
Posts: 10114
Joined: 2009-10-06 05:53


Return to Hardware

Who is online

Users browsing this forum: No registered users and 4 guests

fashionable