Kali Linux and Intel Wireless A 7260

My experience with this started when installing Kali Linux amd64 on a new laptop that had this wireless network adapter(Intel Centrino Advanced-N 7260). After install finished succesfully I noticed that there is no wireless network adapter:

$ sudo iwconfig
eth0 no wireless extensions.
lo no wireless extensions.

Nothing else here.
The I spotted this:
$ sudo cat /var/log/syslog | grep 7260
[ x.975154] iwlwifi 0000:04:00.0: firmware: agent aborted loading iwlwifi-7260-7.ucode (not found?)
[ x.975346] iwlwifi 0000:04:00.0: request for firmware file ‘iwlwifi-7260-7.ucode’ failed.

After a bit a googling I found this post: http://askubuntu.com/questions/322511/no-wireless-with-intel-centrino-advanced-n-7260

Of course the devil is in the details so the solution is a bit hidden. To cut it short that’s what worked for me; first you have to install Linux Kernel 3.11 RC4 http://linuxg.net/kernel-3-11-rc4-has-been-released-how-to-install-the-linux-kernel-3-11-rc4-on-ubuntu-debian-and-linux-mint/ :

$ sudo apt-get install firmware-nonfree
$ wget -c kernel.ubuntu.com/~kernel-ppa/mainline/v3.11-rc4-saucy/linux-headers-3.11.0-031100rc4_3.11.0-031100rc4.201308041735_all.deb
$ wget -c kernel.ubuntu.com/~kernel-ppa/mainline/v3.11-rc4-saucy/linux-headers-3.11.0-031100rc4-generic_3.11.0-031100rc4.201308041735_amd64.deb
$ wget -c kernel.ubuntu.com/~kernel-ppa/mainline/v3.11-rc4-saucy/linux-image-3.11.0-031100rc4-generic_3.11.0-031100rc4.201308041735_amd64.deb

(This is of course for the x64 arch)

$sudo dpkg -i *.deb
$ sudo modprobe -r iwldvm
$ sudo modprobe -r iwlwifi
$ sudo modprobe iwlwifi

After this:

$sudo iwconfig
eth0 no wireless extensions.

lo no wireless extensions.

wlan0 IEEE 802.11bgn ESSID:off/any
Mode:Managed Access Point: Not-Associated Tx-Power=0 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:on

So that’s it. Hope that this will help someone out there.

The laptop in question was a Lenovo ThinkPad S440.

Squidview + Squid 3

I post this as a reminder, the solution to this problem found on this post: http://adminnetworks.blogspot.com/2011/05/instalar-squidview-en-debian.html

So what is all this about? When I first installed Squid v3 on a system and tried to run Squidview (of course everyone knows tail –f /var/log/squid3/access.log) but got this error: “The squid log file cannot be read.

It was clear enough that it looks for the log file in a place that doesn’t exist so I guessed that’s the location of the old 2.x Squid, /var/log/squid/access.log . But to my surprise squidview doesn’t have any config file, the location is hardcoded.

So the solution is to create a softlink like this:

ln -s /var/log/squid3/ /var/log/squid

Now squidview starts as it should. That simple!