I'm currently trying to get wifi running on my debian machine which I've installed on my Lenovo Thinkpad P51.

So I've already installed Network manager and the wireless tools but unfortunately, this is where I'm stuck. I read that I need to install a driver but I'm not sure which one I need to install. How do I find out ?

closed as off-topic by Rui F Ribeiro, GAD3R, Jeff Schaller, G-Man, Romeo Ninov Jan 15 '18 at 8:11

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Requests for learning materials (tutorials, how-tos etc.) are off topic. The only exception is questions about where to find official documentation (e.g. POSIX specifications). See the Help Center and our Community Meta for more information." – Rui F Ribeiro, Jeff Schaller, Romeo Ninov
If this question can be reworded to fit the rules in the help center, please edit the question.

  • 1
    You need to provide the output of lspci and lsusb in your question. In particular the line(s) that mention your WiFi and/or Network devices. – roaima Jan 14 '18 at 19:25

I read that I need to install a driver but I'm not sure which one I need to install. How do I find out ?

Please read the official Debian documentation.

If you follow the instructions there you should be able to get wireless working. My guess is that you will need to add a non-free component to your /etc/apt/sources.list:

deb http://ftp.se.debian.org/debian/ stretch main non-free contrib

and then install the required firmware (quite possibly iwlwifi).

But... do read the documentation first. If you are still stuck after that, get back with as much detail you can provide.


Or to add to @user1404316, after you have checked your hardware (web search does suggest Intel 8265) then linux support is also offered at intel.com


maulinglawns's answer is generally correct. Here's the short cut I took to get an specific answer for you.

  1. Find the brand and model number of your wifi chipset. I did this by web-searching for "Lenovo p51 wifi" and came up with "Intel 8265".

  2. Per maulinglawn's answer, add the non-free debian repository to your /etc/apt/sources.list. The simplest, mindless way to do this is echo "deb http://ftp.se.debian.org/debian/ stretch main non-free contrib" >> /etc/apt/sources.list.

  3. Perform apt-get update in order to load the information for the new repository.

  4. Look for a debian package for that firmware. apt-cache search "firmware-" |grep Intel. This displayed a promising result, firmware-iwlwifi.

  5. Double-check. apt-cache show firmware-iwlwifi |less. Search for 8265 using the search feature of the less pager by pressing forward slash "/" followed by 8265.

So it seems that installing package firmware-iwlwifi from the standard debian repository should do the trick. Let us know how it went!

Not the answer you're looking for? Browse other questions tagged or ask your own question.