Changes between Version 8 and Version 9 of OpenBSC_GPRS

Show
Ignore:
Timestamp:
03/28/12 20:14:44 (14 months ago)
Author:
kisom
Comment:

Added guide on how to compile OpenBSC with EGPRS support

Legend:

Unmodified
Added
Removed
Modified
  • OpenBSC_GPRS

    v8 v9  
    1717 
    1818[[Image(gprs.2.png)]] 
     19 
     20=== Compiling OpenBSC with [E]GPRS === 
     21 
     22The guide below was tested on Ubuntu 11.10 but should work on Debian as well. This guide uses /root for everything. 
     23 
     24First you need to download all dependencies: 
     25 
     26{{{ 
     27apt-get install libdbi0-dev libdbd-sqlite3 libtool autoconf git-core pkg-config make libortp-dev 
     28}}} 
     29 
     30Next, download the OpenGGSN source code: 
     31{{{ 
     32cd /root 
     33git clone git://git.osmocom.org/openggsn.git 
     34}}} 
     35 
     36Compile OpenGGSN: 
     37{{{ 
     38cd /root/openggsn 
     39autoreconf; automake --add-missing; autoreconf; autoconf; automake; ./configure --prefix=/usr/local; make -j 2; make install 
     40}}} 
     41 
     42Now download everything else: 
     43{{{ 
     44cd /root 
     45git clone git://git.osmocom.org/libosmocore.git; git clone git://git.osmocom.org/libosmo-abis.git; git clone git://git.osmocom.org/openbsc.git 
     46}}} 
     47 
     48Compile the rest: 
     49{{{ 
     50cd /root/libosmocore; autoreconf -fi; ./configure; make; make install; ldconfig 
     51cd /root/libosmo-abis; autoreconf -fi; ./configure; make; make install; ldconfig 
     52cd /root/openbsc/openbsc; autoreconf -fi; export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig; ./configure; make 
     53}}} 
     54 
     55You should now have a working copy of ggsn, osmo-sgsn and osmo-nitb on your machine. 
    1956 
    2057=== OpenBSC configuration === 
     
    75112 * The `gtp local-ip` entry is the local IP the SGSN will bind to. 
    76113 * The `ggsn 0 remote-ip` entry if the remote IP of the GGSN. The SGSN will connect to it. 
    77  * Those two IPs '''must''' be different even if you're running both processes on the same machine. A solution for that is to put several IP aliases on the same network interface. 
     114 * Those two IPs '''must''' be different even if you're running both processes on the same machine. A solution for that is to put several IP aliases on the same network interface or use the loopback interface. 
    78115 * The `encapsulation` settings must be the same IP/port than you've setup in `openbsc.cfg` 
    79116