You are not logged in.

#1 2007-07-30 17:20:44

NoHz
Member
Registered: 2007-07-22
Posts: 5

Need help, patching kernel...

Hi i want to patch the kernel with the new bcm43xx injection module... for my wireless card:

Patching the kernel

    *
      Download the bcm43xx inject_nofcs patch for the 2.6.20 kernel fromhere.
    *
      Place the patch in your kernel sources directory
    *
      Run 'patch -p1 -i bcm43xx-injection-linux-2.6.20.patch'.

This patch may not apply directly and may require that you modify the bcm43xx_main.c (located in $linux/wireless/net/drivers/bcm43xx/ manually)

    *
      Recompile your modules with 'make modules' followed by 'make modules_install'.
    *
      The module should now be ready to use for injection.
    *
      Remember to reload the kernel driver or reboot your system before trying to inject packets.


But i cant patch..

[root@Myb0x Desktop]# patch -p1 -i bcm43xx-injection-linux-2.6.20.patch 
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- /usr/src/linux-2.6.22-ARCH/drivers/net/wireless/bcm43xx/bcm43xx_main.c    2007-04-17 16:39:08.000000000 +0200
|+++ linux-bcm43xx-patch/drivers/net/wireless/bcm43xx/bcm43xx_main.c    2007-04-20 00:09:09.000000000 +0200
--------------------------
File to patch:

i dont know how i have to configure, the bcm43xx_main.c for succefully patch the kernel with the new module...

Can someone help me?

Thanks

Last edited by NoHz (2007-07-30 17:28:40)

Offline

#2 2007-07-30 18:21:15

wuischke
Member
From: Suisse Romande
Registered: 2007-01-06
Posts: 630

Re: Need help, patching kernel...

Have you changed the directory to kernel root?

Offline

#3 2007-07-30 20:18:39

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Need help, patching kernel...

Have you also got the full kernel source from kernel.org?

Offline

#4 2007-07-30 20:24:40

NoHz
Member
Registered: 2007-07-22
Posts: 5

Re: Need help, patching kernel...

emm, no... what i have to do?

Offline

Board footer

Powered by FluxBB