Project

General

Profile

Ettus USRP B2xx family » History » Version 4

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
'''Get Opencore AMR:'''
20
21
{{{
22
wget http://downloads.sourceforge.net/project/opencore-amr/opencore-amr/opencore-amr-0.1.3.tar.gz
23
tar xvzf opencore-amr-0.1.3.tar.gz
24
cd opencore-amr-0.1.3
25
./configure
26
make
27
make install
28
ldconfig
29
cd ..
30
}}}
31
32
'''Get ORTP:''
33
34
Note: 0.24.2 is not working with OpenBSC!
35
36
{{{
37
wget http://download.savannah.gnu.org/releases/linphone/ortp/sources/ortp-0.22.0.tar.gz
38
tar xvzf ortp-0.22.0.tar.gz
39
cd ortp-0.24.2
40
./configure
41
make
42
make install
43
ldconfig
44
cd ..
45
}}}
46 4
47
'''Get libosmocore (master):'''
48
{{{
49
git clone git://git.osmocom.org/libosmocore.git
50
cd libosmocore
51
autoreconf -fi
52
./configure
53
make
54
make install
55
ldconfig
56
cd ..
57
}}}
58
'''Get libosmo-abis (master)'''
59
{{{
60
git clone git://git.osmocom.org/libosmo-abis.git
61
cd libosmo-abis
62
autoreconf -fi
63
./configure
64
make
65
make install
66
ldconfig
67
cd ..
68
}}}
69
'''Get libosmo-netif (master):'''
70
{{{
71
git clone git://git.osmocom.org/libosmo-netif.git
72
cd libosmo-netif
73
autoreconf -fi
74
./configure
75
make
76
make install
77
ldconfig
78
cd ..
79
}}}
80
'''Get OpenGGSN:'''
81
{{{
82
git clone git://git.osmocom.org/openggsn.git
83
cd openggsn
84
autoreconf -i
85
./configure --prefix=/usr/local
86
make
87
make install
88
ldconfig
89
cd ..
90
}}}
91
'''Get libosmo-sccp (master):'''
92
{{{
93
git clone git://git.osmocom.org/libosmo-sccp.git
94
cd libosmo-sccp
95
autoreconf -fi
96
./configure
97
make
98
make install
99
ldconfig
100
cd ..
101
}}}
102
'''Get OpenBSC (fairwaves/master):'''
103
{{{
104
git clone git://git.osmocom.org/openbsc.git
105
cd openbsc/openbsc
106
git checkout fairwaves/master
107
autoreconf -fi
108
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
109
./configure
110
make
111
make install
112
ldconfig
113
cd ../..
114
}}}
115
'''Get Osmo-BTS (fairwaves/master):'''
116
{{{
117
git clone git://git.osmocom.org/osmo-bts.git
118
cd osmo-bts
119
git checkout fairwaves/master
120
autoreconf -fi
121
./configure --enable-trx
122
make
123
make install
124
ldconfig
125
cd ..
126
}}}
127
'''Get Osmo-PCU (master):'''
128
{{{
129
git clone git://git.osmocom.org/osmo-pcu.git
130
autoreconf -fi
131
./configure --enable-sysmocom-bts
132
make
133
make install
134
ldconfig
135
cd .. 
136
 }}}
137
'''Get Osmo-TRX (master):'''
138
{{{
139
git clone git://git.osmocom.org/osmo-trx.git
140
cd osmo-trx
141
./autogen.sh
142
./configure
143
make
144
make install
145
ldconfig
146
cd .. 
147
}}}
Add picture from clipboard (Maximum size: 48.8 MB)