LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Closed Thread
  Search this Thread
Old 12-05-2013, 06:46 AM   #1
samr
LQ Newbie
 
Registered: Dec 2013
Posts: 5

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


am trying to patch imq into krnel 3.2 in order to use master shaper to controll the internet traiffic, i followed thes 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
but the iptables still not accept -IMQ, any idea
 
Old 12-05-2013, 08:32 AM   #2
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.
 
  


Closed Thread



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
need help apply imq patch to kernel 3.2 samr Linux - Kernel 0 12-06-2013 10:44 AM
canīt apply kernel-patch syntax85 Linux - Newbie 4 08-27-2009 08:03 AM
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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:44 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