PDA

View Full Version : Kernel Upgrade



chrnux
2013-10-07, 12:04
Hi all, my name is Chris and i'm new here and new to Kali Linux, have used distro's like Gentoo, Sabayon, Mint, backtrack and so on earlier

I just installed Kali on my Asus s400c laptop, and like every other distro's i have this wireless network problem, the signal is so weak i have to sit 2-3 meters from my access point.
In Gentoo and Sabayon i fixed this with an kernel upgrade to 3.10.xx, so my question here is, whats the newest supported kernel i can compile in Kali? And will it affect the Kali exploits and scripts ?

And here are the output of my hardware, just in case someone knows another workaround for this?

root@chrnux:/home/chris# lspci -v
00:00.0 Host bridge: Intel Corporation 3rd Gen Core processor DRAM Controller (rev 09)
Subsystem: ASUSTeK Computer Inc. Device 10fd
Flags: bus master, fast devsel, latency 0
Capabilities: [e0] Vendor Specific Information: Len=0c <?>

00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09) (prog-if 00 [VGA controller])
Subsystem: ASUSTeK Computer Inc. Device 10fd
Flags: bus master, fast devsel, latency 0, IRQ 46
Memory at f7800000 (64-bit, non-prefetchable) [size=4M]
Memory at e0000000 (64-bit, prefetchable) [size=256M]
I/O ports at f000 [size=64]
Expansion ROM at <unassigned> [disabled]
Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
Capabilities: [d0] Power Management version 2
Capabilities: [a4] PCI Advanced Features
Kernel driver in use: i915

00:04.0 Signal processing controller: Intel Corporation Device 0153 (rev 09)
Subsystem: Intel Corporation Device 2010
Flags: bus master, fast devsel, latency 0, IRQ 255
Memory at dfe08000 (64-bit, non-prefetchable) [size=32K]
Capabilities: [90] MSI: Enable- Count=1/1 Maskable- 64bit-
Capabilities: [d0] Power Management version 3
Capabilities: [e0] Vendor Specific Information: Len=0c <?>

00:14.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller (rev 04) (prog-if 30 [XHCI])
Subsystem: ASUSTeK Computer Inc. Device 10fd
Flags: bus master, medium devsel, latency 0, IRQ 42
Memory at f7e00000 (64-bit, non-prefetchable) [size=64K]
Capabilities: [70] Power Management version 2
Capabilities: [80] MSI: Enable+ Count=1/8 Maskable- 64bit+
Kernel driver in use: xhci_hcd

00:16.0 Communication controller: Intel Corporation 7 Series/C210 Series Chipset Family MEI Controller #1 (rev 04)
Subsystem: ASUSTeK Computer Inc. Device 10fd
Flags: bus master, fast devsel, latency 0, IRQ 44
Memory at f7e22000 (64-bit, non-prefetchable) [size=16]
Capabilities: [50] Power Management version 3
Capabilities: [8c] MSI: Enable+ Count=1/1 Maskable- 64bit+
Kernel driver in use: mei

00:1a.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #2 (rev 04) (prog-if 20 [EHCI])
Subsystem: ASUSTeK Computer Inc. Device 10fd
Flags: bus master, medium devsel, latency 0, IRQ 16
Memory at f7e20000 (32-bit, non-prefetchable) [size=1K]
Capabilities: [50] Power Management version 2
Capabilities: [58] Debug port: BAR=1 offset=00a0
Capabilities: [98] PCI Advanced Features
Kernel driver in use: ehci_hcd

00:1b.0 Audio device: Intel Corporation 7 Series/C210 Series Chipset Family High Definition Audio Controller (rev 04)
Subsystem: ASUSTeK Computer Inc. Device 10fd
Flags: bus master, fast devsel, latency 0, IRQ 45
Memory at f7e18000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [50] Power Management version 2
Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
Capabilities: [100] Virtual Channel
Capabilities: [130] Root Complex Link
Kernel driver in use: snd_hda_intel

00:1c.0 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 1 (rev c4) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
Capabilities: [40] Express Root Port (Slot+), MSI 00
Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit-
Capabilities: [90] Subsystem: ASUSTeK Computer Inc. Device 10fd
Capabilities: [a0] Power Management version 2
Kernel driver in use: pcieport

00:1c.1 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 2 (rev c4) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
Memory behind bridge: f7d00000-f7dfffff
Capabilities: [40] Express Root Port (Slot+), MSI 00
Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit-
Capabilities: [90] Subsystem: ASUSTeK Computer Inc. Device 10fd
Capabilities: [a0] Power Management version 2
Kernel driver in use: pcieport

00:1c.3 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 4 (rev c4) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
I/O behind bridge: 0000e000-0000efff
Memory behind bridge: f7c00000-f7cfffff
Capabilities: [40] Express Root Port (Slot+), MSI 00
Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit-
Capabilities: [90] Subsystem: ASUSTeK Computer Inc. Device 10fd
Capabilities: [a0] Power Management version 2
Kernel driver in use: pcieport

00:1d.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #1 (rev 04) (prog-if 20 [EHCI])
Subsystem: ASUSTeK Computer Inc. Device 10fd
Flags: bus master, medium devsel, latency 0, IRQ 23
Memory at f7e1f000 (32-bit, non-prefetchable) [size=1K]
Capabilities: [50] Power Management version 2
Capabilities: [58] Debug port: BAR=1 offset=00a0
Capabilities: [98] PCI Advanced Features
Kernel driver in use: ehci_hcd

00:1f.0 ISA bridge: Intel Corporation HM76 Express Chipset LPC Controller (rev 04)
Subsystem: ASUSTeK Computer Inc. Device 10fd
Flags: bus master, medium devsel, latency 0
Capabilities: [e0] Vendor Specific Information: Len=0c <?>
Kernel driver in use: lpc_ich

00:1f.2 SATA controller: Intel Corporation 7 Series Chipset Family 6-port SATA Controller [AHCI mode] (rev 04) (prog-if 01 [AHCI 1.0])
Subsystem: ASUSTeK Computer Inc. Device 10fd
Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 43
I/O ports at f0b0 [size=8]
I/O ports at f0a0 [size=4]
I/O ports at f090 [size=8]
I/O ports at f080 [size=4]
I/O ports at f060 [size=32]
Memory at f7e1e000 (32-bit, non-prefetchable) [size=2K]
Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
Capabilities: [70] Power Management version 3
Capabilities: [a8] SATA HBA v1.0
Capabilities: [b0] PCI Advanced Features
Kernel driver in use: ahci

00:1f.3 SMBus: Intel Corporation 7 Series/C210 Series Chipset Family SMBus Controller (rev 04)
Subsystem: ASUSTeK Computer Inc. Device 10fd
Flags: medium devsel, IRQ 18
Memory at f7e1d000 (64-bit, non-prefetchable) [size=256]
I/O ports at f040 [size=32]

00:1f.6 Signal processing controller: Intel Corporation 7 Series/C210 Series Chipset Family Thermal Management Controller (rev 04)
Subsystem: ASUSTeK Computer Inc. Device 10fd
Flags: bus master, fast devsel, latency 0, IRQ 255
Memory at f7e1c000 (64-bit, non-prefetchable) [size=4K]
Capabilities: [50] Power Management version 3

02:00.0 Network controller: Atheros Communications Inc. AR9485 Wireless Network Adapter (rev 01)
Subsystem: AzureWave Device 2126
Flags: bus master, fast devsel, latency 0, IRQ 17
Memory at f7d00000 (64-bit, non-prefetchable) [size=512K]
Expansion ROM at f7d80000 [disabled] [size=64K]
Capabilities: [40] Power Management version 2
Capabilities: [50] MSI: Enable- Count=1/4 Maskable+ 64bit+
Capabilities: [70] Express Endpoint, MSI 00
Capabilities: [100] Advanced Error Reporting
Capabilities: [140] Virtual Channel
Capabilities: [160] Device Serial Number 00-00-00-00-00-00-00-00
Kernel driver in use: ath9k

03:00.0 Ethernet controller: Atheros Communications Inc. AR8161 Gigabit Ethernet (rev 10)
Subsystem: ASUSTeK Computer Inc. Device 200f
Flags: bus master, fast devsel, latency 0, IRQ 255
Memory at f7c00000 (64-bit, non-prefetchable) [size=256K]
I/O ports at e000 [size=128]
Capabilities: [40] Power Management version 3
Capabilities: [58] Express Endpoint, MSI 00
Capabilities: [c0] MSI: Enable- Count=1/16 Maskable+ 64bit+
Capabilities: [d8] MSI-X: Enable- Count=16 Masked-
Capabilities: [100] Advanced Error Reporting
Capabilities: [180] Device Serial Number ff-76-4a-6f-74-d0-2b-ff

chrnux
2013-10-08, 16:06
just upgraded to kernel 3.10.7 and everything seems to work fine, my wireless signal is now all good.

0E 800
2013-10-31, 20:49
What steps did you take to upgrade the kernel, and can you confirm that airodump-ng does not show channel fixed -1 error?

chrnux
2013-11-16, 21:24
Just followed these steps, this is for x64, used it for some while now, and haven't noticed any bugs yet :) also tried kernels above and below, and they seemed buggy on my setup.

Download the needed packages:

$ wget -c kernel.ubuntu.com/~kernel-ppa/mainline/v3.10.7-saucy/linux-headers-3.10.7-031007_3.10.7-031007.201308150319_all.deb

$ wget -c kernel.ubuntu.com/~kernel-ppa/mainline/v3.10.7-saucy/linux-headers-3.10.7-031007-generic_3.10.7-031007.201308150319_amd64.deb

$ wget -c kernel.ubuntu.com/~kernel-ppa/mainline/v3.10.7-saucy/linux-image-3.10.7-031007-generic_3.10.7-031007.201308150319_amd64.deb

Install Kernel 3.10.7 on Ubuntu, Linux Mint and Derivates:

$ sudo dpkg -i linux-headers-3.10.7* linux-image-3.10.7*

watzkee
2013-11-21, 23:24
Just followed these steps, this is for x64, used it for some while now, and haven't noticed any bugs yet :) also tried kernels above and below, and they seemed buggy on my setup.

Download the needed packages:

$ wget -c kernel.ubuntu.com/~kernel-ppa/mainline/v3.10.7-saucy/linux-headers-3.10.7-031007_3.10.7-031007.201308150319_all.deb

$ wget -c kernel.ubuntu.com/~kernel-ppa/mainline/v3.10.7-saucy/linux-headers-3.10.7-031007-generic_3.10.7-031007.201308150319_amd64.deb

$ wget -c kernel.ubuntu.com/~kernel-ppa/mainline/v3.10.7-saucy/linux-image-3.10.7-031007-generic_3.10.7-031007.201308150319_amd64.deb

Install Kernel 3.10.7 on Ubuntu, Linux Mint and Derivates:

$ sudo dpkg -i linux-headers-3.10.7* linux-image-3.10.7*



I'm sorry I sound like a total noob. But shouldn't you be using Debian mirrors or doesn't it matter? :)

chrnux
2013-12-23, 17:08
When will Kali release a new kali-modified kernel ? Upgraded to debian 3.10.7 but missing some of the patches and config that comes with kali's own kernel, been using it for some months now, and found out that not everything works optionally.