Debian – get your wifi working

Unfortunately Debian (Jessie) didn’t recognized my WiFi hardware during os installation. So I had to mess with the installation by myself. Well, what have i done so far?

First I figured out with iwconfig if there was a driver installed…

iwconfig

No there wasn’t, cause the result was simply

lo        no wireless extensions.
eth0      no wireless extensions.

I missed something like wlan0. Before you know what driver you need to install, you need to figure out which hardware you have. That can be done with the following command:

lspci -v

You receive a large list with lots of information you don’t need. The art is, to find out what is your wifi chip, and there is no general purpose solution, cause different computers might have different hardware. In my case I looked for words like „wifi“, „wireless“, „communication“ and so on. Anyway, the entry I was looking for was this one:

01:00.0 Network controller: Intel Corporation Centrino Advanced-N 6230 [Rainbow Peak] (rev 34)
 Subsystem: Intel Corporation Centrino Advanced-N 6230 AGN
 Flags: fast devsel, IRQ 16
 Memory at f0600000 (64-bit, non-prefetchable) [size=8K]
 Capabilities: [c8] Power Management version 3
 Capabilities: [d0] MSI: Enable- Count=1/1 Maskable- 64bit+
 Capabilities: [e0] Express Endpoint, MSI 00
 Capabilities: [100] Advanced Error Reporting
 Capabilities: [140] Device Serial Number 88-53-2e-ff-ff-9c-1b-66

I picked the chipname:

Intel Corporation Centrino Advanced-N 6230

and searched in google, to verify if it was really a wifi chip. H-node is a good source for hardware reseach.

Finally i found here: https://wiki.debian.org/iwlwifi that my chipset was supported.

I extendet /etc/apt/sources.list with the following line:

deb http://httpredir.debian.org/debian/ jessie main contrib non-free

and performed another two commands:

apt-get update
apt-get install firmware-iwlwifi

The following command first removes the iwlwifi module from the limux kernel and then adds it to the kernel.

modprobe -r iwlwifi ; modprobe iwlwifi

Now everything should work fine, and you should find in the network-settings your wifi hotspot.