Project

General

Profile

Ettus USRP B2xx family » History » Version 5

Anonymous, 02/19/2016 10:47 PM

1 1
This page will describe how to install and configure OpenBSC, Osmo-BTS, Osmo-TRX, Osmo-PCU and OpenGGSN to create an opensource 2G/GSM network with your Ettus USRP B200/B210 SDR hardware.
2
3
This page in under development, please stay tuned.
4
5 3
'''Pre-Req:'''
6 1
7
The following guide is created on Ubuntu 14.14.03 LTS 64bit with kernel 3.19.0-26-lowlatency
8 2
9
1. Installing the UHD driver stack for Ettus USRP SDRs:
10
11
http://files.ettus.com/manual/page_install.html#install_linux_ourbins
12 1
13 3
'''2. Installing dependencies:'''
14
15
{{{
16
apt-get install libdbi0-dev libdbd-sqlite3 build-essential libtool autoconf automake git-core pkg-config libpcsclite-dev libusb-1.0 libncurses5-dev libgsm1-dev
17
}}}
18
19 5
Create a folder, where all the projects files will be stored:
20
21
{{{
22
mkdir osmocom
23
cd osmocom
24
}}}
25
26 3
'''Get Opencore AMR:'''
27
28
{{{
29
wget http://downloads.sourceforge.net/project/opencore-amr/opencore-amr/opencore-amr-0.1.3.tar.gz
30
tar xvzf opencore-amr-0.1.3.tar.gz
31
cd opencore-amr-0.1.3
32
./configure
33
make
34
make install
35
ldconfig
36
cd ..
37
}}}
38
39
'''Get ORTP:''
40
41
Note: 0.24.2 is not working with OpenBSC!
42
43
{{{
44
wget http://download.savannah.gnu.org/releases/linphone/ortp/sources/ortp-0.22.0.tar.gz
45
tar xvzf ortp-0.22.0.tar.gz
46
cd ortp-0.24.2
47
./configure
48
make
49
make install
50
ldconfig
51
cd ..
52
}}}
53 4
54
'''Get libosmocore (master):'''
55
{{{
56
git clone git://git.osmocom.org/libosmocore.git
57
cd libosmocore
58
autoreconf -fi
59
./configure
60
make
61
make install
62
ldconfig
63
cd ..
64
}}}
65
'''Get libosmo-abis (master)'''
66
{{{
67
git clone git://git.osmocom.org/libosmo-abis.git
68
cd libosmo-abis
69
autoreconf -fi
70
./configure
71
make
72
make install
73
ldconfig
74
cd ..
75
}}}
76
'''Get libosmo-netif (master):'''
77
{{{
78
git clone git://git.osmocom.org/libosmo-netif.git
79
cd libosmo-netif
80
autoreconf -fi
81
./configure
82
make
83
make install
84
ldconfig
85
cd ..
86
}}}
87
'''Get OpenGGSN:'''
88
{{{
89
git clone git://git.osmocom.org/openggsn.git
90
cd openggsn
91
autoreconf -i
92
./configure --prefix=/usr/local
93
make
94
make install
95
ldconfig
96
cd ..
97
}}}
98
'''Get libosmo-sccp (master):'''
99
{{{
100
git clone git://git.osmocom.org/libosmo-sccp.git
101
cd libosmo-sccp
102
autoreconf -fi
103
./configure
104
make
105
make install
106
ldconfig
107
cd ..
108
}}}
109
'''Get OpenBSC (fairwaves/master):'''
110
{{{
111
git clone git://git.osmocom.org/openbsc.git
112
cd openbsc/openbsc
113
git checkout fairwaves/master
114
autoreconf -fi
115
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
116
./configure
117
make
118
make install
119
ldconfig
120
cd ../..
121
}}}
122
'''Get Osmo-BTS (fairwaves/master):'''
123
{{{
124
git clone git://git.osmocom.org/osmo-bts.git
125
cd osmo-bts
126
git checkout fairwaves/master
127
autoreconf -fi
128
./configure --enable-trx
129
make
130
make install
131
ldconfig
132
cd ..
133
}}}
134
'''Get Osmo-PCU (master):'''
135
{{{
136
git clone git://git.osmocom.org/osmo-pcu.git
137
autoreconf -fi
138
./configure --enable-sysmocom-bts
139
make
140
make install
141
ldconfig
142
cd .. 
143
 }}}
144
'''Get Osmo-TRX (master):'''
145
{{{
146
git clone git://git.osmocom.org/osmo-trx.git
147
cd osmo-trx
148
./autogen.sh
149
./configure
150
make
151
make install
152
ldconfig
153
cd .. 
154
}}}
Add picture from clipboard (Maximum size: 48.8 MB)