<div dir="ltr"><div><div><div><div><div>Hi Ivan,<br><br></div>I tried with the specified package and the configuration files and all the modules seem to be executing properly. <br></div><div>Thanks a lot for the help with that.<br>
<br></div>But there is still some issue as the tunnel doesn't seem to be set up properly.<br><br></div><b>GGSN Output</b><br>......<br>encaps_tun. Packet received: forwarding to tun<br>encaps_tun. Packet received: forwarding to tun<br>
encaps_tun. Packet received: forwarding to tun<br>.....<br><br></div><b>OSMO-PCU Output</b><br>...........<br>008> tbf.cpp:1691 LLC [PCU -> SGSN] TBF(TFI=0 TLLI=0xdeacae72 DIR=UL) len=85<br><0008> tbf.cpp:1691 LLC [PCU -> SGSN] TBF(TFI=0 TLLI=0xdeacae72 DIR=UL) len=70<br>
<0008> tbf.cpp:1691 LLC [PCU -> SGSN] TBF(TFI=0 TLLI=0xdeacae72 DIR=UL) len=71<br><0008> tbf.cpp:1691 LLC [PCU -> SGSN] TBF(TFI=0 TLLI=0xdeacae72 DIR=UL) len=79<br><0007> gprs_rlcmac_meas.cpp:104 UL RSSI of TLLI=0xdeacae72: -65 dBm<br>
<0007> gprs_rlcmac_meas.cpp:104 UL RSSI of TLLI=0xdeacae72: -66 dBm<br><0001> pcu_l1_if.cpp:282 RACH request received: sapi=1 qta=0, ra=121, fn=2234747<br><0002> tbf.cpp:1503 TBF(TFI=0 TLLI=0x00000000 DIR=UL) changing tlli from TLLI=0x00000000 TLLI=0xdeacae72 ul_changed=0<br>
<0008> tbf.cpp:1691 LLC [PCU -> SGSN] TBF(TFI=0 TLLI=0xdeacae72 DIR=UL) len=70<br><0007> gprs_rlcmac_meas.cpp:104 UL RSSI of TLLI=0xdeacae72: -65 dBm<br><0001> pcu_l1_if.cpp:282 RACH request received: sapi=1 qta=0, ra=121, fn=2234916<br>
<0002> tbf.cpp:1503 TBF(TFI=0 TLLI=0x00000000 DIR=UL) changing tlli from TLLI=0x00000000 TLLI=0xdeacae72 ul_changed=0<br><0008> tbf.cpp:1691 LLC [PCU -> SGSN] TBF(TFI=0 TLLI=0xdeacae72 DIR=UL) len=88<br><0008> tbf.cpp:1691 LLC [PCU -> SGSN] TBF(TFI=0 TLLI=0xdeacae72 DIR=UL) len=71<br>
<0007> gprs_rlcmac_meas.cpp:104 UL RSSI of TLLI=0xdeacae72: -65 dBm<br><0001> pcu_l1_if.cpp:282 RACH request received: sapi=1 qta=0, ra=123, fn=2235089<br><0002> tbf.cpp:1503 TBF(TFI=0 TLLI=0x00000000 DIR=UL) changing tlli from TLLI=0x00000000 TLLI=0xdeacae72 ul_changed=0<br>
<0008> tbf.cpp:1691 LLC [PCU -> SGSN] TBF(TFI=0 TLLI=0xdeacae72 DIR=UL) len=88<br><0007> gprs_rlcmac_meas.cpp:104 UL RSSI of TLLI=0xdeacae72: -65 dBm<br><0001> pcu_l1_if.cpp:282 RACH request received: sapi=1 qta=0, ra=121, fn=2235910<br>
<0002> tbf.cpp:1503 TBF(TFI=0 TLLI=0x00000000 DIR=UL) changing tlli from TLLI=0x00000000 TLLI=0xdeacae72 ul_changed=0<br><0008> tbf.cpp:1691 LLC [PCU -> SGSN] TBF(TFI=0 TLLI=0xdeacae72 DIR=UL) len=88<br><0008> tbf.cpp:1691 LLC [PCU -> SGSN] TBF(TFI=0 TLLI=0xdeacae72 DIR=UL) len=70<br>
<0008> tbf.cpp:1691 LLC [PCU -> SGSN] TBF(TFI=0 TLLI=0xdeacae72 DIR=UL) len=71<br><0008> tbf.cpp:1691 LLC [PCU -> SGSN] TBF(TFI=0 TLLI=0xdeacae72 DIR=UL) len=71<br><0008> tbf.cpp:1691 LLC [PCU -> SGSN] TBF(TFI=0 TLLI=0xdeacae72 DIR=UL) len=81<br>
<0008> tbf.cpp:1691 LLC [PCU -> SGSN] TBF(TFI=0 TLLI=0xdeacae72 DIR=UL) len=71<br><0008> tbf.cpp:1691 LLC [PCU -> SGSN] TBF(TFI=0 TLLI=0xdeacae72 DIR=UL) len=81<br><0008> tbf.cpp:1691 LLC [PCU -> SGSN] TBF(TFI=0 TLLI=0xdeacae72 DIR=UL) len=60<br>
<0008> tbf.cpp:1691 LLC [PCU -> SGSN] TBF(TFI=0 TLLI=0xdeacae72 DIR=UL) len=60<br><0008> tbf.cpp:1691 LLC [PCU -> SGSN] TBF(TFI=0 TLLI=0xdeacae72 DIR=UL) len=88<br><0008> tbf.cpp:1691 LLC [PCU -> SGSN] TBF(TFI=0 TLLI=0xdeacae72 DIR=UL) len=81<br>
<0007> gprs_rlcmac_meas.cpp:104 UL RSSI of TLLI=0xdeacae72: -66 dBm<br><0001> pcu_l1_if.cpp:282 RACH request received: sapi=1 qta=0, ra=123, fn=2236160<br><0002> tbf.cpp:1503 TBF(TFI=0 TLLI=0x00000000 DIR=UL) changing tlli from TLLI=0x00000000 TLLI=0xdeacae72 ul_changed=0<br>
<0008> tbf.cpp:1691 LLC [PCU -> SGSN] TBF(TFI=0 TLLI=0xdeacae72 DIR=UL) len=88<br><0008> tbf.cpp:1691 LLC [PCU -> SGSN] TBF(TFI=0 TLLI=0xdeacae72 DIR=UL) len=88<br><0007> gprs_rlcmac_meas.cpp:104 UL RSSI of TLLI=0xdeacae72: -66 dBm<br>
<0001> pcu_l1_if.cpp:282 RACH request received: sapi=1 qta=0, ra=123, fn=2236313<br><0002> tbf.cpp:1503 TBF(TFI=0 TLLI=0x00000000 DIR=UL) changing tlli from TLLI=0x00000000 TLLI=0xdeacae72 ul_changed=0<br><0008> tbf.cpp:1691 LLC [PCU -> SGSN] TBF(TFI=0 TLLI=0xdeacae72 DIR=UL) len=71<br>
<0008> tbf.cpp:1691 LLC [PCU -> SGSN] TBF(TFI=0 TLLI=0xdeacae72 DIR=UL) len=88<br><0008> tbf.cpp:1691 LLC [PCU -> SGSN] TBF(TFI=0 TLLI=0xdeacae72 DIR=UL) len=88<br><0007> gprs_rlcmac_meas.cpp:104 UL RSSI of TLLI=0xdeacae72: -66 dBm<br>
<0001> pcu_l1_if.cpp:282 RACH request received: sapi=1 qta=0, ra=120, fn=2237386<br><0002> tbf.cpp:1503 TBF(TFI=0 TLLI=0x00000000 DIR=UL) changing tlli from TLLI=0x00000000 TLLI=0xdeacae72 ul_changed=0<br>...........<br>
<br><br></div>The DNS query seems to be reaching the SGSN and getting encapsulated in GTP from there on.<br>But the wireshark trace shows that there is no packet captured for the tap0 interface.<br><br><div>Any suggestions<br>
</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, May 13, 2014 at 7:15 PM, Ivan Kluchnikov <span dir="ltr"><<a href="mailto:Ivan.Kluchnikov@fairwaves.ru" target="_blank">Ivan.Kluchnikov@fairwaves.ru</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Joe,<br>
<br>
If you use UmDESK, osmo-trx, osmo-bts, osmo-nitb and osmo-sgsn should<br>
be already installed.<br>
So you should use following manual:<br>
<br>
=== Build & Install ===<br>
[osmo-pcu]<br>
git clone git://<a href="http://git.osmocom.org/osmo-pcu" target="_blank">git.osmocom.org/osmo-pcu</a><br>
cd osmo-pcu/<br>
git checkout sysmocom/master<br>
autoreconf -i<br>
./configure --enable-sysmocom-bts<br>
make<br>
cd ..<br>
<br>
[openggsn]<br>
git clone git://<a href="http://git.osmocom.org/openggsn.git" target="_blank">git.osmocom.org/openggsn.git</a><br>
cd openggsn/<br>
autoreconf -i<br>
./configure<br>
make<br>
sudo make install<br>
cd ..<br>
<br>
=== Configuration ===<br>
<br>
[openggsn configuration]<br>
Copy ggsn.conf to /etc directory<br>
<br>
[sgsn configuration]<br>
Copy osmo_sgsn.cfg to openbsc/openbsc/src/gprs directory<br>
<br>
<br>
[Network configuration]<br>
# We use eth0 interface for connection to the internet, if you use<br>
other interface, you should edit fourth line.<br>
sudo tunctl<br>
sudo ifconfig tap0 127.0.0.2 up<br>
sudo echo 1 > /proc/sys/net/ipv4/ip_forward<br>
sudo iptables -A POSTROUTING -s <a href="http://10.0.254.0/24" target="_blank">10.0.254.0/24</a> -t nat -o eth0 -j MASQUERADE<br>
<br>
<br>
[OpenBSC configuration]<br>
<br>
Add this to the network/bts node in openbsc.cfg:<br>
<br>
gprs mode gprs<br>
gprs routing area 0<br>
gprs cell bvci 2<br>
gprs nsei 101<br>
gprs nsvc 0 nsvci 101<br>
gprs nsvc 0 local udp port 23030<br>
<div class="">gprs nsvc 0 remote udp port 23000<br>
</div>gprs nsvc 0 remote ip 127.0.0.1<br>
<br>
Allocate some timeslots to packet data (recommend to use at least 4<br>
timeslots for gprs).<br>
For this, just change network/bts/trx/timeslot nodes using :<br>
<br>
phys_chan_config PDCH<br>
<br>
<br>
=== Start ===<br>
<br>
1. ggsn<br>
2. sgsn<br>
3. pcu<br>
4. osmo-nitb<br>
5. osmo-bts<br>
6. osmo-trx<br>
<br>
2014-05-13 14:11 GMT+04:00 Joe Ge <<a href="mailto:jijo123789@gmail.com">jijo123789@gmail.com</a>>:<br>
<div class="HOEnZb"><div class="h5">><br>
> Hi All,<br>
><br>
> I have installed OpenBSC +Osmo-BTS following Osmocom's netwrok from scratch<br>
> link <a href="http://openbsc.osmocom.org/trac/wiki/network_from_scratch" target="_blank">http://openbsc.osmocom.org/trac/wiki/network_from_scratch</a><br>
> Now I would like to implemenet GPRS facility in the testbedusing OpenGGSN<br>
> and Osmo-SGSN.<br>
><br>
> I am using fairwaves UmDESK for this implementation.<br>
><br>
> I followed the procedure as suggested in the<br>
> <a href="http://openbsc.osmocom.org/trac/wiki/OpenBSC_GPRS" target="_blank">http://openbsc.osmocom.org/trac/wiki/OpenBSC_GPRS</a><br>
> with the added modification as suggested in<br>
> <a href="https://wush.net/trac/rangepublic/wiki/fairwaves.gprs" target="_blank">https://wush.net/trac/rangepublic/wiki/fairwaves.gprs</a><br>
><br>
> But this doesn't seem to work out.<br>
><br>
> Currently the systems execute properly with the following outputs<br>
><br>
> GGSN Output:<br>
><br>
> root@nist:/home/nist# ggsn<br>
> cmdline_parser_configfile<br>
> listen: 127.0.0.1<br>
> conf: /etc/ggsn.conf<br>
> fg: 1<br>
> debug: 1<br>
> qos: 0x0b921f<br>
> apn: internet<br>
> net: <a href="http://192.168.0.0/24" target="_blank">192.168.0.0/24</a><br>
> dynip: <a href="http://192.168.0.0/24" target="_blank">192.168.0.0/24</a><br>
> pidfile: /var/run/ggsn.pid<br>
> statedir: /var/lib/ggsn/<br>
> timelimit: 0<br>
> gtpclient: Initialising GTP tunnel<br>
> openggsn[3822]: GTP: gtp_newgsn() started<br>
> Creating tun interface<br>
> Setting tun IP address<br>
><br>
> Osmo-SGSN Output:<br>
> root@nist:/home/nist# osmo-sgsn -c<br>
> OpenBSC_GPRS/openbsc/openbsc/src/gprs/osmo_sgsn.cfg<br>
> <0010> gprs_ns.c:199 NSVCI=65534 Creating NS-VC<br>
><br>
> Osmo-PCU Output:<br>
> root@nist:/home/nist# osmo-pcu<br>
> No config file: 'osmo-pcu.cfg' Using default config.<br>
><br>
> With these I also ran:<br>
> Osmo-NITB<br>
> Osmobts-TRX<br>
> Osmo-TRX<br>
><br>
> All of these run normally as well.<br>
> My UE is able to detect the network as well but not able to connect with it.<br>
><br>
> Given below are the config file entries<br>
><br>
> ggsn.conf:<br>
> listen 127.0.0.1<br>
><br>
> osmo-sgsn.cfg:<br>
> gtp local-ip 127.0.0.2<br>
> ggsn 0 remote-ip 127.0.0.1<br>
> .....<br>
>  encapsulation udp local-ip 127.0.0.2<br>
><br>
> open-bsc.cfg:<br>
>   gprs nsvc 0 remote udp port 23000<br>
>   gprs nsvc 0 remote ip 127.0.0.2<br>
><br>
> I had the following doubts regarding the given installation procedure<br>
><br>
> 1. The fairwaves.gprs implementation using Chemeris's gprs-work seems to<br>
> implement with Asterisk as PBX whereas I require it to run with the<br>
> osmo-nitb.<br>
><br>
> 2. The gprs-work branch still makes use of BTS transceiver and I wanted it<br>
> to work with the Osmo-nitb implementation using osmobts-trx and osmo-trx<br>
><br>
> Can somebody please help me out with this?<br>
><br>
> Or is there any alternative implementation which can be tried to execute<br>
> them together.<br>
><br>
> Looking forward to hearing from you,<br>
><br>
> With Regards,<br>
> Jijo<br>
><br>
<br>
<br>
<br>
</div></div><span class="HOEnZb"><font color="#888888">--<br>
Regards,<br>
Ivan Kluchnikov.<br>
<a href="http://fairwaves.ru" target="_blank">http://fairwaves.ru</a><br>
</font></span></blockquote></div><br></div>