Home Page › Forums › Network Management › ZeroShell › How To rebuild kernel 2.6.36.3 into b14 document
This topic contains 20 replies, has 0 voices, and was last updated by rda 7 years, 1 month ago.
-
AuthorPosts
-
May 11, 2011 at 4:30 pm #51594
Sad to report even with a somewhat more up to date kernel, it’s still crashing. Uptime was about 5 days.
May 11, 2011 at 5:59 pm #51595@jjonez wrote:
Sad to report even with a somewhat more up to date kernel, it’s still crashing. Uptime was about 5 days.
This time the antenna connector popped off. Back to testing!
October 4, 2011 at 8:13 am #51596Hi,
i’ve built new kernel (2.6.37.2) as described in PDF document, but on step 7 after compilling xtables-addons i can’t compile iptables.
In the beginning of step 7 the “iptables” compiling fine but after moving extensions sources from ‘xtables-addons’ to iptables folder it doesn’t compile.
I got following errors:
make[1]: Entering directory `/storage/sdb/iptables-1.4.10′
Making all in extensions
make[2]: Entering directory `/storage/sdb/iptables-1.4.10/extensions’
CC libxt_CHECKSUM.oo
libxt_CHECKSUM.c:91: error: static declaration of ‘libxt_CHECKSUM_init’ follows non-static declaration
../include/xtables.h:302: error: previous declaration of ‘libxt_CHECKSUM_init’ was here
make[2]: *** [libxt_CHECKSUM.oo] Error 1
make[2]: Leaving directory `/storage/sdb/iptables-1.4.10/extensions’
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/storage/sdb/iptables-1.4.10′
make: *** [all] Error 2
Anybody can help me?
October 6, 2011 at 12:55 am #51597@paris wrote:
How’s going? Any result?
I had this on the back burner for a while. I struggled with antenna connectors some more and it _seems_ to be going well. Although uptime is only 4 days so it’s too early to claim success I think. Promising.
May 30, 2012 at 1:25 pm #51598Hi guys,
im trying to follow the rda’s guide step by step,
but i’ve the problem in the five step.
root@zeroshell DB> cd hdb
root@zeroshell hdb> wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.36.3.tar.bz2
root@zeroshell hdb> cd /cdrom/
root@zeroshell cdrom> tar zcvf /DB/hdb/usr.tgz usr/
root@zeroshell cdrom> cd /DB/hdb
root@zeroshell hdb> bzip2 -d *.bz2
root@zeroshell hdb>tar xvf glibc-2.8-includes-zs.tar
root@zeroshell hdb>tar xvf gcc-include.tar
root@zeroshell hdb>tar xvf gcc-4.3.2-zs-i386.tar
root@zeroshell hdb> tar xvf binutils-2.17-i386.tarI don’t find the file usr.tgz.
And after downloaded the kernel-3.4 i haven’t the glibc, gcc, binutils.Someone can help me?
ThanksJune 5, 2012 at 8:23 am #51599
rda wrote
You can download document
http://hotfile.com/dl/104834283/6e56e4c/zeroshell-develop.pdf.htmlrda…Thanks, for your work..
I followed the pdf document in the link above(details below):
Working environment:
I used “ZeroShell-1.0.beta16-CompactFlash-IDE-USB-SATA-1GB.img.gz” as the zeroshell img …and “ZeroShell-1.0.beta16.iso” as the iso in place of the beta14 versions mentioned in the document..
I used virtual box version:4.1.14r77440 in Ubuntu 12.04.
Other than above I used everything similar to the ones mentioned in the pdf doc.
I used the packages.tar, the link of which is provided in the pdf doc.Problem Description
I followed the procedure correcting a few errors here and there…
When I try to patch the Kconfig file of netfilter in location :”/usr/src/linux-3.6.36.3/net/netfilter/Kconfig“
using the patch “103-netfilter_layer7_2.6.36_fix.patch” provided in the packages.tar, it fails ..I’m providing the links to the errors produced and the details below..The command I type at /usr/src/linux-2.6.36.3 is
patch -p1 < /DB/hdb/netfilter-layer7-v2.22/103-netfilter_layer7_2.6.36_fix.patch
The error output can be found here : http://pastebin.com/aquG3Mcb **********
The contents of Kconfig.rej mentioned in the above pastebin link can be found here:
http://pastebin.com/d9GCX7na **********Without the Kconfig patches I won’t be able to build the kernel with those modules..
Any help in this matter would be highly appreciated.Thanks.
NOTE: All the other KERNEL patches work without any failure
October 31, 2012 at 2:54 pm #51600I have been looking into this manual, even though the instructions are very good, they don’t seem to be updated for the current zeroshell version.
I collected all the information I could found, and wrote a simple guide that is public via bitbucket, at this url
https://bitbucket.org/aseques/zeroshell-documentation see the file COMPILE.It’s a public repository, so feel free to clone/modify, etc..
-
AuthorPosts
You must be logged in to reply to this topic.