Project

General

Profile

Actions

Bug #6037

closed

unsupported SCCP user primitive N-PCSTATE.indication

Added by tahmid 12 months ago. Updated 7 months ago.

Status:
Rejected
Priority:
High
Assignee:
Category:
-
Start date:
05/18/2023
Due date:
% Done:

0%

Spec Reference:

Description

I am trying to establish internet connections to cell phones. I have seen the https://osmocom.org/projects/cellular-infrastructure/wiki/OpenBSC_GPRS but it is now outdated. However, I have searched in different repo and found some info. I have configured septu osmo-pcu, osmo-sgsn, osmo-ggsn, osmo-trx-uhd and osmo-bsc for egprs configuration. Generally, I use system service to run task. I am using my laptop with wlp1s0 and created tun0 network. I have attached my all config files.

to run program:

sudo systemctl restart osmo-msc.service osmo-stp.service osmo-hlr.service osmo-sgsn.service osmo-ggsn.service osmo-pcu.service osmo-bsc.service osmo-sip-connector.service osmo-bts-trx.service osmo-gtphub.service

log:

ip address

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: enp0s31f6: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN group default qlen 1000
    link/ether ec:8e:b5:41:cb:90 brd ff:ff:ff:ff:ff:ff
3: wlp1s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether b8:8a:60:4f:59:02 brd ff:ff:ff:ff:ff:ff
    inet 10.104.130.84/20 brd 10.104.143.255 scope global dynamic noprefixroute wlp1s0
       valid_lft 16248sec preferred_lft 16248sec
    inet6 fe80::9963:faf7:dce4:826c/64 scope link noprefixroute 
       valid_lft forever preferred_lft forever
27: tun0: <POINTOPOINT,MULTICAST,NOARP> mtu 1500 qdisc noop state DOWN group default qlen 500
    link/none 

osmo-sgsn.service - Osmocom SGSN (Serving GPRS Support Node)
     Loaded: loaded (/lib/systemd/system/osmo-sgsn.service; disabled; vendor preset: enabled)
     Active: active (running) since Thu 2023-05-18 12:07:47 +06; 56min ago
   Main PID: 24406 (osmo-sgsn)
      Tasks: 1 (limit: 9302)
     Memory: 2.7M
        CPU: 310ms
     CGroup: /system.slice/osmo-sgsn.service
             └─24406 /usr/bin/osmo-sgsn -c /etc/osmocom/osmo-sgsn.cfg

May 18 12:07:47 MIST osmo-sgsn[24406]: <001f> osmo_ss7.c:458 0: Creating SCCP instance
May 18 12:07:48 MIST osmo-sgsn[24406]: <001d> gsup_client.c:74 GSUP connecting to 127.0.0.1:4222
May 18 12:07:48 MIST osmo-sgsn[24406]: <0015> input/ipa.c:141 127.0.0.1:4222 connection done
May 18 12:07:48 MIST osmo-sgsn[24406]: <0015> input/ipaccess.c:919 received ID_GET for unit ID 0/0/0
May 18 12:07:49 MIST osmo-sgsn[24406]: <0022> m3ua.c:623 0: asp-asp-clnt-OsmoSGSN: Received NOTIFY Type State Change:AS Inactive ()
May 18 12:07:49 MIST osmo-sgsn[24406]: <001f> xua_default_lm_fsm.c:361 xua_default_lm(asp-clnt-OsmoSGSN)[0x55752cea8a90]{ACTIVE}: Ignoring primitive M-ASP_ACTIVE.confi>
May 18 12:07:49 MIST osmo-sgsn[24406]: <0022> m3ua.c:623 0: asp-asp-clnt-OsmoSGSN: Received NOTIFY Type State Change:AS Active ()
May 18 12:07:49 MIST osmo-sgsn[24406]: <0022> xua_snm.c:403 0: asp-asp-clnt-OsmoSGSN: Rx DAVA() for 0.23.1/0,
May 18 12:07:49 MIST osmo-sgsn[24406]: <0020> sccp_scmg.c:298 unsupported SCCP user primitive N-PCSTATE.indication

osmo-ggsn.service - OsmoGGSN
     Loaded: loaded (/lib/systemd/system/osmo-ggsn.service; disabled; vendor preset: enabled)
     Active: active (running) since Thu 2023-05-18 12:07:46 +06; 57min ago
   Main PID: 24401 (osmo-ggsn)
      Tasks: 1 (limit: 9302)
     Memory: 1.8M
        CPU: 253ms
     CGroup: /system.slice/osmo-ggsn.service
             └─24401 /usr/bin/osmo-ggsn -c /etc/osmocom/osmo-ggsn.cfg

May 18 12:07:46 MIST systemd[1]: Started OsmoGGSN.
May 18 12:07:46 MIST osmo-ggsn[24401]: <0002> ggsn.c:325 APN(internet): Successfully started
May 18 12:07:46 MIST osmo-ggsn[24401]: <000d> gsn.c:431 GTP: gtp_newgsn() started at 127.0.0.2
May 18 12:07:46 MIST osmo-ggsn[24401]: <0002> ggsn.c:858 GGSN(ggsn0): Successfully started
May 18 12:07:46 MIST osmo-ggsn[24401]: <0005> telnet_interface.c:88 Available via telnet 127.0.0.1 4260
May 18 12:07:46 MIST osmo-ggsn[24401]: <000c> control_if.c:1014 CTRL at 127.0.0.1 4257

osmo-pcu.service - Osmocom osmo-pcu
     Loaded: loaded (/lib/systemd/system/osmo-pcu.service; disabled; vendor preset: enabled)
     Active: active (running) since Thu 2023-05-18 12:34:33 +06; 30min ago
   Main PID: 27913 (osmo-pcu)
      Tasks: 1 (limit: 9302)
     Memory: 2.2M
        CPU: 1.867s
     CGroup: /system.slice/osmo-pcu.service
             └─27913 /usr/bin/osmo-pcu -c /etc/osmocom/osmo-pcu.cfg

May 18 12:34:33 MIST systemd[1]: Started Osmocom osmo-pcu.
May 18 12:34:33 MIST osmo-pcu[27913]: <000f> telnet_interface.c:88 Available via telnet 127.0.0.1 4240
May 18 12:34:33 MIST osmo-pcu[27913]: <0001> osmobts_sock.c:228 Failed to connect to the BTS (/tmp/pcu_bts). Retrying...
May 18 12:34:38 MIST osmo-pcu[27913]: <0001> osmobts_sock.c:238 osmo-bts PCU socket /tmp/pcu_bts has been connected
May 18 12:34:38 MIST osmo-pcu[27913]: <0001> pcu_l1_if.cpp:1119 Received message for new BTS0

/etc/systemd/network/tun.network
[Match]
Name=tun0

[Network]
Address=127.0.0.2
IPMasquerade=yes

/etc/systemd/network/wired.network
[Match]
Name=wlp1s0

[Network]
DHCP=ipv4
IPMasquerade=yes


Files

osmocom.tar.gz osmocom.tar.gz 2.85 KB config files tahmid, 05/18/2023 07:03 AM
Actions #1

Updated by laforge 7 months ago

  • Description updated (diff)
Actions #2

Updated by laforge 7 months ago

  • Status changed from New to Rejected

May 18 12:07:49 MIST osmo-sgsn24406: <0020> sccp_scmg.c:298 unsupported SCCP user primitive N-PCSTATE.indication

this is not a bug. It just means that the library is sending a primitive (about point code state) to the application, and the application doesn't care about such a notification.

Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)