LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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, 07: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, 09:32 AM   #2
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 11:44 AM
canīt apply kernel-patch syntax85 Linux - Newbie 4 08-27-2009 09:03 AM
Apply a kernel patch android6011 Ubuntu 2 12-05-2007 06:57 PM
Determine if kernel has IMQ patch Mithrilhall Linux - General 1 10-24-2006 06:14 PM
Kernel Patch will not Apply. mudelf Linux - General 10 10-08-2003 06:22 AM


All times are GMT -5. The time now is 01:18 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration