LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 12-05-2013, 02:27 AM   #1
samr
LQ Newbie
 
Registered: Dec 2013
Posts: 5

Rep: Reputation: Disabled
need help apply imq patch to kernel 3.2


Hello every body
we planning to use mastershaper in our university in order to control the internet traffic among our users, ispent last week trying to patch imq to the kernel using the following steps:
apt-get install libncurses5-dev kernel-package
apt-get build-dep iptables
apt-get source iptables linux-image-$(uname -r)
then downloading IMQ patches:
wget http://www.linuximq.net/patches/patc...q-3.2.diff.bz2
wget http://www.linuximq.net/patches/ipta...IMQ-test4.diff

cd /usr/src/linux-3.2.0
bunzip2 ../patch-imqmq-3.2.diff.bz2 | patch -p1 --dry-run
patch -p1 < ../patch-imqmq-3.2.diff
cd /usr/src/iptables-1.4.12
patch -p1 < ../iptables-1.4.12-IMQ-test4.dif
cd /usr/src/linux-3.2.0
make menuconfig:
# Device Drivers -> Network Device Support -> [M] IMQ .. support
# Networking Support -> Networking Options -> Network Packet ->Filtering Framework (Netfilter) -> Core Netfilter Configuration
-> [M] "IMQ" Target Suppor
then:
time fakeroot make-kpkg --initrd --append-to-version=-v-smart.pl kernel-image kernel-headers
then install the kernel and reboot
cd /usr/src
dpkg -i linux-*.deb
reboot
after rebooting compile and install iptables:
cd /usr/src/iptables-1.4.12
dpkg-buildpackage -rfakeroot -uc -b
cd /usr/src/
dpkg -i iptables_*.deb

after rebooting i can load the imq module but the iptables not accept -IMQ.
am using ubuntu 12.04(precise) kernel 3.2,
any advice will be most appreciated.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How does one apply a kernel patch? Equinn Linux - Newbie 20 04-14-2011 01:54 PM
Apply a kernel patch android6011 Ubuntu 2 12-05-2007 05:57 PM
Determine if kernel has IMQ patch Mithrilhall Linux - General 1 10-24-2006 05:14 PM
Kernel Patch will not Apply. mudelf Linux - General 10 10-08-2003 05:22 AM
How To Apply Patch To Kernel WILLIAMATHOMAS Linux - Software 2 02-12-2003 12:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 10:31 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration