Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

WiFi is not working

Need help with peripherals or devices?
Post Reply
Message
Author
Daburu
Posts: 1
Joined: 2018-08-30 15:20

WiFi is not working

#1 Post by Daburu »

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.

arochester
Emeritus
Emeritus
Posts: 2435
Joined: 2010-12-07 19:55
Has thanked: 14 times
Been thanked: 54 times

Re: WiFi is not working

#2 Post by arochester »

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

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: WiFi is not working

#3 Post by stevepusser »

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.
MX Linux packager and developer

Post Reply