Project

General

Profile

Building OpenBSC » History » Version 2

tec, 02/19/2016 10:47 PM

1 1 tec
2 1 tec
== Debian HowTo ==
3 1 tec
4 1 tec
This page will describe the entire installation process of OpenBSC under Debian Linux.
5 1 tec
This tutorial is based on Debian Netinstall 5.0 but will work with other Debian versions.
6 1 tec
7 1 tec
----
8 1 tec
9 1 tec
To be able to access your OpenBSC machine easily from a remote Terminal, instal ssh.
10 1 tec
This can be easily done with "apt-get install ssh".
11 1 tec
12 1 tec
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.
13 1 tec
14 1 tec
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/].
15 1 tec
16 1 tec
Change to '''/usr/src/''' on your OpenBSC machine.
17 1 tec
Then simplay do a '''wget [http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.27.4.tar.bz2]'''
18 1 tec
19 1 tec
Unpack the archive:  '''tar -bzip2 -xvf linux-2.6.27.4.tar.bz2'''
20 1 tec
and create a symlink to fit the Linux standard conventions: '''ln -s linux-2.6.27.4 linux'''.[[BR]]
21 1 tec
22 1 tec
Now change to linux-2.6.27.4 typing '''cd linux-2.6.27.4'''.
23 1 tec
24 1 tec
Download Haralds kernel patch which is needed to change some specific protocol stuff in mISDN:
25 1 tec
26 1 tec
'''wget [http://bs11-abis.gnumonks.org/trac/browser/trunk/linux-kernel/linux-2.6.27.4-misdn-abis.diff?format=raw]'''
27 1 tec
28 1 tec
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'''.
29 1 tec
30 1 tec
You are ready now to prepare for the main part:
31 1 tec
32 1 tec
Install some tools needed to build the kernel.
33 1 tec
34 1 tec
'''apt-get install libncurses5-dev kernel-package'''
35 1 tec
36 1 tec
Apply Haralds patch to the kernel: 
37 1 tec
38 1 tec
'''patch -p1 < linux-2.6.27.4-misdn-abis.diff'''
39 1 tec
40 1 tec
Now configure the kernel modules with '''make menuconfig'''
41 1 tec
42 1 tec
-not finished yet! will continue soon!
Add picture from clipboard (Maximum size: 48.8 MB)