Building OpenBSC » History » Revision 2
Revision 1 (Anonymous, 02/19/2016 10:47 PM) → Revision 2/46 (Anonymous, 02/19/2016 10:47 PM)
== Debian HowTo == This page will describe the entire installation process of OpenBSC under Debian Linux. This tutorial is based on Debian Netinstall 5.0 but will work with other Debian versions. ---- To be able to access your OpenBSC machine easily from a remote Terminal, instal ssh. This can be easily done with "apt-get install ssh". Because OpenBSC relies on mISDN (named ISDN4Linux before) and hfcmulti as an interface to the BS11, it has to be integrated as a module into the kernel. First of all you will need to download the 2.6.27.4 Linux kernel from [http://www.kernel.org/pub/linux/kernel/v2.6/]. Change to '''/usr/src/''' on your OpenBSC machine. Then simplay do a '''wget [http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.27.4.tar.bz2]''' Unpack the archive: '''tar -bzip2 -xvf linux-2.6.27.4.tar.bz2''' and create a symlink to fit the Linux standard conventions: '''ln -s linux-2.6.27.4 linux'''.[[BR]] Now change to linux-2.6.27.4 typing '''cd linux-2.6.27.4'''. Download Haralds kernel patch which is needed to change some specific protocol stuff in mISDN: '''wget [http://bs11-abis.gnumonks.org/trac/browser/trunk/linux-kernel/linux-2.6.27.4-misdn-abis.diff?format=raw]''' Now rename the file you just downloaded: '''mv linux-2.6.27.4-misdn-abis.diff?format=raw linux-2.6.27.4-misdn-abis.diff'''. You are ready now to prepare for the main part: Install some tools needed to build the kernel. '''apt-get install libncurses5-dev kernel-package''' Apply Haralds patch to the kernel: == Debian HowTo == This page will describe the entire installation process of OpenBSC under Debian Linux. This tutorial is based on Debian Netinstall 5.0 but will work with other Debian versions. ---- To be able to access your OpenBSC machine easily from a remote Terminal, instal ssh. This can be easily done with "apt-get install ssh". Because OpenBSC relies on mISDN (named ISDN4Linux before) and hfcmulti as an interface to the BS11, it has to be integrated as a module into the kernel. First of all you will need to download the 2.6.27.4 Linux kernel from [http://www.kernel.org/pub/linux/kernel/v2.6/]. Change to '''/usr/src/''' on your OpenBSC machine. Then simplay do a '''wget [http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.27.4.tar.bz2]''' Unpack the archive: '''tar -bzip2 -xvf linux-2.6.27.4.tar.bz2''' and create a symlink to fit the Linux standard conventions: '''ln -s linux-2.6.27.4 linux'''.[[BR]] Now change to linux-2.6.27.4 typing '''cd linux-2.6.27.4'''. Download Haralds kernel patch which is needed to change some specific protocol stuff in mISDN: '''wget [http://bs11-abis.gnumonks.org/trac/browser/trunk/linux-kernel/linux-2.6.27.4-misdn-abis.diff?format=raw]''' Now rename the file you just downloaded: '''mv linux-2.6.27.4-misdn-abis.diff?format=raw linux-2.6.27.4-misdn-abis.diff'''. You are ready now to prepare for the main part: Install some tools needed to build the kernel: Apply the patch to the kernel: '''patch -p1 < linux-2.6.27.4-misdn-abis.diff''' Now configure the kernel modules with '''make menuconfig''' -not finished yet! will continue soon!