2011-06-03

Debian Sarge Openswan klips(no one want now)

  • aptitude install build-essential libgmp3-dev gawk flex bison kernel-source-<yo linux> kernel-headers-<yo linux><yo arch> kernel-package libhtml-template-perl libparse-recdescent-perl
    • 1 2 3 
      cd /tmp
      wget http://downloads.howtoforge.com/files/yaird_0.0.12-8bpo1_i386.deb
      dpkg -i yaird_0.0.12-8bpo1_i386.deb
  • get patch and patch kernel,build and install

When config kernel,NB! This is VERY important the following value has got to be removed:
< > PF_KEY sockets
This is the NETKEY option in the kernel, we will disable this one so we can
make room for KLIPS :)

idea from here.

1 2 3 4 5 6 7 8 9 10 
cd /usr/src
wget http://www.openswan.org/download/openswan-2.4.15.tar.gz
wget http://www.openswan.org/download/openswan-2.4.15.kernel-2.4-klips.patch.gz
tar -xvjf kernel-source<yo linux>
cd kernel-source<yo linux>
cp -r ../kernel-headers-<yo linux>/* .
patch -p1 < some/patch/openswan-2.4.15.kernel-2.4-klips.patch
make oldconfig or make menuconfig
make-kpkg clean
make-kpkg --revision klips.rc03 kernel-image modules_image

config file

  • build openswan userland tool
    • 1 2 3 
      cd some/src/openswan-2.4.15
      make KERNELSRC=/usr/src/kernel-source<yo linux> programs module
      make KERNELSRC=/usr/src/kernel-source<yo linux> install minstall
    • when succeeded build log

Debian Sarge Openswan klips(no one want now)

  • aptitude install build-essential libgmp3-dev gawk flex bison kernel-source-<yo linux> kernel-headers-<yo linux><yo arch>
  • get patch and patch kernel,build and install

When config kernel,NB! This is VERY important the following value has got to be removed:
< > PF_KEY sockets
This is the NETKEY option in the kernel, we will disable this one so we can
make room for KLIPS :)

idea from here.

  •  
    • 1 2 3 4 5 6 7 8 9 10 
      cd /usr/src
      wget http://www.openswan.org/download/openswan-2.4.15.tar.gz
      wget http://www.openswan.org/download/openswan-2.4.15.kernel-2.4-klips.patch.gz
      tar -xvjf kernel-source<yo linux>
      cd kernel-source<yo linux>
      cp -r ../kernel-headers-<yo linux>/* .
      patch -p1 < some/patch/openswan-2.4.15.kernel-2.4-klips.patch
      make oldconfig or make menuconfig
      make-kpkg clean
      make-kpkg --revision klips.rc03 kernel-image modules_image
  • build openswan userland tool
    • 1 2 3 
      cd some/src/openswan-2.4.15
      make KERNELSRC=/usr/src/kernel-source<yo linux> programs module
      make KERNELSRC=/usr/src/kernel-source<yo linux> install minstall
    • when succeeded build log

Debian Sarge Openswan klips(no one want now)

  • aptitude install build-essential libgmp3-dev gawk flex bison kernel-source-<yo linux> kernel-headers-<yo linux><yo arch>
  • get patch and patch kernel,build and install

When config kernel,NB! This is VERY important the following value has got to be removed:
< > PF_KEY sockets
This is the NETKEY option in the kernel, we will disable this one so we can
make room for KLIPS :)

idea from here.

  •  
    • 1 2 3 4 5 6 7 8 9 
      cd /usr/src
      wget http://www.openswan.org/download/openswan-2.4.15.tar.gz
      wget http://www.openswan.org/download/openswan-2.4.15.kernel-2.4-klips.patch.gz
      tar -xvjf kernel-source<yo linux>
      cd kernel-source<yo linux>
      cp -r ../kernel-headers-<yo linux>/* .
      patch -p1 < some/patch/openswan-2.4.15.kernel-2.4-klips.patch
      make oldconfig or make menuconfig
      make dep bzImage install
  • build openswan userland tool
    • 1 2 3 
      cd some/src/openswan-2.4.15
      make KERNELSRC=/usr/src/kernel-source<yo linux> programs module
      make KERNELSRC=/usr/src/kernel-source<yo linux> install minstall
    • when succeeded build log

2011-06-02

Again sarge debian

Now 2011, But need to use old kernel for...even now linux 3.0!!!

linux 2.4.27 is in Debian Sarge from here

*kernel version and debian vesion is not mentioned official.

That archive site has below img.

*this links go to good old days package

I stuck by ancient apt repo pkg, Could not apt-get build-essential,even gcc...

and change /etc/apt/sources.list like a below.

1 2 3 
deb http://archive.debian.org/backports.org sarge-backports main
deb http://archive.debian.org/debian sarge main contrib non-free
deb-src http://archive.debian.org/debian sarge main contrib non-free

あぶない


2011年現在。


BCM4321 on Latitude D430

At kernel 3 find wireless hardware lspci | grep -i wireless  check using current kernel module with PCI bus address lspci -vv -s 0c:...