GPRS and PDP Context

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/OpenBSC@lists.osmocom.org/.

Max.Suraev at fairwaves.ru
Thu Sep 20 16:00:01 UTC 2012


19.09.2012 17:48, Peter Stuge пишет:
> ☎ wrote:
>> I have similar setup although in my case it doesn't work at all.
> ..
>> /etc/osmo_sgsn.cfg:
> ..
>> ns
> ..
>>  encapsulation udp local-ip 192.168.10.53
>>  encapsulation udp local-port 23000
> 
>> /etc/openbsc.cfg:
> ..
>>  bts 0
> ..
>>   gprs nsvc 0 local udp port 23000
>>   gprs nsvc 0 remote udp port 23000
>>   gprs nsvc 0 remote ip 192.168.10.53
> 
> I don't think both processes can use the same port; move one of them
> and configure the other accordingly.

Thanks for suggestion.

Now it looks like this:

 /etc/osmo_sgsn.cfg:
...
encapsulation udp local-ip 192.168.10.53
encapsulation udp local-port 23333
...

/etc/openbsc.cfg:
...
gprs nsvc 0 local udp port 23000
gprs nsvc 0 remote udp port 23333
gprs nsvc 0 remote ip 192.168.10.53
...

Still no luck :(

How to obtain as much debug information as possible?

ggsn -d
osmo-sgsn -d GPRS (this causes core-dump unless executed in gdb :)
osmo-nitb -a -d GPRS

The only output I got in this configuration is:

Starting program: /usr/bin/osmo-sgsn
<0011> gprs_ns.c:171 NSVCI=65534 Creating NS-VC
<0011> gprs_ns.c:171 NSVCI=65535 Creating NS-VC
<0011> gprs_ns.c:806 Creating NS-VC for BSS at 192.168.10.55:23000
<0011> gprs_ns.c:679 NSEI=65535 Rx NS RESET (NSVCI=0, cause=O&M intervention)
<0011> gprs_ns.c:538 NSEI=101 Tx NS RESET ACK (NSVCI=101)
<0011> gprs_ns.c:865 NSEI=101 Rx NS UNBLOCK
<0012> gprs_bssgp.c:249 BSSGP BVCI=0 Rx RESET cause=Transmission capacity modified
<0012> gprs_bssgp.c:344 BSSGP BVCI=2 Rx BVC-UNBLOCK
<0012> gprs_bssgp_util.c:103 BSSGP BVCI=2 Tx STATUS, cause=Unknown BVCI
<0012> gprs_bssgp.c:249 BSSGP BVCI=2 Rx RESET cause=O&M intervention
<0012> gprs_bssgp.c:272 Cell 1-1-1-0 CI 0 on BVCI 2
<0012> gprs_bssgp.c:344 BSSGP BVCI=2 Rx BVC-UNBLOCK
<0012> gprs_bssgp.c:747 BSSGP BVCI=2 Rx Flow Control BVC

I don't even understand if phone requested ip address?
Was ip address assigned?
Is ggsn-sgsn-nitb connectivity ok?

It's good that howto briefly describes setup, but what do to when it's not working
out of the box?

Any troubleshooting tips?
Anyone with working gprs setup willing to share configuration files as a point of
reference?

-- 
best regards,
Max, http://fairwaves.ru





More information about the OpenBSC mailing list